Arma Reforger Script API
|
Markers UI map component. More...
Public Member Functions | |
ScriptInvokerBase< MarkerPlacedInvoker > | GetOnCustomMarkerPlaced () |
override void | OnMapOpen (MapConfiguration config) |
SCR_MapEntity event. | |
override void | OnMapClose (MapConfiguration config) |
SCR_MapEntity event. | |
override void | Init () |
Init method for cases where all modules and components should be loaded already so constructor cannot be used, called once after creation. | |
override void | Update (float timeSlice) |
Update method for frame operations. | |
Public Member Functions inherited from SCR_MapUIBaseComponent | |
bool | IsConfigDisabled () |
void | SetActive (bool active, bool isCleanup=false) |
Enable open/close events, called every time component is activated, usually on map open. | |
void | Init () |
Init method for cases where all modules and components should be loaded already so constructor cannot be used, called once after creation. | |
void | Update (float timeSlice) |
Update method for frame operations. | |
bool | IsToolMenuFocused () |
void | SCR_MapUIBaseComponent () |
Static Public Member Functions | |
static bool | IsOwnedMarker (notnull SCR_MapMarkerBase marker) |
Check whether the marker is owned by the local player. | |
Protected Member Functions | |
void | CreateMarkerEditDialog (bool isEditing=false, int tabID=0, int selectedIconEntry=-1, int selectedColorEntry=-1) |
Create custom marker dialog. | |
void | CreateMilitaryMarkerEditDialog (bool isEditing=false, int selectedFactionEntry=-1, int selectedDimensionEntry=-1) |
void | FocusWidget (Widget widget) |
void | InitFactionIcons (int selectedFactionEntry) |
Init faction icons. | |
void | InitDimensionIcons () |
Init dimension icons. | |
void | InitColorIcons (int selectedColorEntry) |
Init color icons. | |
void | InitCategoryIcons (SCR_TabViewContent tabContent) |
Init icons by category. | |
void | CreateStaticMarkers () |
Create static markers. | |
void | CreateDynamicMarkers () |
Create dynamic markers. | |
void | RemoveMarkerMenu () |
void | RemoveOwnedMarker (SCR_MapMarkerBase marker) |
Attemt to remove marker, only works if owned. | |
void | CleanupMarkerEditWidget () |
Marker edit widget removal. | |
SocialComponent | GetSocialComponent () |
void | OnTabChanged (SCR_TabViewComponent tabView, Widget widget, int index) |
SCR_TabViewComponent event. | |
void | OnFactionEntryClicked (SCR_ButtonBaseComponent component) |
SCR_ButtonImageComponent event. | |
void | OnFactionEntryFocused (Widget rootW) |
SCR_ButtonImageComponent event. | |
void | OnDimensionEntryClicked (SCR_ButtonBaseComponent component) |
SCR_ButtonImageComponent event. | |
void | OnDimensionEntryFocused (Widget rootW) |
SCR_ButtonImageComponent event. | |
void | OnColorEntryClicked (SCR_ButtonBaseComponent component) |
SCR_ButtonImageComponent event. | |
void | OnColorEntryFocused (Widget rootW) |
SCR_ButtonImageComponent event. | |
void | OnIconEntryClicked (notnull SCR_ButtonBaseComponent component) |
SCR_ButtonImageComponent event. | |
void | OnIconEntryFocused (Widget rootW) |
SCR_ButtonImageComponent event. | |
void | OnEditBoxTextChanged (string text) |
SCR_EditBoxComponent event. | |
void | OnSliderChanged (SCR_SliderComponent slider, float value) |
SCR_SliderComponent event. | |
void | OnComboBoxChangedA (SCR_ComboBoxComponent comp, int value) |
SCR_ComboBoxComponent event. | |
void | OnComboBoxChangedB (SCR_ComboBoxComponent comp, int value) |
SCR_ComboBoxComponent event. | |
void | OnPlaceMarkerConfirmed (SCR_InputButtonComponent button) |
SCR_ButtonTextComponent event. | |
void | OnPlaceMarkerConfirmedPrivate (SCR_InputButtonComponent button) |
SCR_ButtonTextComponent event. | |
void | OnEditCancelled (SCR_InputButtonComponent button) |
SCR_ButtonTextComponent event. | |
void | OnInsertMarker (bool isLocal) |
void | OnRadialMenuInit () |
SCR_MapRadialUI event. | |
void | OnRadialMenuOpen (SCR_RadialMenuController controller) |
SCR_RadialMenuController event. | |
void | OnEntryPerformed (SCR_SelectionMenuEntry entry) |
SCR_MapMarkerMenuEntry event. | |
void | OnInputQuickMarkerMenu (float value, EActionTrigger reason) |
Quick open input for marker category. | |
void | OnInputMarkerDelete (float value, EActionTrigger reason) |
Marker delete quickbind. | |
void | OnInputMapSelect (float value, EActionTrigger reason) |
Marker select. | |
void | OnInputMenuConfirm (float value, EActionTrigger reason) |
Menu select/confirm bind. | |
void | OnInputMenuConfirmAlter (float value, EActionTrigger reason) |
Menu alternative confirm bind. | |
void | OnInputMenuBack (float value, EActionTrigger reason) |
Menu back/escape bind. | |
void | OnInputMenuDown (float value, EActionTrigger reason) |
void | OnInputMenuUp (float value, EActionTrigger reason) |
void | OnInputMenuLeft (float value, EActionTrigger reason) |
void | OnInputMenuRight (float value, EActionTrigger reason) |
void | OnDragWidget (Widget widget) |
SCR_MapToolInteractionUI event. | |
void | OnDragEnd (Widget widget, bool wasDragged) |
SCR_MapToolInteractionUI event. | |
void | OnMapOpen (MapConfiguration config) |
SCR_MapEntity event. | |
void | OnMapClose (MapConfiguration config) |
SCR_MapEntity event. | |
Static Protected Attributes | |
const int | USERID_EDITBOX = 1000 |
const int | USERID_EDITBOX_MIL = 1001 |
const string | ICON_ENTRY = "IconEntry" |
const string | COLOR_ENTRY = "ColorEntry" |
const string | ICON_SELECTOR = "IconSelector" |
const string | COLOR_SELECTOR = "ColorSelector" |
const ResourceName | SELECTOR_LINE = "{CF8EC7A0D310A8D9}UI/layouts/Map/MapColorSelectorLine.layout" |
Markers UI map component.
|
protected |
Marker edit widget removal.
|
protected |
Create dynamic markers.
|
protected |
Create custom marker dialog.
tabID | is ID of selected tabWidget tab, if not set first is default |
selectedIconEntry | is ID of selected icon, if not set first is default |
|
protected |
|
protected |
Create static markers.
|
protected |
ScriptInvokerBase< MarkerPlacedInvoker > SCR_MapMarkersUI.GetOnCustomMarkerPlaced | ( | ) |
|
protected |
override void SCR_MapMarkersUI.Init | ( | ) |
Init method for cases where all modules and components should be loaded already so constructor cannot be used, called once after creation.
Implements SCR_MapUIBaseComponent.
|
protected |
Init icons by category.
|
protected |
Init color icons.
|
protected |
Init dimension icons.
|
protected |
Init faction icons.
|
static |
Check whether the marker is owned by the local player.
|
protected |
SCR_ButtonImageComponent event.
|
protected |
SCR_ButtonImageComponent event.
|
protected |
SCR_ComboBoxComponent event.
|
protected |
SCR_ComboBoxComponent event.
|
protected |
SCR_ButtonImageComponent event.
|
protected |
SCR_ButtonImageComponent event.
|
protected |
SCR_MapToolInteractionUI event.
|
protected |
SCR_MapToolInteractionUI event.
|
protected |
SCR_EditBoxComponent event.
|
protected |
SCR_ButtonTextComponent event.
|
protected |
SCR_MapMarkerMenuEntry event.
|
protected |
SCR_ButtonImageComponent event.
|
protected |
SCR_ButtonImageComponent event.
|
protected |
SCR_ButtonImageComponent event.
|
protected |
SCR_ButtonImageComponent event.
|
protected |
Marker select.
|
protected |
Marker delete quickbind.
|
protected |
Menu back/escape bind.
|
protected |
Menu select/confirm bind.
|
protected |
Menu alternative confirm bind.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
Quick open input for marker category.
|
protected |
override void SCR_MapMarkersUI.OnMapClose | ( | MapConfiguration | config | ) |
override void SCR_MapMarkersUI.OnMapOpen | ( | MapConfiguration | config | ) |
|
protected |
SCR_ButtonTextComponent event.
|
protected |
SCR_ButtonTextComponent event.
|
protected |
SCR_MapRadialUI event.
|
protected |
SCR_RadialMenuController event.
|
protected |
SCR_SliderComponent event.
|
protected |
SCR_TabViewComponent event.
|
protected |
|
protected |
Attemt to remove marker, only works if owned.
override void SCR_MapMarkersUI.Update | ( | float | timeSlice | ) |
Update method for frame operations.
Implements SCR_MapUIBaseComponent.
|
protected |
|
protected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
staticprotected |
|
staticprotected |
|
staticprotected |