Arma Reforger Script API
|
Public Member Functions | |
override void | DisplayStartDraw (IEntity owner) |
override void | DisplayUpdate (IEntity owner, float timeSlice) |
bool | ShowInspectCasualtyWidget (IEntity targetCharacter) |
Start showing the widget. | |
void | UpdateTarget () |
Check if target is still alive and update widget if so. | |
void | UpdateWidgetData () |
Gather and update data of target character into widget. | |
void | UpdateWidget () |
Update widget position and opacity. | |
void | GetDamageInfo (SCR_InventoryHitZonePointUI hitZonePointUI, IEntity targetEntity, inout float bleedingRate, inout array< bool > hZGroupsBleeding, inout int damageIntensity, inout bool regenerating, inout bool isTourniquetted, inout bool isSalineBagged, inout bool isMorphined) |
void | GetCasualtyName (inout string sName, IEntity targetCharacter) |
void | SetTarget (IEntity target) |
bool | IsActive () |
void | DisableWidget () |
void | EnableWidget () |
override void | DisplayOnResumed () |
Public Member Functions inherited from SCR_InfoDisplayExtended | |
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. | |
Public Member Functions inherited from SCR_InfoDisplay | |
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 () |
Public Member Functions inherited from GroupInfoDisplay | |
proto external int | GetInfoDisplays (out notnull array< BaseInfoDisplay > outInfoDisplays) |
Public Member Functions inherited from BaseInfoDisplay | |
proto external GenericComponent | FindComponentInParentContainer (TypeName typeName) |
Public Attributes | |
IEntity | m_Target |
Public Attributes inherited from SCR_InfoDisplay | |
ResourceName | m_LayoutPath |
EHudLayers | m_eLayer |
int | m_iOverrideZOrder |
Static Public Attributes | |
const ResourceName | INSPECT_CASUALTY_LAYOUT = "{11AC7D61FD4CF3F6}UI/layouts/Damage/InspectCasualtyMenu.layout" |
Protected Member Functions | |
override 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. | |
Protected Member Functions inherited from SCR_InfoDisplayExtended | |
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 () |
Protected Member Functions inherited from SCR_InfoDisplay | |
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) |
Static Protected Attributes | |
const float | UPDATE_FREQ = 0.5 |
const float | MAX_SHOW_DURATION = 5 |
const string | TARGET_BONE = "Spine4" |
void SCR_InspectCasualtyWidget.DisableWidget | ( | ) |
override void SCR_InspectCasualtyWidget.DisplayOnResumed | ( | ) |
Implements SCR_InfoDisplayExtended.
|
protected |
Called when GUI is temporarily suspended due to visibility flags; e.g. GM entered and GUI marked as not to show in GM.
Implements SCR_InfoDisplayExtended.
override void SCR_InspectCasualtyWidget.DisplayStartDraw | ( | IEntity | owner | ) |
Implements SCR_InfoDisplayExtended.
override void SCR_InspectCasualtyWidget.DisplayUpdate | ( | IEntity | owner, |
float | timeSlice | ||
) |
Implements SCR_InfoDisplayExtended.
void SCR_InspectCasualtyWidget.EnableWidget | ( | ) |
void SCR_InspectCasualtyWidget.GetCasualtyName | ( | inout string | sName, |
IEntity | targetCharacter | ||
) |
void SCR_InspectCasualtyWidget.GetDamageInfo | ( | SCR_InventoryHitZonePointUI | hitZonePointUI, |
IEntity | targetEntity, | ||
inout float | bleedingRate, | ||
inout array< bool > | hZGroupsBleeding, | ||
inout int | damageIntensity, | ||
inout bool | regenerating, | ||
inout bool | isTourniquetted, | ||
inout bool | isSalineBagged, | ||
inout bool | isMorphined | ||
) |
bool SCR_InspectCasualtyWidget.IsActive | ( | ) |
void SCR_InspectCasualtyWidget.SetTarget | ( | IEntity | target | ) |
bool SCR_InspectCasualtyWidget.ShowInspectCasualtyWidget | ( | IEntity | targetCharacter | ) |
Start showing the widget.
void SCR_InspectCasualtyWidget.UpdateTarget | ( | ) |
Check if target is still alive and update widget if so.
void SCR_InspectCasualtyWidget.UpdateWidget | ( | ) |
Update widget position and opacity.
void SCR_InspectCasualtyWidget.UpdateWidgetData | ( | ) |
Gather and update data of target character into widget.
|
static |
|
protected |
|
protected |
|
protected |
|
protected |
IEntity SCR_InspectCasualtyWidget.m_Target |
|
protected |
|
staticprotected |
|
staticprotected |
|
staticprotected |