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

Inherits CrossLink.Network.NetworkStateBase.

Public Member Functions

bool GrabRagdoll (int netId)
 
bool GetIsCalling (bool isLeft)
 
Vector3 GetNetworkVelocityEstimateLocal (bool isLeft)
 
Vector3 GetNetworkLeftHandVelocityEstimateLocal ()
 
Vector3 GetNetworkRightHandVelocityEstimateLocal ()
 
override void InitStates ()
 
void FixedUpdateNetworkHand ()
 
void UpdateNetworkHand ()
 
void CmdUpdateGrabJointAnchor (bool isLeft, float x, float y, float z)
 
void RpcGrabJointAnchor (bool isLeft, float x, float y, float z)
 
override void OnStartLocalPlayer ()
 
override void OnStartServer ()
 
override void OnStartClient ()
 
override void OnStopServer ()
 
override void OnStopClient ()
 
void Init (InteractHand leftHand, InteractHand rightHand)
 
void Bind ()
 
void UpdateHandPoseWeight (bool isLeft, float thumbWeight, float indexWeight, float elseWeight)
 
void CmdUpdateHandPoseWeight (bool isLeft, float? thumbWeight, float? indexWeight, float? elseWeight)
 
void TargetRpcUpdateHandPoseWeight (NetworkConnectionToClient conn, bool isLeft, float? thumbWeight, float? indexWeight, float? elseWeight)
 
void SetHandPoseWeight (bool isLeft, float? thumbWeight, float? indexWeight, float? elseWeight)
 
void CmdOnHandThrow (bool isLeft, int netId, int index, Vector3 ve, Vector3 ave, Vector3? ibve, Vector3? ibave, double rtt)
 
void RpcOnHandThrow (bool isLeft, int netId, int index)
 
void CmdOnHandTrigger (bool t, bool isLeft)
 
void DoCmdOnHandTrigger (bool t, bool isLeft)
 
void RpcHandTrigger (bool t, bool isLeft)
 
void OnHandTriggerLocal (bool t, bool isLeft)
 
void CmdOnHandSlotTrigger (bool t, bool isLeft)
 
void DoCmdOnHandSlotTrigger (bool t, bool isLeft)
 
void RpcHandSlotTrigger (bool t, bool isLeft)
 
void CmdGrabNull (bool isLeft)
 
void CmdOnHandCallAndGrab (int netId, int index, float sec, bool isLeft)
 
void CmdOnHandGrab (int netId, int index, bool g, bool isLeft, Vector3? handPos, Quaternion? handRot, Vector3? anchor, Vector3? attachPos, Quaternion? attachRot)
 
void OnHandGrabServer (int netId, int index, bool g, bool isLeft, Vector3? handPos, Quaternion? handRot, Vector3? anchor, Vector3? attachPos, Quaternion? attachRot)
 
void RpcHandGrab (int netId, int index, bool g, bool isLeft, Vector3? handPos, Quaternion? handRot, Vector3? anchor, Vector3? attachPos, Quaternion? attachRot)
 
void OnHandGrabClient (int netId, int index, bool g, bool isLeft, Vector3? handPos, Quaternion? handRot, Vector3? anchor, Vector3? attachPos, Quaternion? attachRot)
 
void TargetForceGrabNull (NetworkConnectionToClient conn, bool isLeft)
 
void CmdOnHandBuildGrab (bool isLeft, uint netId, int key, Vector3 handPos, Quaternion handRot, Vector3 ikLocalPos, Quaternion ikLocalRot)
 
void OnHandBuildGrabServer (bool isLeft, uint netId, int key, Vector3 handPos, Quaternion handRot, Vector3 ikLocalPos, Quaternion ikLocalRot)
 
void RpcOnHandBuildGrab (bool isLeft, uint netId, int key, Vector3 handPos, Quaternion handRot, Vector3 ikLocalPos, Quaternion ikLocalRot)
 
void CmdOnHandReleaseGrab (bool isLeft)
 
void OnHandReleaseGrabServer (bool isLeft)
 
void RpcOnHandReleaseGrab (bool isLeft)
 
void TargetForceReleaseFingerGrab (NetworkConnectionToClient conn, bool isLeft)
 
void CmdDoMount (bool isLeft, int playerNetId, int slotIndex, int ibNetId, Vector3? handPos, Quaternion? handRot, Vector3? anchor, Vector3? ibPos, Quaternion? ibRot)
 
void OnDoMountServer (bool isLeft, int playerNetId, int slotIndex, int ibNetId, Vector3? handPos, Quaternion? handRot, Vector3? anchor, Vector3? ibPos, Quaternion? ibRot)
 
void RpcDoMount (bool isLeft, int playerNetId, int slotIndex, int ibNetId, Vector3? handPos, Quaternion? handRot, Vector3? anchor, Vector3? ibPos, Quaternion? ibRot)
 
void CmdDoMountOthers (bool isLeft, int playerNetId, int slotIndex)
 
void OnDoMountOthersServer (bool isLeft, int playerNetId, int slotIndex)
 
void TargetRpcDoMountOthers (NetworkConnectionToClient conn, bool isLeft, int playerNetId, int slotIndex)
 
void CheckNetworkHand (InteractHand hand, NetworkPlayer targetplayer, bool grabbing)
 
NetworkInteractBase GetHandNetworkIB (bool isLeft)
 

Public Attributes

NetworkPlayer networkPlayer
 
InteractHand interactLeftHand
 
InteractHand interactRightHand
 
HandShadow leftHandShadow
 
HandShadow rightHandShadow
 
NetworkState< bool > IsLeftCalling
 
NetworkState< bool > IsRightCalling
 
NetworkState< Vector3 > leftVelocityEstimateLocal
 
NetworkState< Vector3 > rightVelocityEstimateLocal
 
int localGrabRagdollLeftNetId = -1
 
int localGrabRagdollRightNetId = -1
 
float handPoseSyncSensitivity = 0.01f
 
float leftThumbWeight
 
float leftIndexWeight
 
float leftElseWeight
 
float rightThumbWeight
 
float rightIndexWeight
 
float rightElseWeight
 

Static Public Attributes

static Dictionary< int, InteractHandnetworkHandMap = new Dictionary<int, InteractHand>()
 

Events

System.Action< bool, bool > OnLocalTrigger
 
System.Action< bool, bool > OnLocalSlotTrigger
 

Additional Inherited Members