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

Inherits NetworkBehaviour.

Public Member Functions

override void OnStartServer ()
 
override void OnStopServer ()
 
override void OnStopLocalPlayer ()
 
override void OnStartClient ()
 
override void OnStopClient ()
 
void NetworkPlayerInit ()
 
void ServerAddPlayer ()
 
void ServerRemovePlayer ()
 
void LeaveDropItems ()
 drop all items locally More...
 
ShadowCaster GetShadowCaster ()
 
void NetworkSetMats ()
 
void PlayDissolveEffect (bool to, float time, System.Action finCallback)
 
bool LocalCheckDropDead ()
 
void CmdDeadZoneDead ()
 
void CmdNetworkDead ()
 
void ServerNetworkDead ()
 
void RpcNetworkDead ()
 
void CmdNetworkReborn ()
 
void ServerNetworkReborn ()
 
void RpcNetworkReborn ()
 
void ServerResetStates ()
 
void RpcResetStates ()
 
void LocalResetStates ()
 
void LocalSetDeath (bool dead)
 
void CmdRequestAuthority (int netId)
 
void RequestAuthority (int netId)
 
void RequestAuthority (NetworkInteractBase networkIB)
 
void AssignAuthorityToHostPlayer (int netId)
 
void CmdShowTileMap (bool show, Vector3? pos)
 
void TargetRpcTransport (NetworkConnectionToClient conn, Vector3 pos)
 
void TargetRpcSetBridgeId (NetworkConnectionToClient conn, int bridgeId)
 
void TargetRpcShowTileMap (NetworkConnectionToClient conn, bool show, Vector3? pos)
 
void LocalRelaLift (NetworkLiftPlatform networkLift)
 
void LocalUnRelaLift ()
 
void IgnorePlayerRagdollCollision (bool ignore)
 
void LeaveInDungeon ()
 

Public Attributes

NetworkBattleDataTest battleDataTest
 
NetworkIdentity networkIdentity
 
NetworkPlayerState networkPlayerState
 
InteractCharacter interactCharacter
 
RagdollAnim playerRagdoll
 
Transform ragdollRoot
 
Collider[] ragdollColsNeedTriggerWhenDying
 
NetworkRoomPlayer networkRoomPlayer
 
Transform hudTarget
 
NetworkPlayerSync playAreaNetworkSync
 
NetworkTransformFix cameraRigNetworkTrans
 
NetworkTransformFix headSetNetworkTrans
 
NetworkTransformFix leftHandNetworkTrans
 
NetworkTransformFix rightHandNetworkTrans
 
Transform networkCameraRigC2S
 
Transform networkHeadsetC2S
 
Transform networkLeftHandC2S
 
Transform networkRightHandC2S
 
Vector3 localLeftHandPos
 
Quaternion localLeftHandRot
 
Vector3 localRightHandPos
 
Quaternion localRightHandRot
 
Vector3 localLeftHandForward
 
Vector3 localRightHandForward
 
NetworkInteractHand networkInteractHand
 
NetworkPlayerCommand networkPlayerCommand
 
VoiceBroadcastTrigger vbt
 
VoiceReceiptTrigger vrt
 
GameObject vrtk_sdkManagerObj
 
GameObject inputActionMapObj
 
GameObject livObject
 
GameObject leftHandToggle
 
GameObject rightHandToggle
 
Transform renderTrans
 
List< SlotTriggerslotTriggers = new List<SlotTrigger>()
 
SortedList< double, PlayerSnapshotclientLocalSnapshots = new SortedList<double, PlayerSnapshot>(50)
 
bool localApplySnapshot = false
 
List< SkinnedMeshRenderer > warriorMeshs = new List<SkinnedMeshRenderer>()
 
List< SkinnedMeshRenderer > armMeshs = new List<SkinnedMeshRenderer>()
 
List< MeshRenderer > handMeshs = new List<MeshRenderer>()
 
List< SkinnedMeshRenderer > cloakMeshs = new List<SkinnedMeshRenderer>()
 
List< SkinnedMeshRenderer > mrWarriorMeshs = new List<SkinnedMeshRenderer>()
 
List< SkinnedMeshRenderer > mrArmMeshs = new List<SkinnedMeshRenderer>()
 
List< Renderer > mrHideOnAlignMesh = new List<Renderer>()
 
Material warriorMat
 
Material armMat
 
Material handMat
 
List< Transform > baseMeshNodes
 
List< Rigidbody > ragdollNodeRBs
 
List< RagdollHitInfoObjplayerRagdollHitInfoObjs
 
bool playerInitFin = false
 
System.Action playerInitFinAction
 
bool dontDestroyOnLoad = true
 
float headsetHeight = 0f
 
float armLength = 0.85f
 
Transform clientLocalLeftHand
 
Transform clientLocalRightHand
 
bool isHostPlayer = false
 
float rttMlp = 0.5f
 
SoundEffectInfo enterLobbySound
 
Camera pcDisplayCamera
 
float dissolveTime = 1f
 
TileMap otherPlayerTileMap = null
 

Static Public Attributes

static List< Transform > networkPlayerTrans = new List<Transform>()
 
static NetworkPlayer hostPlayer = null
 
static NetworkPlayer localNetworkPlayer = null
 
static System.Action localPlayerInitFinAction
 
static bool localPlayerInitFin = false
 

Properties

static bool IsLocalHostPlayer [get]
 

Events

System.Action OnResetState
 

Member Function Documentation

◆ LeaveDropItems()

void CrossLink.Network.NetworkPlayer.LeaveDropItems ( )

drop all items locally