Arma Reforger Script API
|
Component to manage visualisation of individual entity widget. More...
Public Member Functions | |
void | OnRefresh (SCR_EditableEntityBaseSlotUIComponent slot) |
Method called when the widget is updsted from the entity. | |
void | OnInit (SCR_EditableEntityComponent entity, SCR_UIInfo info, SCR_EditableEntityBaseSlotUIComponent slot) |
Method called when the widget is initialised. | |
void | OnShownOffScreen (bool offScreen) |
Method called the icon moves from on-screen to off-screen and vice versa. | |
void | Init (SCR_EditableEntityComponent entity, SCR_EditableEntityBaseSlotUIComponent slot) |
Initialise entity widget using editable entity. | |
sealed void | Init (SCR_UIInfo info, SCR_EditableEntityBaseSlotUIComponent slot) |
Initialise entity widget using UI info. | |
void | Exit (SCR_EditableEntityBaseSlotUIComponent slot) |
Terminate entity widget. | |
SCR_EditableEntityComponent | GetEntity () |
Widget | GetWidget () |
bool | IsVisible () |
void | SetVisible (bool visible) |
Set visibility of the widget. | |
bool | IsShownOffScreen () |
Check if the icon is supposed to be shown on screen borders when its position is off-screen. | |
override void | HandlerAttached (Widget w) |
Protected Attributes | |
SCR_EditableEntityComponent | m_Entity |
Component to manage visualisation of individual entity widget.
void SCR_BaseEditableEntityUIComponent.Exit | ( | SCR_EditableEntityBaseSlotUIComponent | slot | ) |
Terminate entity widget.
[in] | slot |
SCR_EditableEntityComponent SCR_BaseEditableEntityUIComponent.GetEntity | ( | ) |
Widget SCR_BaseEditableEntityUIComponent.GetWidget | ( | ) |
override void SCR_BaseEditableEntityUIComponent.HandlerAttached | ( | Widget | w | ) |
void SCR_BaseEditableEntityUIComponent.Init | ( | SCR_EditableEntityComponent | entity, |
SCR_EditableEntityBaseSlotUIComponent | slot | ||
) |
Initialise entity widget using editable entity.
[in] | entity | Editable entity which the widget represents |
[in] | slot | Slot in which the icon was created |
sealed void SCR_BaseEditableEntityUIComponent.Init | ( | SCR_UIInfo | info, |
SCR_EditableEntityBaseSlotUIComponent | slot | ||
) |
Initialise entity widget using UI info.
[in] | info | UI info representing an entity |
[in] | slot | Slot in which the icon was created |
bool SCR_BaseEditableEntityUIComponent.IsShownOffScreen | ( | ) |
Check if the icon is supposed to be shown on screen borders when its position is off-screen.
bool SCR_BaseEditableEntityUIComponent.IsVisible | ( | ) |
void SCR_BaseEditableEntityUIComponent.OnInit | ( | SCR_EditableEntityComponent | entity, |
SCR_UIInfo | info, | ||
SCR_EditableEntityBaseSlotUIComponent | slot | ||
) |
Method called when the widget is initialised.
[in] | entity | Editable entity |
[in] | slot | Slot to which this widget is attached to |
Implemented in SCR_HighlightedEditorUIComponent, SCR_CharacterEditableEntityUIComponent, SCR_CommentEditableEntityUIComponent, SCR_CustomArrayEditableEntityUIComponent, SCR_CustomEditableEntityUIComponent, SCR_GroupEditableEntityUIComponent, SCR_LayerEditableEntityUIComponent, SCR_PlayerEditableEntityUIComponent, and SCR_VehicleEditableEntityUIComponent.
void SCR_BaseEditableEntityUIComponent.OnRefresh | ( | SCR_EditableEntityBaseSlotUIComponent | slot | ) |
Method called when the widget is updsted from the entity.
[in] | slot | Slot to which this widget is attached to |
Implemented in SCR_GroupEditableEntityUIComponent, and SCR_VehicleEditableEntityUIComponent.
void SCR_BaseEditableEntityUIComponent.OnShownOffScreen | ( | bool | offScreen | ) |
Method called the icon moves from on-screen to off-screen and vice versa.
[in] | offScreen | True when off-screen |
Implemented in SCR_PlayerEditableEntityUIComponent.
void SCR_BaseEditableEntityUIComponent.SetVisible | ( | bool | visible | ) |
Set visibility of the widget.
[in] | visible | True if visible |
|
protected |