REDNODE / GAME API

NpcNameplateGameController

classnative name gameuiNpcNameplateGameControllernative

extends inkProjectedHUDGameController › inkHUDGameController › inkGameController › worlduiIGameController › inkIGameController › IScriptable › ISerializable

Properties 40

NameTypeFlags
attitudeEAIAttitudescriptedprivate
bbHighLevelStateIDref<CallbackHandle>scriptedprivate
bbNameplateDataref<CallbackHandle>scriptedprivate
bbNPCNamesEnabledIDref<CallbackHandle>scriptedprivate
bufferedCharacterNamePlateRecordref<UINameplate_Record>scriptedprivate
bufferedGameObjectwref<GameObject>scriptedprivate
bufferedPuppetHideNameTagBoolscriptedprivate
c_DisplayRangeFloatscriptedprivate
c_DisplayRangeNotAggressiveFloatscriptedprivate
c_MaxDisplayRangeFloatscriptedprivate
c_MaxDisplayRangeNotAggressiveFloatscriptedprivate
cachedMappinControllersarray<wref<BaseMappinBaseController>>scriptedprivate
chattersSlotinkWidgetRefscriptedprivate
currentHealthInt32scriptedprivate
damagePreviewBlackboardIDref<CallbackHandle>scriptedprivate
displayNameinkWidgetRefscriptedprivate
interfaceOptionsBlackboardwref<IBlackboard>scriptedprivate
isNewNPCBoolscriptedprivate
isScanningBoolscriptedprivate
mappinSlotinkWidgetRefscriptedprivate
maximumHealthInt32scriptedprivate
nameplateProjectionref<inkScreenProjection>scriptedprivate
nameplateProjectionCloseDistanceref<inkScreenProjection>scriptedprivate
nameplateProjectionDeviceref<inkScreenProjection>scriptedprivate
nameplateProjectionDeviceCloseDistanceref<inkScreenProjection>scriptedprivate
nextDistanceCheckTimeFloatscriptedprivate
playerAimStatusBlackboardIDref<CallbackHandle>scriptedprivate
playerCombatBlackboardIDref<CallbackHandle>scriptedprivate
playerZonesBlackboardIDref<CallbackHandle>scriptedprivate
projectioninkWidgetRefoverriding
rootWidgetwref<inkCompoundWidget>scriptedprivate
UI_NameplateDataDefref<UI_NameplateDataDef>scriptedpublic
uiBlackboardInteractionswref<IBlackboard>scriptedprivate
uiBlackboardNameplateBlackboardwref<IBlackboard>scriptedprivate
uiBlackboardTargetNPCwref<IBlackboard>scriptedprivate
VisionStateBlackboardIdref<CallbackHandle>scriptedprivate
visualControllerwref<NameplateVisualsLogicController>scriptedprivate
visualControllerNeedsMappinsUpdateBoolscriptedprivate
zoomFloatscriptedprivate
ZoomStateBlackboardIdref<CallbackHandle>scriptedprivate

Methods 35

native func ClearSlottedWidgets()
private final func ComputeTopMargin(marginClosest: Float, marginFurthest: Float) -> Floatscripted
protected final func EnableUpdates(enable: Bool)scripted
private final func GetDistanceToEntity(entity: ref<Entity>) -> Floatscripted
private final func GetHUDManager() -> ref<HUDManager>scripted
native func GetNameplateVisible() -> Bool
private final func HelperCheckDistance(entity: ref<Entity>) -> Boolscripted
native func IsWidgetSlotted(widget: wref<inkWidget>) -> Bool
protected cb func OnAimStatusChange(value: Int32) -> Boolscripted
protected cb func OnDamagePreview(value: Int32) -> Boolscripted
protected cb func OnInitialize() -> Boolscripted
protected cb func OnIsEnabledChange(val: Int32) -> Boolscripted
protected cb func OnMappinsUpdated(mappinControllers: array<wref<BaseMappinBaseController>>) -> Boolscripted
protected cb func OnNameplateDataChanged(value: Variant) -> Boolscripted
protected cb func OnNPCNamesEnabledChanged(value: Bool) -> Boolscripted
protected cb func OnPlayerAttach(playerGameObject: ref<GameObject>) -> Boolscripted
protected cb func OnPlayerCombatChange(value: Int32) -> Boolscripted
protected cb func OnPlayerDetach(playerGameObject: ref<GameObject>) -> Boolscripted
protected cb func OnScreenProjectionUpdate(projections: ref<gameuiScreenProjectionsData>) -> Boolscripted
protected cb func OnUninitialize() -> Boolscripted
protected cb func OnZoneChange(value: Int32) -> Boolscripted
protected cb func OnZoomChanged(value: Float) -> Boolscripted
protected final func RegisterPSMListeners(playerPuppet: ref<GameObject>)scripted
protected final func ResolveSlotAttachment()scripted
private final func SetMainVisible(visible: Bool)scripted
private final func SetNameplateOwnerID(visible: Bool)scripted
private final func SetNameplateProjectionEntity(entity: ref<Entity>)scripted
native func SetNameplateVisible(visible: Bool)
native func SetSlottedWidgets(widgetsToSlot: array<ref<inkWidget>>, newParentWidger: wref<inkWidget>)
native func SlotWidget(widgetToSlot: wref<inkWidget>, newParentWidget: wref<inkWidget>, opt index: Int32)
protected final func UnregisterPSMListeners(playerPuppet: ref<GameObject>)scripted
native func UnslotWidget(widgetToUnslot: wref<inkWidget>)
public final func UpdateHealthbarColor(isHostile: Bool)scripted
private final func UpdateSlotAttachment(mappinControllers: script_ref<array<wref<BaseMappinBaseController>>>)scripted
private final func UpdateVisualControllerState(mappinControllers: script_ref<array<wref<BaseMappinBaseController>>>)scripted