From 1ed01cd4c56a5fa3f91219ac887ca3d496c4e75d Mon Sep 17 00:00:00 2001 From: HungDK <> Date: Tue, 14 Oct 2025 10:51:11 +0700 Subject: [PATCH] Clear useless log --- .../Scripts/Managers/EC_IvtrItem.cs | 32 +++++++++---------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/Assets/PerfectWorld/Scripts/Managers/EC_IvtrItem.cs b/Assets/PerfectWorld/Scripts/Managers/EC_IvtrItem.cs index 7b63d045a0..0bddbb4d2e 100644 --- a/Assets/PerfectWorld/Scripts/Managers/EC_IvtrItem.cs +++ b/Assets/PerfectWorld/Scripts/Managers/EC_IvtrItem.cs @@ -286,25 +286,25 @@ namespace PerfectWorld.Scripts.Managers var t = data.GetType(); // Debug: Log all available fields and properties - Debug.Log($"[Inventory] Data type: {t.Name}"); + // Debug.Log($"[Inventory] Data type: {t.Name}"); var fields = t.GetFields(BindingFlags.Public | BindingFlags.Instance); - foreach (var f in fields) - { - Debug.Log($"[Inventory] Field: {f.Name} ({f.FieldType.Name})"); - } + // foreach (var f in fields) + // { + // Debug.Log($"[Inventory] Field: {f.Name} ({f.FieldType.Name})"); + // } var props = t.GetProperties(BindingFlags.Public | BindingFlags.Instance); - foreach (var p in props) - { - Debug.Log($"[Inventory] Property: {p.Name} ({p.PropertyType.Name})"); - } + // foreach (var p in props) + // { + // Debug.Log($"[Inventory] Property: {p.Name} ({p.PropertyType.Name})"); + // } var methods = t.GetMethods(BindingFlags.Public | BindingFlags.Instance); - foreach (var m in methods) - { - if (m.Name.ToLower().Contains("name") || m.Name.ToLower().Contains("getname")) - { - Debug.Log($"[Inventory] Method: {m.Name} ({m.ReturnType.Name})"); - } - } + // foreach (var m in methods) + // { + // if (m.Name.ToLower().Contains("name") || m.Name.ToLower().Contains("getname")) + // { + // Debug.Log($"[Inventory] Method: {m.Name} ({m.ReturnType.Name})"); + // } + // } // Prefer decoding the raw fields first to control encoding (Unicode for Vietnamese), // then fall back to any string properties if needed.