REDNODE / GAME API

ChargedHotkeyItemBaseController

classscriptedClass

extends HotkeyItemController › GenericHotkeyController › gameuiNewPhoneRelatedHUDGameController › inkHUDGameController › inkGameController › worlduiIGameController › inkIGameController › IScriptable › ISerializable

Extended by 4 types

ChargedHotkeyItemConsumableController ChargedHotkeyItemCyberwareController ChargedHotkeyItemGadgetController ChargeIndicatorGameController

Properties 10

NameTypeFlags
chargebarOpacityFloatscriptedprotected
chargebarOpacityWidgetinkWidgetRefscriptedprotected
chargebarSizeWidgetinkWidgetRefscriptedprotected
chargeThresholdFloatscriptedprotected
currentProgressFloatscriptedprotected
endSizeVector2scriptedprotected
hideChargesAnimProxyref<inkAnimProxy>scriptedprivate
showChargesAnimProxyref<inkAnimProxy>scriptedprivate
startSizeVector2scriptedprotected
statListenerref<ChargedHotkeyItemStatListener>scriptedprotected

Methods 19

private final func CreateListener()scripted
protected final func GetItemType(itemID: ItemID, defaultValue: CName) -> CNamescripted
protected func GetMaxCharges() -> Floatscripted
protected func GetRechargeDuration() -> Floatscripted
protected final func GetStatPoolCurrentValue(statPoolType: gamedataStatPoolType, inPerc: Bool) -> Floatscripted
protected final func GetStatPoolMaxPoints(statPoolType: gamedataStatPoolType) -> Floatscripted
protected final func IsBerserkActive() -> Boolscripted
protected cb func OnHideChargesAnimFinished(anim: ref<inkAnimProxy>) -> Boolscripted
protected cb func OnInitialize() -> Boolscripted
protected cb func OnUninitialize() -> Boolscripted
protected final func PlayHideChargesAnimation(withCallback: Bool)scripted
protected func PlayRechargeFinishedAnimation()scripted
protected final func PlayShowChargesAnimation()scripted
protected func RegisterStatListener()scripted
protected func ResolveState()scripted
protected func SetRechargeProgress(progress: Float, valueChanged: Bool)scripted
protected final func StopShowChargesAnimation()scripted
protected func UnregisterStatListener()scripted
public final func UpdateChargeValue(newValue: Float, percToPoints: Float, valueChanged: Bool)scripted