Battle Talent  V11
Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | List of all members
CrossLink.BowBase Class Reference

Inherits CrossLink.InteractTrigger.

Inherited by CrossLink.BowStrong.

Public Member Functions

InteractBase GetPutedWeapon ()
 
void NetworkSpawnArrow (int netId)
 
void OnSpawnNetworkIB (int netId)
 
virtual void SetNetworkShootData (Vector3 velocity, Vector3 position, Quaternion rotation)
 
virtual void RecordNetworkShootData (Vector3 velocity, Vector3 position, Quaternion rotation)
 
virtual void ClearNetworkShootData ()
 
virtual void SyncLastReleaseWeaponShootData (int stateId)
 
override void OnEnchantStart ()
 
override void OnEnchantEnd ()
 

Public Attributes

ArrowPuller puller
 
string arrowPrefab
 
AimWidget aimWidget
 
float shootWeaponSpeed = 20
 
ArrowBase putedArrow
 

Protected Member Functions

override void Awake ()
 
override void StartInit ()
 
void OnDestroy ()
 
void Reset ()
 
override void OnGrab (AttachObj attach, bool t)
 
virtual void OnPutWeaponEvent (InteractBase weapon)
 
virtual void OnPutArrowEvent ()
 
virtual void OnMove (AttachObj attach, float shootFactor)
 
virtual void OnShootWeapon (InteractBase weapon)
 
virtual void OnReleaseEnd ()
 
virtual void OnRelease (AttachObj attach, float shootFactor)
 
virtual void OnReleaseClient (AttachObj attach, float shootFactor)
 
virtual void OnReleaseServer (AttachObj attach, float shootFactor)
 
virtual void OnReleaseClientAfterGen (InteractBase ib)
 
virtual void OnReleaseServerAfterGen (GameObject go, AttachObj attach, float shootFactor)
 
virtual void OnReleaseLocal (InteractBase weapon, ArrowBase arrow)
 
void EnchantArrow (ArrowBase arrow)
 
void EnchantArrowIb (InteractBase arrowib)
 
virtual void OnPulling ()
 
virtual void OnCancel ()
 

Protected Attributes

InteractBase putedWeapon
 
bool useNetworkShootData = false
 
Vector3 weaponVelocityFromNetwork
 
Vector3 weaponPositionFromNetwork
 
Quaternion weaponRotationFromNetwork
 
Vector3 lastReleaseWeaponVelocity
 
Vector3 lastReleaseWeaponPosition
 
Quaternion lastReleaseWeaponRotation
 

Additional Inherited Members