![]() |
Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
|
Nametag data. More...
Protected Member Functions | |
| void | UpdatePriorityEntityState () |
| Update the highest priority entity state (as ordered in enum). | |
| void | ActivateEntityState (ENameTagEntityState state) |
| void | DeactivateEntityState (ENameTagEntityState state) |
| void | SetVisibility (Widget widget, bool visible, float visibleOpacity, bool animate=true) |
| void | ResizeElement (Widget widget, float targetVal) |
| Resize nametag element. | |
| void | UpdateEntityType () |
| Determine type of nametag entity. | |
| void | GetName (out string name, out notnull array< string > nameParams) |
| BaseCompartmentSlot | GetVehicleCompartment () |
| void | SetTagPosition (ENameTagPosition pos, bool gradualChange=true) |
| void | SetGroup (SCR_AIGroup group) |
| Set group state if it matches with current player group. | |
| void | CheckAISubordinate (IEntity entity) |
| Set AI_SUBORDINATE if it falls under current players command. | |
| void | AddAsVehicleOccupant (IEntity vehicle, BaseCompartmentSlot slot, ENameTagFlags flag) |
| Add this tag as occupant to a vehicle tag. | |
| void | RemoveVehicleOccupant (IEntity vehicle) |
| Remove this tag as occupant to a vehicle tag. | |
| void | OnVehicleEntered (IEntity vehicle, BaseCompartmentManagerComponent manager, int mgrID, int slotID) |
| SCR_CompartmentAccessComponent event. | |
| void | OnVehicleLeft (IEntity vehicle, BaseCompartmentManagerComponent manager, int mgrID, int slotID) |
| SCR_CompartmentAccessComponent event. | |
| void | OnReceivedVON (int playerId, BaseTransceiver receiver, int frequency, float quality) |
| VoNComponent event, only used for "Current player" tag. | |
| void | OnLifeStateChanged (ECharacterLifeState previousLifeState, ECharacterLifeState newLifeState) |
| SCR_CharacterController event. | |
| void | OnFactionChanged (FactionAffiliationComponent owner, Faction previousFaction, Faction newFaction) |
| SCR_CharacterFactionAffiliationComponent callback. | |
| void | Cleanup (bool removeFromArray=true) |
| bool | UpdateEntityStateFlags () |
| void | UpdateTagPos () |
| Update tag position. | |
| void | InitDefaults () |
| Init default tag data. | |
| void | InitData (SCR_NameTagConfig config) |
| Init configurable data. | |
| bool | InitTag (SCR_NameTagDisplay display, IEntity entity, SCR_NameTagConfig config, bool IsCurrentPlayer=false) |
| void | ResetTag () |
| Uninitialize class when its being moved to unused tags in order to be reused. | |
| void | SCR_NameTagData (ResourceName layout, Widget rootWidget) |
| void | ~SCR_NameTagData () |
Protected Attributes | |
| SCR_NameTagDisplay | m_NTDisplay |
| BaseCompartmentSlot | m_VehicleCompartment |
| SCR_GroupsManagerComponent | m_GroupManager |
| SCR_PossessingManagerComponent | m_PossessingManager |
| float | m_fDeadEntitiesCleanup |
| float | m_fTagFadeSpeed |
| ref Widget | m_aNametagElements [10] |
Nametag data.
Definition at line 56 of file SCR_NameTagData.c.
|
inlineprotected |
Definition at line 733 of file SCR_NameTagData.c.
|
inlineprotected |
Definition at line 744 of file SCR_NameTagData.c.
|
inlineprotected |
Add entity state flag
| state | is the flag to be added |
Definition at line 138 of file SCR_NameTagData.c.
|
inlineprotected |
Add this tag as occupant to a vehicle tag.
Definition at line 396 of file SCR_NameTagData.c.
|
inlineprotected |
Set AI_SUBORDINATE if it falls under current players command.
Definition at line 372 of file SCR_NameTagData.c.
Cleanup
| removeFromArray | determines whether the tag is removed from main array, this is not desired when entrire array is being cleaned up |
Definition at line 506 of file SCR_NameTagData.c.
|
inlineprotected |
Remove ENameTagEntityState flag
| state | is the flag to be removed |
Definition at line 170 of file SCR_NameTagData.c.
|
inlineprotected |
Get/update nametag name
| [out] | name | Name or formatting of name |
| [out] | names | If uses formating: Firstname, Alias and Surname (Alias can be an empty string) |
Definition at line 277 of file SCR_NameTagData.c.
|
inlineprotected |
Definition at line 308 of file SCR_NameTagData.c.
|
inlineprotected |
Init configurable data.
Definition at line 617 of file SCR_NameTagData.c.
|
inlineprotected |
Init default tag data.
Definition at line 593 of file SCR_NameTagData.c.
|
inlineprotected |
Init nametag data class, the widget is held and reused, data has to be reinitialized
| display | is nametag info display |
| entity | is nametag subject |
Definition at line 660 of file SCR_NameTagData.c.
|
inlineprotected |
SCR_CharacterFactionAffiliationComponent callback.
Definition at line 494 of file SCR_NameTagData.c.
|
inlineprotected |
SCR_CharacterController event.
Definition at line 484 of file SCR_NameTagData.c.
|
inlineprotected |
VoNComponent event, only used for "Current player" tag.
Definition at line 469 of file SCR_NameTagData.c.
|
inlineprotected |
SCR_CompartmentAccessComponent event.
Definition at line 414 of file SCR_NameTagData.c.
|
inlineprotected |
SCR_CompartmentAccessComponent event.
Definition at line 443 of file SCR_NameTagData.c.
|
inlineprotected |
Remove this tag as occupant to a vehicle tag.
Definition at line 405 of file SCR_NameTagData.c.
|
inlineprotected |
Uninitialize class when its being moved to unused tags in order to be reused.
Definition at line 701 of file SCR_NameTagData.c.
Resize nametag element.
Definition at line 223 of file SCR_NameTagData.c.
|
inlineprotected |
Set group state if it matches with current player group.
Definition at line 329 of file SCR_NameTagData.c.
|
inlineprotected |
Set what is the nametag position attached to
| pos | is the new tag position |
| gradualChange | controls whether the position change will be instant (false) or gradually lerped |
Definition at line 317 of file SCR_NameTagData.c.
|
inlineprotected |
Set visibility of nametag widget
| widget | is the target widget |
| visible | controls whether the widget should be made visible or invisible |
| animate | controls if the widget should fade in/out |
Definition at line 187 of file SCR_NameTagData.c.
|
inlineprotected |
Initial check of active states for JIP /return false if invalid/should be cleaned up
Definition at line 521 of file SCR_NameTagData.c.
|
inlineprotected |
Determine type of nametag entity.
Definition at line 231 of file SCR_NameTagData.c.
|
inlineprotected |
Update the highest priority entity state (as ordered in enum).
Definition at line 112 of file SCR_NameTagData.c.
|
inlineprotected |
Update tag position.
Definition at line 566 of file SCR_NameTagData.c.
|
protected |
Definition at line 109 of file SCR_NameTagData.c.
|
protected |
Definition at line 105 of file SCR_NameTagData.c.
|
protected |
Definition at line 106 of file SCR_NameTagData.c.
|
protected |
Definition at line 101 of file SCR_NameTagData.c.
|
protected |
Definition at line 99 of file SCR_NameTagData.c.
|
protected |
Definition at line 102 of file SCR_NameTagData.c.
|
protected |
Definition at line 100 of file SCR_NameTagData.c.