|
SCR_NameTagData | GetEntityNameTag (IEntity ent) |
| Retrieve nametag from entity map.
|
|
void | OnNewVehicleOccupant (IEntity vehicle, SCR_NameTagData occupant) |
|
void | OnLeaveVehicleOccupant (IEntity vehicle, SCR_NameTagData occupant) |
|
void | UpdateTagElements (SCR_NameTagData data) |
| Update all elements of the requested tag.
|
|
void | CleanupTag (notnull SCR_NameTagData data, bool removeFromArray=true) |
| Unregister events and move to unitialized tag pool.
|
|
void | CleanupAllTags () |
| Unregister events of all tags and move to unitialized tag pool.
|
|
void | StopUpdate () |
| Stop updating nametags.
|
|
override void | DisplayUpdate (IEntity owner, float timeSlice) |
|
override bool | DisplayStartDrawInit (IEntity owner) |
|
override void | DisplayStartDraw (IEntity owner) |
|
override void | DisplayControlledEntityChanged (IEntity from, IEntity to) |
| Reinit curent player tag after new entity is controlled.
|
|
override void | DisplayStopDraw (IEntity owner) |
|
void | SetEnabled (bool isEnabled) |
|
override void | Show (bool show, float speed=UIConstants.FADE_RATE_INSTANT, EAnimationCurve curve=EAnimationCurve.LINEAR) |
| Show/hide InfoDisplay properly, not breaking other systems like AdaptiveOpacity or ConditionalVisibility.
|
|
SCR_InfoDisplayHandler | GetHandler (TypeName handlerType) |
|
SCR_InfoDisplayInvoker | GetOnStart () |
|
SCR_InfoDisplayInvoker | GetOnStop () |
|
IEntity | GetOwnerEntity () |
|
Widget | GetContentWidget () |
|
string | GetContentWidgetName () |
|
void | SetRootWidget (notnull Widget root) |
|
void | SetContentWidget (notnull Widget content) |
|
void | Show (bool show, float speed=UIConstants.FADE_RATE_INSTANT, EAnimationCurve curve=EAnimationCurve.LINEAR) |
| Show/hide InfoDisplay properly, not breaking other systems like AdaptiveOpacity or ConditionalVisibility.
|
|
bool | IsShown () |
|
Widget | GetRootWidget () |
|
bool | GetDimensions (out float width, out float height, bool addSafezones=true) |
| Get width and height of the InfoDisplay element, optionally with safezones adjustments.
|
|
bool | GetAnchorPosition (out float x, out float y, EWidgetAnchor anchor=EWidgetAnchor.TOPLEFT, bool addSafezones=true) |
| Get width and height of the InfoDisplay element, optionally with safezones adjustments.
|
|
void | RegisterToHudManager () |
|
proto external int | GetInfoDisplays (out notnull array< BaseInfoDisplay > outInfoDisplays) |
|
proto external GenericComponent | FindComponentInParentContainer (TypeName typeName) |
|
|
void | OnControllableDestroyed (notnull SCR_InstigatorContextData instigatorContextData) |
| SCR_GameModeBase event.
|
|
void | OnControllableDeleted (IEntity entity) |
| SCR_GameModeBase event.
|
|
void | OnGroupJoined (SCR_AIGroup group, int playerID) |
|
void | OnGroupLeft (SCR_AIGroup group, int playerID) |
|
void | Update (float timeSlice) |
| Decide which entities should have their nametags drawn.
|
|
bool | IsFactionFriendly (IEntity entity) |
| Check if entity is faction friendly to current players faction.
|
|
void | AdjustRange (bool adjust, float FOVZoomed) |
| Adjust zone range based on zoom.
|
|
void | InitNameTags () |
| Basic initialization of invokers.
|
|
void | ProcessFiltered () |
| Process newly gathered entities.
|
|
void | InitializeTag (IEntity entity, bool friendlyOnly=true) |
| Initialize name tag contex instance.
|
|
void | CreateTagWidget (ENameTagEntityType type=0) |
| Create widget for nametag.
|
|
void | CleanupDisplay (bool destroyWidgets) |
| Clear all tags and their widgets.
|
|
void | UpdateDebug () |
| Debug.
|
|
bool | DisplayStartDrawInit (IEntity owner) |
|
void | DisplayStartDraw (IEntity owner) |
|
void | DisplayStopDraw (IEntity owner) |
|
void | DisplayInit (IEntity owner) |
|
void | DisplayUpdate (IEntity owner, float timeSlice) |
|
void | DisplayControlledEntityChanged (IEntity from, IEntity to) |
|
void | DisplayConsciousnessChanged (bool conscious, bool init=false) |
|
void | DisplayOnSuspended () |
| Called when GUI is temporarily suspended due to visibility flags; e.g. GM entered and GUI marked as not to show in GM.
|
|
void | DisplayOnResumed () |
|
void | InitializeInterfaceSettings () |
|
void | OnSettingsChanged () |
|
void | OnShownFinished (Widget w, float targetOpacity, WidgetAnimationOpacity anim=null) |
|
override void | OnStartDraw (IEntity owner) |
|
void | AdaptiveOpacity_Update (float opacity, float sceneBrightness, bool init=false) |
|
override void | OnStopDraw (IEntity owner) |
|
override void | UpdateValues (IEntity owner, float timeSlice) |
|
override void | OnInit (IEntity owner) |
|
void | OnInit (IEntity owner) |
|
void | UpdateValues (IEntity owner, float timeSlice) |
|
void | OnStartDraw (IEntity owner) |
|
void | OnStopDraw (IEntity owner) |
|
Nametag UI Attached to SCR_HUDManagerComponent which is a component of SCR_PlayerController.