m
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user