Battle Talent  V11
Public Member Functions | Public Attributes | Properties | List of all members
CrossLink.Network.NetworkPlayerState Class Reference

sync player states More...

Inherits CrossLink.Network.NetworkStateBase.

Public Member Functions

void SetXRPlayMode (int playMode)
 
void SetXRControllerType (VRTKInputDevice.ControllerType controllerType)
 
void ServerSetNetworkHp (float hpValue)
 
void ServerSetNetworkMp (float mpValue)
 
void ServerSetKillCnt (int value)
 
void ServerSetDeadCnt (int value)
 
void ServerSetDmg (float value)
 
void SetCurTileId (int tileId)
 
void CmdMuteSelf (bool mute)
 
void CmdIshandTrackingEnable (bool _enable)
 
void ServerInit ()
 
override void OnStartServer ()
 
override void OnStopServer ()
 
override void OnStartClient ()
 
override void OnStopClient ()
 
override void InitStates ()
 
void CmdJoinRoom (string name, string playerTitle, string id)
 
void CmdIsMidWayJoin (bool value)
 
void ServerJoinRoom (string name, string playerTitle, string id)
 
void CmdSetPlayerTitle (string title)
 
void RpcPlayerTitle (string title)
 
void InitAttr (bool firstTime=false)
 
void InitHud ()
 
void OnStartSpeaking ()
 
void OnStopSpeaking ()
 
void ServerSetHp (float hpDelta)
 
void RpcSetHp (float hpDelta)
 
void RpcSetPushback (Vector3 vec)
 
void CmdSetPushback (Vector3 vec)
 
void NetworkSetPushback (Vector3 vec)
 
void ServerSetMp (float mpDelta)
 
void CmdSlotTriggerIB (int targetId, int playerId)
 
void RpcSlotTriggerIB (NetworkConnectionToClient conn, int playerId, List< int > netIds)
 
void RpcDmgEffect (string matA, string matB, Vector3 pos, Vector3 dir, float force, float massA, float impulse)
 
void CmdXRPlayMode (int playMode)
 
void OnInitXRPlayMode (int playMode)
 
void LocalInitHandPose (int value)
 
void CmdControllerType (VRTKInputDevice.ControllerType controllerType)
 
void OnInitXRControllerType (int controllerType)
 
void ResetOfflineMRState ()
 
void TargetClientSetMRRoom (NetworkConnectionToClient conn, bool onlyGround, bool vrEnv)
 
void CmdHostJoined (int regionIdx, string hostName, string roomName, string password)
 

Public Attributes

NetworkPlayer networkPlayer
 
bool isDead = false
 
NetworkState< int > rtt
 
NetworkState< bool > muteSelf
 
NetworkState< bool > simpleTips
 
NetworkState< bool > isHandTrackingEnable
 
NetworkState< int > curTileId
 
NetworkState< int > xrPlayMode
 
NetworkState< int > xrControllerType
 
NetworkState< float > hp
 
NetworkState< float > mp
 
NetworkState< int > killCnt
 
NetworkState< int > deadCnt
 
NetworkState< float > dmg
 
int localCurTileId = -1
 
bool isMidWayJoin = false
 
bool selfDungeonReady = false
 
HUDTMState hudTMState
 

Properties

int GetCurTileId [get]
 
int GetRtt [get]
 
int GetXRPlayMode [get]
 
int GetXRControllerType [get]
 
bool GetMuteSelf [get]
 
bool GetHandTrackingEnabled [get]
 

Additional Inherited Members

Detailed Description

sync player states