InventoryWeaponDisplayController
classscriptedClass
extends InventoryItemDisplayController › BaseButtonView › inkDiscreteNavigationController › inkLogicController › inkILogicController › IScriptable › ISerializable
Properties 17
| Name | Type | Flags |
|---|---|---|
ammoIcon | inkImageRef | scriptedprotected |
canCycleWeapons | Bool | scriptedprotected |
dualWieldPrimaryWeaponIcon | inkWidgetRef | scriptedprotected |
dualWieldSecondaryWeaponIcon | inkWidgetRef | scriptedprotected |
inactiveDualWieldIcon | inkWidgetRef | scriptedprotected |
isHoveringArrow | Bool | scriptedprotected |
primaryWeaponOnlyEquippedIcon | inkWidgetRef | scriptedprotected |
scopeIcon | inkWidgetRef | scriptedprotected |
showArrows | Bool | scriptedprotected |
silencerIcon | inkWidgetRef | scriptedprotected |
switchToPrimaryArrow | inkWidgetRef | scriptedprotected |
switchToPrimaryArrowController | wref<inkButtonController> | scriptedprotected |
switchToSecondaryArrow | inkWidgetRef | scriptedprotected |
switchToSecondaryArrowController | wref<inkButtonController> | scriptedprotected |
toggleToPrimary | Bool | scriptedprotected |
toggleToSecondary | Bool | scriptedprotected |
weaponSpecyficModsRoot | inkCompoundRef | scriptedprotected |
Methods 31
protected final func DoUpdateDualWield(itemDataExists: Bool, isLeftWeapon: Bool, hasPairedWeapon: Bool, canDualWield: Bool, isEquipped: Bool)scripted
public final func GetCanCycleWeapons() -> Boolscripted
public func GetSlotName() -> Stringscripted
public final func GetToggleToPrimary() -> Boolscripted
public final func GetToggleToSecondary() -> Boolscripted
public final func HasPairedWeapon() -> Boolscripted
public final func IsHoveringArrow() -> Boolscripted
public final func IsLeftWeapon() -> Boolscripted
protected func NewRefreshUI(itemData: ref<UIInventoryItem>)scripted
protected final func NewUpdateDualWield(itemData: ref<UIInventoryItem>)scripted
protected func NewUpdateWeaponParts(itemData: ref<UIInventoryItem>)scripted
public func OnCreate()scripted
protected cb func OnDelayedResetDualWieldItemToggled(evt: ref<DelayedResetDualWieldItemToggled>) -> Boolscripted
protected cb func OnHoverOut(e: ref<inkPointerEvent>) -> Boolscripted
protected cb func OnHoverOver(e: ref<inkPointerEvent>) -> Boolscripted
protected cb func OnInitialize() -> Boolscripted
protected cb func OnToggleToPrimary(e: ref<inkPointerEvent>) -> Boolscripted
protected cb func OnToggleToSecondary(e: ref<inkPointerEvent>) -> Boolscripted
protected cb func OnUninitialize() -> Boolscripted
public final func PlayCycleAnimation(isNext: Bool)scripted
public final func PlaySwapWeaponsAnimation()scripted
protected func RefreshUI()scripted
public final func ResetToggle()scripted
public final func SetArrowsVisibility(showRight: Bool, showLeft: Bool)scripted
public final func SetCanCycleWeapons(value: Bool)scripted
public final func SetDualWieldIconsVisiblity(showPrimaryOnlyEquipped: Bool, showDualWieldPrimaryWeapon: Bool, showDualWieldSecondaryWeapon: Bool, showInactive: Bool)scripted
public final func SetShowArrows(value: Bool)scripted
protected final func UpdateAmmoIcon(itemData: wref<gameItemData>)scripted
protected final func UpdateDualWield(itemData: wref<gameItemData>)scripted
protected func UpdateIcon()scripted
protected func UpdateWeaponParts()scripted