From fcd3f99f03168cb441cc07b17e6e4fc2408f73ce Mon Sep 17 00:00:00 2001 From: HungDK <> Date: Thu, 11 Sep 2025 09:22:41 +0700 Subject: [PATCH] Fix symbol error and useless log --- Assets/PerfectWorld/Scripts/Managers/EC_HostPlayer.cs | 4 ++-- Assets/PerfectWorld/Scripts/Managers/EC_ManPlayer.cs | 2 -- Assets/PerfectWorld/Scripts/Network/UnityGameSession.cs | 1 + 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/Assets/PerfectWorld/Scripts/Managers/EC_HostPlayer.cs b/Assets/PerfectWorld/Scripts/Managers/EC_HostPlayer.cs index cc294490c2..edf7b5a694 100644 --- a/Assets/PerfectWorld/Scripts/Managers/EC_HostPlayer.cs +++ b/Assets/PerfectWorld/Scripts/Managers/EC_HostPlayer.cs @@ -3,6 +3,7 @@ using CSNetwork; using CSNetwork.GPDataType; using System; using System.Runtime.InteropServices; +using UnityEngine; namespace PerfectWorld.Scripts.Managers { @@ -13,7 +14,6 @@ namespace PerfectWorld.Scripts.Managers public int HandlerId => (int)MANAGER_INDEX.MAN_PLAYER; public bool ProcessMessage(ECMSG Msg) { - GameController.Instance.Log("HUNG INVENTORY"); switch ((int)Msg.dwMsg) { case int value when value == EC_MsgDef.MSG_HST_IVTRINFO: @@ -30,7 +30,7 @@ namespace PerfectWorld.Scripts.Managers { case CommandID.OWN_IVTR_DATA: { - GameController.Instance.Log("HUNG INVENTORY3"); + Debug.Log("Chay OWN_IVTR_DATA"); break; } } diff --git a/Assets/PerfectWorld/Scripts/Managers/EC_ManPlayer.cs b/Assets/PerfectWorld/Scripts/Managers/EC_ManPlayer.cs index 68b264df39..d0646078e6 100644 --- a/Assets/PerfectWorld/Scripts/Managers/EC_ManPlayer.cs +++ b/Assets/PerfectWorld/Scripts/Managers/EC_ManPlayer.cs @@ -19,7 +19,6 @@ namespace PerfectWorld.Scripts.Managers //public EC_HostPlayer EC_HostPlayer; public bool ProcessMessage(ECMSG Msg) { - GameController.Instance.Log("HUNG INVENTORY"); if (Msg.iSubID == 0) { //EC_HostPlayer.ProcessMessage(Msg); @@ -64,7 +63,6 @@ namespace PerfectWorld.Scripts.Managers case CommandID.PLAYER_ENTER_WORLD: case CommandID.PLAYER_ENTER_SLICE: { - GameController.Instance.Log("IAOWJDOIAWJDOIAWJDOIAWD"); if (cid != iHostID) { GameController.Instance.Log("ElsePlayer has join"); diff --git a/Assets/PerfectWorld/Scripts/Network/UnityGameSession.cs b/Assets/PerfectWorld/Scripts/Network/UnityGameSession.cs index cd4ee71e9f..097587c041 100644 --- a/Assets/PerfectWorld/Scripts/Network/UnityGameSession.cs +++ b/Assets/PerfectWorld/Scripts/Network/UnityGameSession.cs @@ -110,6 +110,7 @@ namespace BrewMonster.Network public static void RequestInventoryAsync(Action callback = null) { Instance._gameSession.RequestInventoryAsync(callback); + } public void LoadScene(string sceneName, LoadSceneMode mode, Action actDone) {