REDNODE / GAME API

CrosshairGameController_Melee

classscriptedClass

extends gameuiCrosshairBaseMelee › gameuiCrosshairBaseGameController › inkGameController › worlduiIGameController › inkIGameController › IScriptable › ISerializable

Extended by 1 type

Crosshair_Melee_Nano_Wire

Properties 14

NameTypeFlags
bbchargeUint32scriptedprivate
chargeBarwref<inkCanvas>scriptedprivate
chargeBarFGwref<inkRectangle>scriptedprivate
chargeBarMaskwref<inkMask>scriptedprivate
chargeBarMonoBottomwref<inkImage>scriptedprivate
chargeBarMonoTopwref<inkImage>scriptedprivate
chargeValueLwref<inkText>scriptedprivate
chargeValueRwref<inkText>scriptedprivate
currentStateInt32scriptedprivate
displayChargeBarBoolscriptedprivate
meleeLeapAttackObjectTaggerref<MeleeLeapAttackObjectTagger>scriptedprivate
meleeResourcePoolListenerref<MeleeResourcePoolListener>scriptedprivate
targetColorChangeinkWidgetRefscriptedprivate
weaponIDEntityIDscriptedprivate

Methods 21

protected func ApplyCrosshairGUIState(state: CName, aimedAtEntity: ref<Entity>)scripted
public func GetIntroAnimation(firstEquip: Bool) -> ref<inkAnimProxy>scripted
public func GetOutroAnimation() -> ref<inkAnimProxy>scripted
protected cb func OnGamePSMMeleeWeapon(state: Int32) -> Boolscripted
protected cb func OnInitialize() -> Boolscripted
protected cb func OnPlayerAttach(playerPuppet: ref<GameObject>) -> Boolscripted
protected cb func OnPreIntro() -> Boolscripted
protected cb func OnPreOutro() -> Boolscripted
protected func OnState_Aim()scripted
protected func OnState_GrenadeCharging()scripted
protected func OnState_HipFire()scripted
protected func OnState_LeftHandCyberware()scripted
protected func OnState_Reload()scripted
protected func OnState_Safe()scripted
protected func OnState_Scanning()scripted
protected func OnState_Sprint()scripted
protected cb func OnUninitialize() -> Boolscripted
public func SetChargeScale(pct: Float)scripted
protected final func ShowCrosshairFromState(show: Bool)scripted
public final func UpdateResourceValue(oldValue: Float, newValue: Float, percToPoints: Float)scripted
public final func UpdateTargetIndicator()scripted