ChargedHotkeyItemGadgetController
classscriptedClass
extends ChargedHotkeyItemBaseController › HotkeyItemController › GenericHotkeyController › gameuiNewPhoneRelatedHUDGameController › inkHUDGameController › inkGameController › worlduiIGameController › inkIGameController › IScriptable › ISerializable
Extended by 1 type
Properties 9
| Name | Type | Flags |
|---|---|---|
c_cwMaskKey | CName | scriptedprotected |
c_grenadeFlashSalePerkType | gamedataNewPerkType | scriptedprivate |
c_grenadeKey | CName | scriptedprivate |
c_opticalCamoKey | CName | scriptedprivate |
c_projectileLauncherKey | CName | scriptedprivate |
combatStateCallback | ref<CallbackHandle> | scriptedprivate |
currentCombatState | gamePSMCombat | scriptedprivate |
currentStatPoolType | gamedataStatPoolType | scriptedprotected |
opticalCamoTags | array<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