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

Inherits NetworkBehaviour.

Public Member Functions

void Update ()
 
void RegisterCmdPressDown (VRTKInputButton.ButtonType buttonType, int netId, Action cmdCall)
 
void RegisterCmdPressUp (VRTKInputButton.ButtonType buttonType, int netId, Action cmdCall)
 
void UnRegisterCmdPressDown (VRTKInputButton.ButtonType buttonType, int netId)
 
void UnRegisterCmdPressUp (VRTKInputButton.ButtonType buttonType, int netId)
 
void CmdPressDown (VRTKInputButton.ButtonType buttonType, int netId)
 
void CmdPressUp (VRTKInputButton.ButtonType buttonType, int netId)
 
void RegisterCmdVector3 (int netId, Action< float, Vector3, Vector3 > cmdCall)
 
void UnRegisterCmdVector3 (int netId)
 
void CmdVector3 (int netId, Vector3 pos, Vector3 velocity, float value)
 
void CmdVector3Msg (int netId, Vector3 pos, Vector3 velocity, float value)
 
void RegisterCmdHandTrigger (int netId, Action< int, int, Vector3 > cmdCall)
 
void UnRegisterCmdHandTrigger (int netId)
 
void CmdHandTrigger (int netId, int playerId, int handIdx, Vector3 vec)
 
void RegisterTriggerAction (int netId, Action< bool, int, int > cmdCall)
 
void UnRegisterTriggerAction (int netId)
 
void CmdTriggerAction (int netId, bool isEnter, int value1, int value2)
 
void RegisterUnitAction (int netId, Action cmdCall)
 
void UnRegisterUnitAction (int netId)
 
void CmdUnitAction (int netId)
 
void RegisterUnitTrigger (int netId, Action< int, Vector3 > cmdCall)
 
void UnRegisterUnitTrigger (int netId)
 
void CmdUnitTrigger (int netId, int value1, Vector3 value2)
 
void CmdSpawnRole (string characterName, bool isReplace, bool force, Vector3 pos, Quaternion rot)
 
void CmdSpawnWeapon (string weaponName, Vector3 pos)
 
void CmdChangeSpawnSetting (bool? enhance, bool? ally, bool? idle, bool? maxHp, bool? noAI)
 
void CmdOnEditorSpawnProp (string name, int netId, int handIdx)
 
void CmdPlaceEditorProp (int netId, int propType, Vector3 pos, Quaternion rot)
 
void CmdPlaceEditorPropWithRelated (int netId, string name, int type, Vector3 pos, Quaternion rot, Vector3[] posList, Quaternion[] rotList)
 
void CmdPlaceEditorProps (List< CustomNetworkProp > value)
 
void CmdRemoveEditorProp (int netId, int propType)
 
void CmdRemoveAllEditorProp ()
 
void CmdBuildStab (int netId, int geoIdx, uint stabColNetId, int stabColKey, uint colNetId, int colKey, Vector3 stabPos, Vector3 stabberPos, Vector3 entryDir, Vector3 ibLocalPos, Quaternion ibLocalRot, int localStabIndex)
 
void CmdBreakStab (int stabObjNetId, uint colNetId, int colKey)
 
void CmdRequestAnchorOffset ()
 
void TargetRpcAnchorOffset (NetworkConnectionToClient conn, Vector3 pos, Quaternion rot)
 
void CmdAutoAnchorSuccess ()
 
void CmdTransportPlayer (Vector3 pos, Vector3? dir, bool firstFrame, bool playTeleportEffect)
 
void TargetTransportPlayer (NetworkConnectionToClient conn, Vector3 pos, Vector3? dir, bool firstFrame, bool playTeleportEffect)
 
void CmdC2SShowTips (string txid, float sec, bool force)
 
void CmdNeckBreaking (uint netId)
 
void TargetNeckBreaking (uint netId)
 
void CmdFunc (uint netId, int index, List< bool > boolList, List< float > floatList, List< int > intList, List< string > strList)
 
void CmdOnBlessingSelect (uint netId)
 
