ACR_ServerCommunicator.ACR_ServerCommunicator.GetPlayerState C# (CSharp) Method

GetPlayerState() public method

Look up the player state for a player in the internal lookup table.
public GetPlayerState ( uint PlayerObjectId ) : PlayerState
PlayerObjectId uint Supplies the PC object id to look up. ///
return PlayerState
        public PlayerState GetPlayerState(uint PlayerObjectId)
        {
            if (GetIsPC(PlayerObjectId) != TRUE)
                PlayerObjectId = GetOwnedCharacter(PlayerObjectId);

            return PlayerStateTable[PlayerObjectId];
        }
ACR_ServerCommunicator