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

Inherits CrossLink.InteractTrigger.

Inherited by CrossLink.GunStorm, and CrossLink.RapierLight.

Public Member Functions

void GetAimDir (out Vector3 aimDir)
 
virtual FlyObject PlayShootAction ()
 
void SetBulletIgnoreScheduler (FlyObject fo)
 
void AddRecoil ()
 
void OnShoot (FlyObject fo)
 
void ClearNetworkShootData ()
 
bool isValidNetShootActionId (int netShootActionId)
 
virtual void RpcOnShootLocal (int netShootActionId)
 
virtual void RpcOnShootLocalHitScene (int netShootActionId, Rigidbody rb, Collider col, Vector3 point, Vector3 normal, Vector3 relaVel)
 
virtual void RpcOnShootLocalHitPlayerHand (int netShootActionId, Rigidbody rb, Collider col, Vector3 point, Vector3 normal, Vector3 relaVel, InteractHand hand)
 
virtual void RpcOnShootLocalHitPlayer (int netShootActionId, Rigidbody rb, Collider col, Vector3 point, Vector3 normal, Vector3 relaVel, InteractCharacter player)
 
virtual void RpcOnShootLocalHitInteractRole (int netShootActionId, Rigidbody rb, Collider col, Vector3 point, Vector3 normal, Vector3 relaVel, FullCharacterControl fc, RagdollMuscle mu)
 
virtual void RpcOnShootLocalHitOther (int netShootActionId, Rigidbody rb, Collider col, Vector3 point, Vector3 normal, Vector3 relaVel, PhysicsUnit pu)
 
override void UpdateSkill ()
 
override void OnChargeRelease ()
 
override void OnActivateEnd ()
 

Public Attributes

Transform shootPosition
 
string flyobjName
 
float shootVel = -1
 
AimWidget aimWidget
 
Animator shootAnim
 
AnimationCurve recoilCurve
 
Vector3 recoilVector = new Vector3(0, 0.2f, -1)
 
float recoilRotate = -3
 
float recoilRandomBias = 3
 
bool dontShootOnInstant = false
 
bool shootOnCharge = true
 
bool shootOnActivateEnd = false
 
bool autoSetupBulletIgnore = true
 
int shootActionId = 0
 
bool useNetworkShootData = false
 
Vector3 velFromNetwork
 

Protected Member Functions

override void OnGrab (AttachObj attach, bool t)
 

Properties

Vector3 aimDirFromNetwork [get]
 
float flyTimeFromNetwork [get]
 
Vector3 shootTargetPostionFromNetwork [get, set]
 

Additional Inherited Members