|
Arma Reforger Script API
|
Public Member Functions | |
| override void | OnInit (SCR_EditableEntityComponent entity, SCR_UIInfo info, SCR_EditableEntityBaseSlotUIComponent slot) |
| Method called when the widget is initialised. | |
| void | OnEntityChanged (SCR_CompositionSlotManagerComponent slotManager, IEntity slot) |
Public Member Functions inherited from SCR_BaseEditableEntityUIComponent | |
| void | OnRefresh (SCR_EditableEntityBaseSlotUIComponent slot) |
| Method called when the widget is updsted from the entity. | |
| 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. | |
| 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_ContentBrowserEditorComponent | m_ContentBrowserComponent |
| Widget | m_wExtendedIcon |
Protected Attributes inherited from SCR_BaseEditableEntityUIComponent | |
| SCR_EditableEntityComponent | m_Entity |
Static Protected Attributes | |
| static const string | WIDGET_TEXT = "Text" |
| static const string | WIDGET_ICON = "Icon" |
| static const string | WIDGET_EXTENDED_ICON = "Icon_ExtendablePrefabs" |
| void SCR_CommentEditableEntityUIComponent.OnEntityChanged | ( | SCR_CompositionSlotManagerComponent | slotManager, |
| IEntity | slot ) |
| [in] | slotManager | |
| [in] | slot |
| override void SCR_CommentEditableEntityUIComponent.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 |
Implements SCR_BaseEditableEntityUIComponent.
|
protected |
|
protected |
|
staticprotected |
|
staticprotected |
|
staticprotected |