REDNODE / GAME API

ChargedHotkeyItemGadgetController

classscriptedClass

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

Extended by 1 type

ChargedHotkeyItemGadgetVehicleController

Properties 9

NameTypeFlags
c_cwMaskKeyCNamescriptedprotected
c_grenadeFlashSalePerkTypegamedataNewPerkTypescriptedprivate
c_grenadeKeyCNamescriptedprivate
c_opticalCamoKeyCNamescriptedprivate
c_projectileLauncherKeyCNamescriptedprivate
combatStateCallbackref<CallbackHandle>scriptedprivate
currentCombatStategamePSMCombatscriptedprivate
currentStatPoolTypegamedataStatPoolTypescriptedprotected
opticalCamoTagsarray<CName>scriptedprivate

Methods 22

private final func GetCurrentItemMaxChargesStatType() -> gamedataStatTypescripted
protected func GetCurrentItemStatPoolType() -> gamedataStatPoolTypescripted
protected func GetMaxCharges() -> Floatscripted
private final func GetPSMCombatState() -> gamePSMCombatscripted
protected func GetRechargeDuration() -> Floatscripted
private final func IsCyberwareActive() -> Boolscripted
protected func IsInDefaultState() -> Boolscripted
protected cb func OnCombatStateChanged(newState: Int32) -> Boolscripted
protected cb func OnInitialize() -> Boolscripted
protected cb func OnNewPerkBought(evt: ref<NewPerkBoughtEvent>) -> Boolscripted
protected cb func OnNewPerkSold(evt: ref<NewPerkSoldEvent>) -> Boolscripted
protected cb func OnPlayerAttach(playerPuppet: ref<GameObject>) -> Boolscripted
protected cb func OnPlayerDetach(playerPuppet: ref<GameObject>) -> Boolscripted
private final func RegisterCombatStateListener()scripted
protected func RegisterStatListener()scripted
protected func ResolveState()scripted
protected func SetRechargeProgress(progress: Float, valueChanged: Bool)scripted
protected func UnregisterStatListener()scripted
protected final func UpdateButtonHint()scripted
protected final func UpdateChargeThreshold()scripted
protected func UpdateCurrentItem()scripted
protected final func UpdateStatListener()scripted