Battle Talent
V11
|
Inherits CrossLink.InteractBase.
Public Member Functions | |
string | GetPrefabNameForSpawn () |
void | ShowShadow (InteractHand hand) |
void | HideShadow (InteractHand hand) |
void | EnableShadow (bool e) |
override void | OnGrab (InteractHand hand, AttachObj attach) |
override void | OnUnGrab (InteractHand hand, AttachObj attach) |
Public Member Functions inherited from CrossLink.InteractBase | |
Vector3 | GetLastVelocity () |
Vector3 | GetLocalVelocity () |
void | TapWeaponHangingTime () |
bool | IsWeaponHanging () |
void | MulplyDurabulity (float mlp) |
int | GetDuralityMax () |
bool | StillHasEngouthDurability () |
string | GetDuralityDisplay () |
void | CostDurability (int cost=1, bool costByUsing=true) |
bool | IsBrokwnWarning () |
void | EnterBrokenReady () |
void | StopToDestroy () |
void | MarkRecovery () |
int | GetRevDurability () |
int | GetPredictDurability () |
void | SetRecovery () |
void | Clear () |
override void | Dead (bool destroy=true) |
AIProxy | GetLatestHolder () |
void | SetLatestHolder (AIProxy aIProxy) |
bool | IsHeldByNpc () |
AIProxy | GetHolder () |
InteractTrigger | GetInteractTrigger () |
bool | ShouldBeKeepHolding (InteractHand hand) |
XftWeapon.XWeaponTrail | GetWeaponTrail () |
void | SetAsNoTrail () |
void | ActivateTrail (bool a, Color c) |
bool | IsAttachedByFC () |
bool | HasDisableAtkMark () |
void | MarkAtkDisableForAWhile () |
void | ClearDisableAtkmark () |
bool | IsChargedThrown () |
void | MarkChargedThrownAssist (bool t) |
void | MarkThrowAssist (float offset=0) |
bool | IsThrowAssist (float assistSec=0.5f) |
bool | IsThrowAssistGrab (float assistSec=0.5f) |
void | ClearThrowAssistGrab () |
void | ClearThrowAssist () |
void | MarkThrowAssistByNpc (float offset=0) |
bool | IsThrowAssistByNpc (float assistSec=1f) |
void | ClearThrowAssistByNpc () |
override void | OnAttachBuild (PhysicsUnit pu, ConfigurableJoint joint, Rigidbody part) |
override void | OnAttachBreak (PhysicsUnit pu, ConfigurableJoint joint, Rigidbody part) |
bool | IsStrongPart (Vector3 point) |
void | SetHeavyLevel (HeavyLevel hl) |
HeavyLevel | GetHeavyLevel () |
InteractHand | GetPrimaryHand () |
InteractHand | GetSecondaryHand () |
void | DisableGrab () |
void | EnableGrab () |
bool | IsGrabbed () |
void | BoostInertia (bool b) |
bool | IsJustLeave () |
void | MarkLeave (float offset=0) |
bool | IsTightByStab () |
void | EnableRecoil (float recoilValue=0.25f, float sec=0.2f) |
void | EnableRecoil (float linearRecoilValue, float angularRocoilValue, float sec) |
void | SetTight (bool tie) |
bool | GetHandPower () |
float | GetHandPowerFactor () |
float | GetHandHitFactor () |
float | GetHandRecoilFactor () |
float | GetHandBreakDefFactor () |
float | GetKOFactor () |
void | SetHandLinearDrive (float factor=1) |
void | SetHandPower (bool hi, bool skipCacheCheck=false, float extraFactor=1) |
virtual void | OnCallBegin (InteractHand hand) |
virtual void | OnCallEnd () |
virtual void | OnCall (InteractHand hand, float progress) |
void | SetRBColLevel (bool hi) |
void | SetTwoHandEnable (bool e) |
void | UpdateTwoHandOrder () |
virtual void | OnDrop (bool d) |
virtual void | DropUpdate () |
bool | HasEnoughHand () |
bool | CanBeGrab () |
void | SetHolderCollision (InteractCharacter player, bool body, bool right, bool left, bool ignore, float delay=0) |
string | GetName () |
void | InitGazeDetail () |
string | OnGazeShow (string info) |
void | ShowGrabale (InteractHand hand) |
int | GetGrabHandNum () |
AttachObj | GetClosestAttachPoint (InteractHand hand, bool canGrab=true, float closestDisSqrt=10000) |
int | GetAttachNum () |
int | GetAttachIndex (AttachObj ato) |
float | GetClosestDistance (InteractHand hand) |
void | ShowHint (AttachPointQuad quad) |
AttachPointQuad | CreateHint (Transform trans, Vector3 anchor) |
void | HideHint (AttachPointQuad quad) |
void | RemoveHint (AttachPointQuad quad) |
void | ClearAllHints () |
bool | IsSlotEquiped () |
AttachObj | GetSlotMountPoint () |
bool | IsSlotAttach (AttachObj attach) |
InteractHand | GetSlotHand () |
InteractHand | GetAssociatedHand () |
bool | IsExistItemType (string type) |
void | OnSlot (SlotTrigger slot) |
void | OnUnSlot () |
bool | IsEquipmentOverlap () |
void | OnEquipmentOverlap (bool o) |
void | EnableCollision (InteractBase ib, bool enable) |
void | OnTrigger (AttachObj attach, bool t) |
void | OnTriggerOnSlot (bool t) |
void | AddPaintedEvent (System.Action cb) |
void | Paint (Vector3 pos, Quaternion rot, float pressure=0.5f) |
PaintIn3D.P3dPaintDecal | GetBloodDecal () |
void | UpdateForgeLevel (int newForgeLevel) |
void | UpgradeForceLevel () |
void | UpgradeForgeLevelToMax () |
string | GetEnhanceDesc () |
bool | IsEnhance () |
void | BeforeSaveData (SavePointMgr.WeaponSaveData data) |
virtual void | OnSale () |
virtual void | OnBuy () |
bool | IsUnsold () |
void | PlayAppearEffect () |
void | SetDissolveEffect () |
void | SetDissolveIntensity (float intensity) |
void | RemoveDissolveEffect () |
void | StopDissolveEffect () |
Public Member Functions inherited from CrossLink.PhysicsUnit | |
bool | IsStaticScene () |
bool | HasMovableRigidbody () |
bool | IsScene () |
virtual void | SetAttachable (bool b) |
virtual bool | CanBeAttached () |
List< PhysicsUnit > | GetAttachedList () |
bool | IsAttached () |
void | ClearAllAttachs () |
PhysicsUnit | GetRootPu () |
virtual Transform | GetPositionTransform () |
Rigidbody[] | GetRBs (bool forceUpdate=false) |
bool | ContainRB (Rigidbody rb) |
void | ModifyMassCenter (Vector3 mcenter, float sec=0.2f) |
float | GetTotalMass () |
virtual void | ChangeVelocity (Vector3 vel) |
virtual void | AddForceOnPart (Rigidbody part, Vector3 force, ForceMode fm=ForceMode.Impulse) |
virtual void | AddTorqueOnPart (Rigidbody part, Vector3 torque, ForceMode fm=ForceMode.Impulse) |
virtual void | AddForce (Vector3 force, ForceMode fm=ForceMode.Impulse) |
virtual void | AddTorque (Vector3 torque, ForceMode fm=ForceMode.Impulse) |
void | SetRBCols (bool col) |
void | SetKinematic (bool kine) |
void | DisableGravityAWhile (float sec=0.12f) |
void | ClearDisableGravity () |
Collider[] | GetCols (bool forceUpdate=false) |
CollisionEffect | GetCollisionEffect () |
CollisionEffect[] | GetCollisionEffects () |
string | GetNameWithoutClone () |
void | EnableCollisionEffectSensitive (bool s) |
RagdollHitInfoRef | GetRagdollHitInfoRef () |
RagdollHitInfoObj | GetRagdollHitInfoObj () |
RagdollHitInfo | GetRagdollHitInfo () |
StabObject | GetStabObject () |
GazeObj | GetGazeObj () |
virtual bool | IsDead () |
virtual void | OnCollisionWithHitScan (Rigidbody rb, Collider col, Vector3 point, Vector3 normal, Vector3 relaVel) |
virtual void | OnCull (TileBase tile) |
virtual void | OnRetain (TileBase tile) |
TileBase | GetCurrentEnterTile () |
virtual bool | OnEnter (TileBase tile) |
virtual bool | OnExit (TileBase tile) |
virtual void | DoCull (TileBase tile) |
virtual void | DoRetain (TileBase tile) |
TileBase | CalcCurrentTile () |
Public Attributes | |
string | prefabName |
Public Attributes inherited from CrossLink.InteractBase | |
bool | autoDisappearWhenDurableLow = true |
int | durability = 25 |
int | durailityMax |
InteractType | interactType |
bool | handCalling = false |
Transform[] | guardPoints |
HeavyLevel | heavyLevel = HeavyLevel.None |
float | linearForce = 30000 |
float | linearDamper = 500 |
float | angularForce = 20000 |
float | angularDamper = 500 |
float | singleHandSpeed = VRTKHandTracker.SPEED_NORMAL |
float | twoHandSpeed = VRTKHandTracker.SPEED_FAST |
bool | allowSecondHand = false |
bool | beAbleToShowGrab = true |
bool | enableAutoTickTwoHand = false |
bool | checkDrop = false |
AttachObj[] | attachList |
GazeObj | gaze |
bool | grabDistanceLimit = false |
string[] | itemTypes |
AttachObj[] | mountAttachs |
SlotTrigger | mountedSlot |
SlotTrigger | mountedSlotOnAwake |
SlotTrigger[] | childSlots |
bool | canPaint = true |
bool | paintInstalled = false |
PaintIn3D.P3dPaintable | paintable |
int | enhanceLevel = -1 |
Public Attributes inherited from CrossLink.PhysicsUnit | |
Tagger.Tag | unitType |
System.Action< PhysicsUnit, ConfigurableJoint, Rigidbody > | OnAttachBuildEvent |
System.Action< PhysicsUnit, ConfigurableJoint, Rigidbody > | OnAttachBreakEvent |
Transform | trans |
Rigidbody | rb |
Static Public Attributes | |
static bool | InShadow = false |
Static Public Attributes inherited from CrossLink.InteractBase | |
static bool | CheatDura = false |
static readonly float | boostInertiaCoe = 0.2f |
static string[] | deadEffectSounds |
static Dictionary< HeavyLevel, float > | HeavyLevel2HandFactor |
static Dictionary< HeavyLevel, float > | HeavyLevel2BreakDefFactor |
static Dictionary< HeavyLevel, float > | HeavyLevel2RecoilFactor |
static Dictionary< HeavyLevel, float > | HeavyLevel2KOFactor |
static Dictionary< HeavyLevel, float > | HeavyLevel2LogicHit |
static bool | PrimaryHandToSecondaryHandPhase1 = false |
static bool | PrimaryHandToSecondaryHandPhase2 = false |
static bool | PrimaryHandToSecondaryHandPhase3 = false |
Protected Member Functions | |
void | Reset () |
Protected Member Functions inherited from CrossLink.InteractBase | |
void | Awake () |
void | Start () |
void | Reset () |
void | OnDestroy () |
void | LateUpdate () |
void | DoGrab (InteractHand hand, AttachObj attach) |
void | DoUnGrab (InteractHand hand, AttachObj attach) |
Protected Member Functions inherited from CrossLink.PhysicsUnit | |
void | Awake () |
void | OnDestroy () |
virtual void | OnDead () |
virtual bool | NeedToClearParent () |
Additional Inherited Members | |
Public Types inherited from CrossLink.InteractBase | |
enum class | InteractType { Default , Fragile , Tough , Solid , Empty } |
enum class | HeavyLevel { None , VeryLight , Light , Normal , Heavy , VeryHeavy } |
Static Public Member Functions inherited from CrossLink.InteractBase | |
static string | GetNumValue (float num) |
Static Public Member Functions inherited from CrossLink.PhysicsUnit | |
static void | ClearRecordData () |
static List< PhysicsUnit > | GetTagedPhysicsUnit (Tagger.Tag t) |
static void | FitInTagList (PhysicsUnit pu, bool fitIn) |
static void | Reg (PhysicsUnit pu) |
static void | RegTrans (PhysicsUnit pu, Transform trans) |
static void | UnReg (PhysicsUnit pu) |
static void | UnRegTrans (PhysicsUnit pu, Transform trans) |
static void | RegAll (PhysicsUnit pu) |
static void | UnRegAll (PhysicsUnit pu) |
static PhysicsUnit | GetPhysicsUnit (Collider col, bool checkRoot=true) |
static PhysicsUnit | GetPhysicsUnit (Transform trans, bool checkRoot=true) |
static bool | IsSceneLayer (Transform trans) |
static bool | IsScene (Collider col) |
static PhysicsUnit | Query (Transform trans) |
static List< PhysicsUnit > | QueryInRadiusTemp (Vector3 pos, float radius) |
static List< PhysicsUnit > | QueryLogicTargetInRadiusTemp (Vector3 pos, float radius) |
static bool | IsStaticScene (GameObject go) |
Protected Attributes inherited from CrossLink.InteractBase | |
InteractHand | primaryHand |
InteractHand | secondaryHand |
float | leaveTime |
bool | ibTied = false |
bool | handPowerHi = true |
bool | twoHandedZOrder = true |
bool | twoHandedRevertOrder = false |
bool | isShowingGrab = false |
bool | isEquipmentOverlap = false |
Protected Attributes inherited from CrossLink.PhysicsUnit | |
bool | attachable = true |
List< PhysicsUnit > | attachedPuList = new List<PhysicsUnit>() |
bool | isDead = false |
List< TileBase > | tileList = new List<TileBase>() |
TileBase | lastExitTile = null |
TileBase | lastBelongTile = null |
TileBase | previousEnterTile = null |
TileBase | currentEnterTile = null |
Properties inherited from CrossLink.InteractBase | |
int | ForgeLevel [get] |
Events inherited from CrossLink.InteractBase | |
System.Action< AttachObj, bool > | GrabBeginEvent |
System.Action< AttachObj, bool > | GrabEvent |
System.Action< SlotTrigger, bool > | SlotBeginEvent |
System.Action< SlotTrigger, bool > | SlotEvent |
System.Action< bool > | EquipmentOverlapEvent |
System.Action< bool > | BoostEvent |
System.Action< InteractHand, float > | CallEvent |
System.Action< InteractHand > | CallBeginEvent |
System.Action | CallEndEvent |
System.Action< AttachObj, bool > | TriggerEvent |
System.Action< InteractBase > | EnhanceEvent |
System.Action< SavePointMgr.WeaponSaveData > | SaveEvent |
System.Action | OnSaleEvent |
System.Action | OnBuyEvent |
Events inherited from CrossLink.PhysicsUnit | |
System.Action< PhysicsUnit > | DeadEvent |
System.Action< PhysicsUnit, Rigidbody, Collider, Vector3, Vector3, Vector3 > | OnHitScanEvent |