Fix symbol error and useless log

This commit is contained in:
HungDK
2025-09-11 09:22:41 +07:00
parent ae43dd5623
commit fcd3f99f03
3 changed files with 3 additions and 4 deletions
@@ -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;
}
}
@@ -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");
@@ -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<bool> actDone)
{