adjust st
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
@@ -19,7 +19,7 @@ public class CECMonster : CECNPC
|
||||
public override bool Init(int tid, in info_npc info, ReadOnlySpan<byte> 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);
|
||||
|
||||
@@ -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)
|
||||
{
|
||||
|
||||
@@ -16,7 +16,7 @@ public class NPCVisual : MonoBehaviour
|
||||
namedAnimancer = GetComponentInChildren<NamedAnimancerComponent>();
|
||||
if (namedAnimancer == null)
|
||||
{
|
||||
BrewMonster.Logger.LogError("animancer == null");
|
||||
BrewMonster.BMLogger.LogError("animancer == null");
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user