void CmdOnBuffHubSelect (uint netId, uint playerId, int index)
 
void CmdGetBuffList (uint itemNetid, uint playerNetId)
 
void TargetGetBuffList (NetworkConnectionToClient target, uint netId, List< int > buffList)
 
void CmdPlayForgeEffect (uint netId, uint playerNetId)
 
void RpcPlayForgeEffect (uint netId, uint playerNetId)
 
void CmdStopForgeEffect (uint netId, uint playerNetId)
 
void RpcStopForgeEffect (uint netId, uint playerNetId)
 
void CmdPlayerAddBuff (string bfName, float mlp)
 
void CmdPlayerRemoveBuff (string bfName)
 
void CmdPlayerClearBuff ()
 
void CmdPlayerAddBuffById (uint netId, string bfName, float mlp)
 
void CmdDungeonInitFin ()
 
void TargetRpcRemoveDungeonObj (NetworkConnectionToClient conn, List< int > objIds)
 
void ServerResetAllRBAndRagdoll (NetworkConnectionToClient conn)
 
void CmdAddRecordData (string dataStr)
 
void CmdRequestBattleRoomStates ()
 
void CmdCallDoDecomposition (uint netId, uint lastInteractId)
 
void RpcCallDoDecomposition (uint netId, uint lastInteractId)
 
void CmdRequestWeaponBuffList (uint playerNetId, uint weaponNetId)
 
void TargetGetWeaponBuffData (NetworkConnectionToClient conn, uint weaponNetId, List< string > buffList)
 
void RpcGamblingSoulCost (NetworkIdentity identity, int count)
 
void CmdRequestSelectorBuffData (uint playerNetId, uint buffNetId)
 
void TargetGetSelectorBuffData (NetworkConnectionToClient conn, uint buffNetId, string buffName, string gazeName, string gazeInfo)
 
void CmdShowBall (int ballNetId, int machineNetId, Vector3 pos)
 
void RpcShowBall (int ballNetId, int machineNetId, Vector3 pos)
 
void RpcHideBall (int netId)
 
void CmdSpawnBall (uint netId)
 
void CmdSendGamblingData (GamblingMachine.GamblingNetworkData data, uint netId, uint sendPlayerId)
 
void RpcSendGamblingData (GamblingMachine.GamblingNetworkData data, uint netId, uint sendPlayerId)
 
void CmdRequestGamblingData (uint playerNetId, uint itemId)
 
void TargetGetNetworkData (NetworkConnectionToClient conn, uint itemId, GamblingMachine.GamblingNetworkData data)
 
void TargetMoneyNotEnoughServer ()
 
void RpcActivateLightning (Vector3 _spawnPos, Vector3 _camPos, bool _flipLightning, float _lightningScale, int _lightningMesh, bool _flicker, float _lightningAngle, float _cloudAngle)
 
void RpcActivateSheetLightning (Vector3 _spawnPos, Vector3 _camPos, bool _flicker, float _lightningAngle, float _multi)
 
void TargetMoneyNotEnough (NetworkConnectionToClient conn)
 
void RpcDropSoul (uint playerNetId, Vector3 pos, int count)
 
void CmdOpenItemHubInfo (uint netId, int playerId)
 
void CmdDestoryObjById (uint netId)
 
void CmdChangeBuyCount (int count)
 
void CmdChangeSoulCount (int count)
 
void CmdChangePlayerSoul (int soulDelta)
 
void RpcChangePlayerSoul (int soulDelta)
 

Public Attributes

NetworkPlayer networkPlayer
 
Dictionary< VRTKInputButton.ButtonType, SortedList< int, Action > > cmdPressDownList = new Dictionary<VRTKInputButton.ButtonType, SortedList<int, Action>>()
 
Dictionary< VRTKInputButton.ButtonType, SortedList< int, Action > > cmdPressUpList = new Dictionary<VRTKInputButton.ButtonType, SortedList<int, Action>>()
 

Properties

static NetworkPlayerCommand Local [get]