This commit is contained in:
VDH
2025-10-09 14:06:12 +07:00
parent c71e943ab7
commit 7c5652ec2e
19 changed files with 255 additions and 46 deletions
@@ -205,7 +205,6 @@ namespace PerfectWorld.Scripts.Managers
preSize += iSize;
}
Debug.LogError("PLAYER_INFO_1_LIST");
break;
}
}
@@ -343,6 +342,19 @@ namespace PerfectWorld.Scripts.Managers
return player;
}
public CECPlayer GetPlayer(int cid, uint dwBornStamp = 0/* 0 */)
{
CECHostPlayer pHost = GetHostPlayer();
if (pHost && pHost.GetCharacterID() == cid)
return pHost;
else
return GetElsePlayer(cid, dwBornStamp);
}
private CECHostPlayer GetHostPlayer()
{
return GameController.Instance.GetHostPlayer();
}
public bool OnMsgPlayerStopMove(ECMSG Msg)
{