NpcNameplateGameController class
game.ui.NpcNameplateGameController
Inheritance
Base: game.ui.ProjectedHUDGameController
Derived
None.
Properties
| Property | Type | |
|---|---|---|
projection | ink.WidgetReference | |
displayName | ink.WidgetReference | scripted |
mappinSlot | ink.WidgetReference | scripted |
chattersSlot | ink.WidgetReference | scripted |
rootWidget | WeakHandle<ink.CompoundWidget> | scripted |
visualController | WeakHandle<NameplateVisualsLogicController> | scripted |
cachedMappinControllers | WeakHandle<game.ui.MappinBaseController>[] | scripted |
visualControllerNeedsMappinsUpdate | bool | scripted |
nameplateProjection | ink.ScreenProjection? | scripted |
nameplateProjectionCloseDistance | ink.ScreenProjection? | scripted |
nameplateProjectionDevice | ink.ScreenProjection? | scripted |
nameplateProjectionDeviceCloseDistance | ink.ScreenProjection? | scripted |
bufferedGameObject | WeakHandle<game.Object> | scripted |
bufferedPuppetHideNameTag | bool | scripted |
bufferedCharacterNamePlateRecord | game.data.UINameplate_Record? | scripted |
isScanning | bool | scripted |
isNewNPC | bool | scripted |
attitude | EAIAttitude | scripted |
UI_NameplateDataDef | UI_NameplateDataDef? | scripted |
zoom | float | scripted |
currentHealth | int | scripted |
maximumHealth | int | scripted |
c_DisplayRange | float | scripted |
c_MaxDisplayRange | float | scripted |
c_MaxDisplayRangeNotAggressive | float | scripted |
c_DisplayRangeNotAggressive | float | scripted |
bbNameplateData | red.CallbackObject? | scripted |
bbHighLevelStateID | red.CallbackObject? | scripted |
bbNPCNamesEnabledID | red.CallbackObject? | scripted |
VisionStateBlackboardId | red.CallbackObject? | scripted |
ZoomStateBlackboardId | red.CallbackObject? | scripted |
playerZonesBlackboardID | red.CallbackObject? | scripted |
playerCombatBlackboardID | red.CallbackObject? | scripted |
playerAimStatusBlackboardID | red.CallbackObject? | scripted |
damagePreviewBlackboardID | red.CallbackObject? | scripted |
uiBlackboardTargetNPC | WeakHandle<game.IBlackboard> | scripted |
uiBlackboardInteractions | WeakHandle<game.IBlackboard> | scripted |
interfaceOptionsBlackboard | WeakHandle<game.IBlackboard> | scripted |
uiBlackboardNameplateBlackboard | WeakHandle<game.IBlackboard> | scripted |
nextDistanceCheckTime | float | scripted |
Functions
bool GetNameplateVisible()RTTIvoid SetNameplateVisible(bool visible)RTTIvoid SlotWidget(WeakHandle<ink.Widget> widgetToSlot, WeakHandle<ink.Widget> newParentWidget, int? index)RTTIvoid UnslotWidget(WeakHandle<ink.Widget> widgetToUnslot)RTTIbool IsWidgetSlotted(WeakHandle<ink.Widget> widget)RTTIvoid SetSlottedWidgets(ink.Widget[] widgetsToSlot, WeakHandle<ink.Widget> newParentWidger)RTTIvoid ClearSlottedWidgets()RTTIbool OnInitialize()RTTIvoid RegisterPSMListeners(game.Object playerPuppet)RTTIvoid EnableUpdates(bool enable)RTTIvoid UnregisterPSMListeners(game.Object playerPuppet)RTTIbool OnUninitialize()RTTIbool OnPlayerAttach(game.Object playerGameObject)RTTIbool OnPlayerDetach(game.Object playerGameObject)RTTIbool OnScreenProjectionUpdate(game.ui.ScreenProjectionsData projections)RTTIbool OnZoomChanged(float value)RTTIbool OnNameplateDataChanged(string value)RTTIbool OnIsEnabledChange(int val)RTTIbool OnZoneChange(int value)RTTIbool OnAimStatusChange(int value)RTTIbool OnPlayerCombatChange(int value)RTTIbool OnDamagePreview(int value)RTTIbool OnNPCNamesEnabledChanged(bool value)RTTIvoid UpdateHealthbarColor(bool isHostile)RTTIbool OnMappinsUpdated(WeakHandle<game.ui.MappinBaseController>[] mappinControllers)RTTIvoid ResolveSlotAttachment()RTTIvoid UpdateVisualControllerState(WeakHandle<game.ui.MappinBaseController>[] mappinControllers)RTTIvoid UpdateSlotAttachment(WeakHandle<game.ui.MappinBaseController>[] mappinControllers)RTTIvoid SetMainVisible(bool visible)RTTIvoid SetNameplateOwnerID(bool visible)RTTIHUDManager? GetHUDManager()RTTIfloat GetDistanceToEntity(ent.Entity entity)RTTIbool HelperCheckDistance(ent.Entity entity)RTTIvoid SetNameplateProjectionEntity(ent.Entity entity)RTTIfloat ComputeTopMargin(float marginClosest, float marginFurthest)RTTI