Battle Talent
V11
|
Inherits CrossLink.Network.NetworkIBState.
Public Member Functions | |
override void | SpawnInit () |
override void | ReleaseMonoFunctions () |
override void | InitStates () |
void | SetDeformRBPos (Vector3 value) |
void | SetDeformRBRot (Quaternion value) |
void | SetDeformRBVe (Vector3 value) |
void | SetDeformRBAve (Vector3 value) |
void | GunBarrelState (bool isLock) |
void | OnGunBarrelUpdate (bool isLock) |
void | ServerStartLoadDetect () |
void | RpcStartLoadDetect () |
void | CmdLockGunBarrel () |
void | ServerLockBarrel () |
void | RpcLockBarrel () |
void | CmdReLoad () |
void | ServerReLoad () |
void | RpcReLoad () |
void | ServerOnShoot (FlyObject fo) |
void | RpcOnShoot (int netId) |
void | CmdOnShootLocal (int shootActionId) |
void | ServerOnshootLocal (int shootActionId) |
void | RpcOnShootLocal (int shootActionId) |
void | CmdOnShootLocalHitScene (int shootActionId, int rbNetId, int rbKey, int colNetId, int colKey, Vector3 point, Vector3 normal, Vector3 relaVel) |
void | CmdOnShootLocalHitSceneMsg (int shootActionId, int rbNetId, int rbKey, int colNetId, int colKey, Vector3 point, Vector3 normal, Vector3 relaVel) |
void | ServerOnshootLocalHitScene (int shootActionId, int rbNetId, int rbKey, int colNetId, int colKey, Vector3 point, Vector3 normal, Vector3 relaVel) |
void | RpcOnShootLocalHitScene (int shootActionId, int rbNetId, int rbKey, int colNetId, int colKey, Vector3 point, Vector3 normal, Vector3 relaVel) |
void | CmdOnShootLocalHitPlayerHand (int shootActionId, int rbNetId, int rbKey, int colNetId, int colKey, Vector3 point, Vector3 normal, Vector3 relaVel, int playerNetId, int handIdx) |
void | CmdOnShootLocalHitPlayerHandMsg (int shootActionId, int rbNetId, int rbKey, int colNetId, int colKey, Vector3 point, Vector3 normal, Vector3 relaVel, int playerNetId, int handIdx) |
void | ServerOnshootLocalHitPlayerHand (int shootActionId, int rbNetId, int rbKey, int colNetId, int colKey, Vector3 point, Vector3 normal, Vector3 relaVel, int playerNetId, int handIdx) |
void | RpcOnShootLocalHitPlayerHand (int shootActionId, int rbNetId, int rbKey, int colNetId, int colKey, Vector3 point, Vector3 normal, Vector3 relaVel, int playerNetId, int handIdx) |
void | CmdOnShootLocalHitPlayer (int shootActionId, int rbNetId, int rbKey, int colNetId, int colKey, Vector3 point, Vector3 normal, Vector3 relaVel, int playerNetId) |
void | CmdShootLocalHitPlayerMsg (int shootActionId, int rbNetId, int rbKey, int colNetId, int colKey, Vector3 point, Vector3 normal, Vector3 relaVel, int playerNetId) |
void | ServerOnshootLocalHitPlayer (int shootActionId, int rbNetId, int rbKey, int colNetId, int colKey, Vector3 point, Vector3 normal, Vector3 relaVel, int playerNetId) |
void | RpcOnShootLocalHitPlayer (int shootActionId, int rbNetId, int rbKey, int colNetId, int colKey, Vector3 point, Vector3 normal, Vector3 relaVel, int playerNetId) |
void | CmdOnShootLocalHitInteractRole (int shootActionId, int rbNetId, int rbKey, int colNetId, int colKey, Vector3 localPoint, Vector3 localNormal, Vector3 localRelaVel, int fcNetId, string muscleName) |
void | CmdOnShootLocalHitInteractRoleMsg (int shootActionId, int rbNetId, int rbKey, int colNetId, int colKey, Vector3 localPoint, Vector3 localNormal, Vector3 localRelaVel, int fcNetId, string muscleName) |
void | ServerOnshootLocalHitInteractRole (int shootActionId, int rbNetId, int rbKey, int colNetId, int colKey, Vector3 localPoint, Vector3 localNormal, Vector3 localRelaVel, int fcNetId, string muscleName) |
void | RpcOnShootLocalHitInteractRole (int shootActionId, int rbNetId, int rbKey, int colNetId, int colKey, Vector3 localPoint, Vector3 localNormal, Vector3 localRelaVel, int fcNetId, string muscleName) |
void | CmdOnShootLocalHitOther (int shootActionId, int rbNetId, int rbKey, int colNetId, int colKey, Vector3 point, Vector3 normal, Vector3 relaVel) |
void | CmdOnShootLocalHitOtherMsg (int shootActionId, int rbNetId, int rbKey, int colNetId, int colKey, Vector3 point, Vector3 normal, Vector3 relaVel) |
void | ServerOnshootLocalHitOther (int shootActionId, int rbNetId, int rbKey, int colNetId, int colKey, Vector3 point, Vector3 normal, Vector3 relaVel) |
void | RpcOnShootLocalHitOther (int shootActionId, int rbNetId, int rbKey, int colNetId, int colKey, Vector3 point, Vector3 normal, Vector3 relaVel) |
![]() | |
void | SetInitPos (Vector3 pos) |
void | SetInitRot (Quaternion rot) |
void | SetEnhanceLevel (int value) |
void | SetDebugEnhance (bool value) |
void | SetEnchanterNetId (int value) |
void | SendTestRpcFunc (List< bool > boolList, List< float > floatList, List< int > intList, List< string > strList) |
void | ReceiveTestRpcFunc (List< bool > boolList, List< float > floatList, List< int > intList, List< string > strList) |
void | LocalExecuteTestRpcFunc (List< bool > boolList, List< float > floatList, List< int > intList, List< string > strList) |
void | OnChargeDura (int value) |
void | RefleshDura (int dura) |
void | RefleshName (string name) |
void | ServerCloseSkill () |
void | RpcCloseSkill () |
void | ServerStartEnchanting (string name) |
void | RpcStartEnchanting (string name) |
void | ServerStopEnchanting () |
void | RpcStopEnchanting () |
void | ServerOnEnchanting (float progress) |
void | RpcOnEnchanting (float progress) |
void | ServerEnchant (InteractBase ib, float dura, int count, string loopName, string endName) |
void | RpcEnchant (int netId, float dura, int count, string loopName, string endName) |
void | ServerEnchantOther (InteractBase ib, bool isRemainTime) |
void | RpcEnchantOther (int netId, bool isRemainTime) |
void | ServerEnchantEnd () |
void | RpcEnchantEnd () |
void | ServerRemoveEnchant () |
void | RpcRemoveEnchant () |
void | ServerDoEnchantSkill (FullCharacterControl fc, RagdollMuscle mu, Collider thisCol, Rigidbody otherRB, Collider otherCol, Vector3 point, Vector3 normal, Vector3 relaVel) |
void | RpcDoEnchantSkill (int fcNetId, string muscleName, int thisColNetId, int thisColKey, int rbNetId, int rbKey, int colNetId, int colKey, Vector3 point, Vector3 normal, Vector3 relaVel) |
void | ServerDoEnchantSkillWithPlayer (Rigidbody rb, Collider thisCol, Collider otherCol, Vector3 point, Vector3 normal, Vector3 relaVel, InteractCharacter character) |
void | RpcDoEnchantSkillWithPlayer (int rbNetId, int rbKey, int thisColNetId, int thisColKey, int colNetId, int colKey, Vector3 point, Vector3 normal, Vector3 relaVel, int playerId) |
![]() | |
override void | OnStartServer () |
override void | OnStopServer () |
override void | OnStartClient () |
override void | OnStopClient () |
![]() | |
void | CmdFunc (string funcKey, List< object > objs) |
virtual void | OnCommandFunc (int index, List< bool > boolList, List< float > floatList, List< int > intList, List< string > strList) |
override void | OnStartServer () |
override void | OnStopServer () |
override void | OnStartClient () |
override void | OnStopClient () |
void | RpcFunc (int index, List< bool > boolList, List< float > floatList, List< int > intList, List< string > strList) |
void | CheckMask (DataType dataType) |
int | RegBoolState (NetworkState< bool > state, System.Action< bool > clientChangedCallback=null, System.Action< bool > serverChangedCallback=null) |
int | RegFloatState (NetworkState< float > state, System.Action< float > clientChangedCallback=null, System.Action< float > serverChangedCallback=null) |
int | RegIntState (NetworkState< int > state, System.Action< int > clientChangedCallback=null, System.Action< int > serverChangedCallback=null) |
int | RegVec2State (NetworkState< Vector2 > state, System.Action< Vector2 > clientChangedCallback=null, System.Action< Vector2 > serverChangedCallback=null) |
int | RegVec3State (NetworkState< Vector3 > state, System.Action< Vector3 > clientChangedCallback=null, System.Action< Vector3 > serverChangedCallback=null) |
int | RegQuatState (NetworkState< Quaternion > state, System.Action< Quaternion > clientChangedCallback=null, System.Action< Quaternion > serverChangedCallback=null) |
int | RegStrState (NetworkState< string > state, System.Action< string > clientChangedCallback=null, System.Action< string > serverChangedCallback=null) |
override void | OnSerialize (NetworkWriter writer, bool initialState) |
override void | OnDeserialize (NetworkReader reader, bool initialState) |
virtual NetworkStateSnapshot | Construct () |
void | ServerAddSnapshot (NetworkStateSnapshot snapshot) |
void | ClientAddSnapshot (NetworkStateSnapshot snapshot) |
virtual bool | Changed (NetworkStateSnapshot current) |
virtual void | Reset () |
bool | GetBoolStateValue (NetworkState< bool > state) |
float | GetFloatStateValue (NetworkState< float > state) |
int | GetIntStateValue (NetworkState< int > state) |
Vector2 | GetVec2StateValue (NetworkState< Vector2 > state) |
Vector3 | GetVec3StateValue (NetworkState< Vector3 > state) |
Quaternion | GetQuatStateValue (NetworkState< Quaternion > state) |
string | GetStrStateValue (NetworkState< string > state) |
void | SetBoolStateValue (NetworkState< bool > state, bool value) |
void | SetFloatStateValue (NetworkState< float > state, float value) |
void | SetIntStateValue (NetworkState< int > state, int value) |
void | SetVec2StateValue (NetworkState< Vector2 > state, Vector2 value) |
void | SetVec3StateValue (NetworkState< Vector3 > state, Vector3 value) |
void | SetQuatStateValue (NetworkState< Quaternion > state, Quaternion value) |
void | SetStrStateValue (NetworkState< string > state, string value) |
Public Attributes | |
NetworkState< Vector3 > | rbPos = new NetworkState<Vector3>() |
NetworkState< Quaternion > | rbRot = new NetworkState<Quaternion>() |
NetworkState< Vector3 > | rbVe = new NetworkState<Vector3>() |
NetworkState< Vector3 > | rbAve = new NetworkState<Vector3>() |
Rigidbody | deformRB |
NetworkState< bool > | lockRB |
LuaFunction | luaOnGunBarrelUpdate |
LuaFunction | luaLockBarrel |
LuaFunction | luaStartLoadDetect |
LuaFunction | luaReload |
LuaFunction | luaOnShoot |
LuaFunction | luaOnShootLocal |
LuaFunction | luaOnShootLocalHitScene |
LuaFunction | luaOnShootLocalHitPlayer |
LuaFunction | luaOnShootLocalHitPlayerHand |
LuaFunction | luaOnShootLocalHitOther |
LuaFunction | luaOnShootLocalHitInteractRole |
LuaScript | script = new LuaScript() |
![]() | |
NetworkInteractBase | networkIB |
NetworkState< bool > | isPendant |
NetworkState< bool > | isPendantLeft |
NetworkState< bool > | isThrowItem |
NetworkState< int > | handIBIdx |
NetworkState< int > | durability |
NetworkState< int > | enhanceLevel |
NetworkState< bool > | debugEnhance |
NetworkState< string > | ibName |
NetworkState< Vector3 > | initPos |
NetworkState< Quaternion > | initRot |
NetworkState< int > | enchanterNetId |
bool | isClientGrab = false |
![]() | |
NetworkState< bool > | needIns |
NetworkState< int > | bindNetId |
NetworkState< int > | bindIndex |
NetworkState< string > | objName |
![]() | |
bool | isMgr = false |
System.Action | serverInitAction |
System.Action | clientInitAction |
NetworkStateLibrary | stateLibrary |
List< UnityEvent< List< bool >, List< float >, List< int >, List< string > > > | rpcSends |
List< UnityEvent< List< bool >, List< float >, List< int >, List< string > > > | cmdSends |
List< UnityEvent< List< bool >, List< float >, List< int >, List< string > > > | rpcCallbacks |
List< UnityEvent< List< bool >, List< float >, List< int >, List< string > > > | cmdCallbacks |
DataType | dataMask = DataType.NONE |
SortedList< DataType, int > | typeStatesCount |
List< bool > | localBoolStates = new List<bool>() |
List< float > | localFloatStates = new List<float>() |
List< int > | localIntStates = new List<int>() |
List< Vector2 > | localVec2States = new List<Vector2>() |
List< Vector3 > | localVec3States = new List<Vector3>() |
List< Quaternion > | localQuatStates = new List<Quaternion>() |
List< string > | localStrStates = new List<string>() |
List< NetworkState< bool > > | netBoolStates = new List<NetworkState<bool>>() |
List< NetworkState< float > > | netFloatStates = new List<NetworkState<float>>() |
List< NetworkState< int > > | netIntStates = new List<NetworkState<int>>() |
List< NetworkState< Vector2 > > | netVec2States = new List<NetworkState<Vector2>>() |
List< NetworkState< Vector3 > > | netVec3States = new List<NetworkState<Vector3>>() |
List< NetworkState< Quaternion > > | netQuatStates = new List<NetworkState<Quaternion>>() |
List< NetworkState< string > > | netStrStates = new List<NetworkState<string>>() |
bool | onlySyncOnChange = true |
float | onlySyncOnChangeCorrectionMultiplier = 2 |
bool | compressQuat = true |
float | floatSensitivity = 0.01f |
float | vec2Sensitivity = 0.01f |
float | vec3Sensitivity = 0.01f |
float | quatSensitivity = 0.01f |
bool | interpolateFloats = true |
bool | interpolateVec2s = true |
bool | interpolateVec3s = true |
bool | interpolateQuats = true |
readonly SortedList< double, NetworkStateSnapshot > | clientSnapshots = new SortedList<double, NetworkStateSnapshot>(16) |
readonly SortedList< double, NetworkStateSnapshot > | serverSnapshots = new SortedList<double, NetworkStateSnapshot>(16) |
Queue< NetworkStateSnapshot > | cacheSnapshots = new Queue<NetworkStateSnapshot>() |
NetworkStateSnapshot | lastSnapshot |
bool | timelineOffset = false |
Dictionary< string, UnityEvent< List< bool >, List< float >, List< string >, List< int > > > | events = new Dictionary<string, UnityEvent<List<bool>, List<float>, List<string>, List<int>>>() |
![]() | |
bool | NeedToSync = true |
uint | sendIntervalMultiplier = 1 |
Protected Member Functions | |
override void | FixedUpdate () |
![]() | |
virtual void | OnEnable () |
virtual void | OnDisable () |
override void | Update () |
override void | LateUpdate () |
override void | UpdateServerLerp () |
override void | UpdateClientLerp () |
override void | FixedUpdateServerLerp () |
override void | FixedUpdateClientLerp () |
void | AddSnapshot (SortedList< double, NetworkStateSnapshot > snapshots, double timeStamp, List< bool > boolStates, List< float > floatStates, List< int > intStates, List< Vector2 > vec2States, List< Vector3 > vec3States, List< Quaternion > quatStates, List< string > strStates) |
virtual void | Apply (InterpolateSnapshot interpolated, NetworkStateSnapshot endGoal) |
virtual void | OnC2SSync (List< bool > boolStates, List< float > floatStates, List< int > intStates, List< Vector2 > vec2States, List< Vector3 > vec3States, List< Quaternion > quatStates, List< string > strStates) |
void | OnS2CSync (List< bool > boolStates, List< float > floatStates, List< int > intStates, List< Vector2 > vec2States, List< Vector3 > vec3States, List< Quaternion > quatStates, List< string > strStates) |
![]() | |
virtual void | CheckLastSendTime () |
virtual void | ServerBroadcast () |
virtual void | ClientBroadcast () |
Additional Inherited Members | |
![]() | |
enum class | DataType { NONE = 0 , BOOL = 1 << 0 , FLOAT = 1 << 1 , INT = 1 << 2 , VEC2 = 1 << 3 , VEC3 = 1 << 4 , QUAT = 1 << 5 , STR = 1 << 6 } |
![]() | |
uint | sendIntervalCounter = 0 |
double | lastSendIntervalTime = double.MinValue |
![]() | |
Vector3 | GetInitPos [get] |
Quaternion | GetInitRot [get] |
int | GetHandIBIdx [get] |
int | GetEnhanceLevel [get] |
bool | GetDebugEnhance [get] |
int | GetEnchanterNetId [get] |
![]() | |
bool | GetNeedIns [get] |
int | GetBindNetId [get] |
int | GetBindIndex [get] |
string | GetObjName [get] |
![]() | |
bool | IsInit [get] |
bool | isSender [get] |
double | timeStampAdjustment [get] |
double | offset [get] |
![]() | |
bool | isClientWithAuthority [get] |