ChargebarController class
ChargebarController
Inheritance
Base: ink.WidgetLogicController
Derived
None.
Properties
| Property | Type | |
|---|---|---|
foreground | ink.WidgetReference | scripted |
midground | ink.WidgetReference | scripted |
background | ink.WidgetReference | scripted |
maxChargeAnimationName | CName | scripted |
maxChargeResetAnimationName | CName | scripted |
staticChargeAnimationName | CName | scripted |
chargedShootAnimationName | CName | scripted |
radialWipe | bool | scripted |
verticalChargeBar | bool | scripted |
playStaticChargeAnimationInstead | bool | scripted |
player | WeakHandle<game.Object> | scripted |
statsSystem | game.StatsSystem? | scripted |
canFullyCharge | bool | scripted |
canOvercharge | bool | scripted |
listenerFullCharge | ChargebarStatsListener? | scripted |
listenerOvercharge | ChargebarStatsListener? | scripted |
animationMaxCharge | ink.anim.Proxy? | scripted |
animationStaticCharge | ink.anim.Proxy? | scripted |
animationChargedShoot | ink.anim.Proxy? | scripted |
animationStaticChargePlayed | bool | scripted |
isCharged | bool | scripted |
Functions
void OnPlayerAttach(game.Object player)RTTIvoid OnPlayerDetach(game.Object player)RTTIvoid OnStatChanged(game.StatsObjectID ownerID, game.data.StatType statType, float diff, float total)RTTIvoid OnTriggerModeChanged(string value)RTTIvoid OnChargeValueChanged(float value)RTTIfloat GetCurrentChargeLimit()RTTIvoid SetRadialWipe(float value, float threshold)RTTIvoid SetBarsSize(float value, float threshold)RTTIvoid EvalChargeAnimation(float value, float threshold)RTTIvoid StopChargingAnimation()RTTIvoid PlayStaticChargeAnimation(float value, float threshold)RTTIfloat GetWeponChargingSpeedRatio()RTTIvoid PlayChargedShootAnimation()RTTIgame.weapon.Object? GetWeaponObject()RTTI