diff --git a/Assets/PerfectWorld/Scripts/Managers/CECNPCMan.cs b/Assets/PerfectWorld/Scripts/Managers/CECNPCMan.cs index b80ad7ac9a..21717cb448 100644 --- a/Assets/PerfectWorld/Scripts/Managers/CECNPCMan.cs +++ b/Assets/PerfectWorld/Scripts/Managers/CECNPCMan.cs @@ -183,7 +183,7 @@ public class CECNPCMan : CECObject, IMsgHandler npc = CreateNPC(Info, bBornInSight, packet, infoOffset); if (object.ReferenceEquals(npc, null)) { - BrewMonster.Logger.LogError($"Failed to create NPC ({Info.tid})"); + BrewMonster.BMLogger.LogError($"Failed to create NPC ({Info.tid})"); return false; } diff --git a/Assets/PerfectWorld/Scripts/NPC/CECMonster.cs b/Assets/PerfectWorld/Scripts/NPC/CECMonster.cs index 934f08a631..10e90b4b99 100644 --- a/Assets/PerfectWorld/Scripts/NPC/CECMonster.cs +++ b/Assets/PerfectWorld/Scripts/NPC/CECMonster.cs @@ -19,7 +19,7 @@ public class CECMonster : CECNPC public override bool Init(int tid, in info_npc info, ReadOnlySpan packet, int infoOffset) { base.Init(tid, info, packet, infoOffset); - BrewMonster.Logger.Log("HoangDev: MonsterInit"); + BrewMonster.BMLogger.Log("HoangDev: MonsterInit"); var pDB = ElementDataManProvider.GetElementDataMan(); DATA_TYPE DataType = default; m_pDBEssence = (MONSTER_ESSENCE)pDB.get_data_ptr((uint)tid, ID_SPACE.ID_SPACE_ESSENCE, ref DataType); diff --git a/Assets/PerfectWorld/Scripts/NPC/CECNPC.cs b/Assets/PerfectWorld/Scripts/NPC/CECNPC.cs index 6e00cd8c6d..fcc0a6ecf7 100644 --- a/Assets/PerfectWorld/Scripts/NPC/CECNPC.cs +++ b/Assets/PerfectWorld/Scripts/NPC/CECNPC.cs @@ -268,7 +268,7 @@ public class CECNPC : CECObject { // Note: below judge can prevent many problems when we attempt to // finish a work but don't assure we are doing this work - BrewMonster.Logger.Log("HoangDev : WorkFinished :"+ iWorkID); + BrewMonster.BMLogger.Log("HoangDev : WorkFinished :"+ iWorkID); if (m_iCurWork != iWorkID) return; @@ -581,7 +581,7 @@ public class CECNPC : CECObject public bool IsDirFixed() { return (m_dwStates & PlayerNPCState.GP_STATE_NPC_FIXDIR) != 0 ? true : false; } public void ReleaseWork(int iWorkType) { - BrewMonster.Logger.LogError("HoangDev : ReleaseWorkl :"+ iWorkType); + BrewMonster.BMLogger.LogError("HoangDev : ReleaseWorkl :"+ iWorkType); Debug.Assert(iWorkType >= 0 && iWorkType < (int)WorkType.NUM_WORKTYPE); switch (m_aWorks[iWorkType]) @@ -801,7 +801,7 @@ public class CECNPC : CECObject bool IsPetNPC() { return (int)ClassID.OCID_PET == m_iCID; } public void PlayMoveAction(int iMoveMode) { - BrewMonster.Logger.LogError($"HoangDev: PlayMoveAction {iMoveMode}"); + BrewMonster.BMLogger.LogError($"HoangDev: PlayMoveAction {iMoveMode}"); // Play run or walk aciton if (iMoveMode == (int)GPMoveMode.GP_MOVE_RUN || iMoveMode == (int)GPMoveMode.GP_MOVE_RETURN) { diff --git a/Assets/PerfectWorld/Scripts/NPC/NPCVisual.cs b/Assets/PerfectWorld/Scripts/NPC/NPCVisual.cs index 0a4b96ebf9..61401dbabe 100644 --- a/Assets/PerfectWorld/Scripts/NPC/NPCVisual.cs +++ b/Assets/PerfectWorld/Scripts/NPC/NPCVisual.cs @@ -16,7 +16,7 @@ public class NPCVisual : MonoBehaviour namedAnimancer = GetComponentInChildren(); if (namedAnimancer == null) { - BrewMonster.Logger.LogError("animancer == null"); + BrewMonster.BMLogger.LogError("animancer == null"); return; } } diff --git a/Assets/Scripts/PlayerVisual.cs b/Assets/Scripts/PlayerVisual.cs index 93534fab07..08fab98c64 100644 --- a/Assets/Scripts/PlayerVisual.cs +++ b/Assets/Scripts/PlayerVisual.cs @@ -11,7 +11,7 @@ public class PlayerVisual : MonoBehaviour private void PlayActionEventHandler(PlayActionEvent @event) { - BrewMonster.Logger.Log("PlayActionEventHandler : "+@event.AnimationName); + BrewMonster.BMLogger.Log("PlayActionEventHandler : "+@event.AnimationName); namedAnimancer.TryPlay(@event.AnimationName); }