Arma Reforger Script API
|
Temporary drawing substitute so the protractor can be utilized properly. More...
Public Member Functions | |
bool | IsUsingGamepad () |
void | UpdateLineCount () |
override void | OnMapOpen (MapConfiguration config) |
SCR_MapEntity event. | |
override void | OnMapClose (MapConfiguration config) |
SCR_MapEntity event. | |
override void | Update (float timeSlice) |
Update method for frame operations. | |
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. | |
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 () |
Public Attributes | |
bool | m_bActivationThrottle |
bool | m_bIsLineBeingDrawn |
int | m_iLinesDrawn |
Protected Member Functions | |
void | ToggleDrawMode () |
Toggle draw mode. | |
void | SetDrawMode (bool state, bool cacheDrawn=false) |
Start/stop draw mode. | |
void | OnMapClick (float value, EActionTrigger reason) |
void | OnMapModifierClick (float value, EActionTrigger reason) |
Callback method that is used to cancel line drawing and remove line that wasnt finished. | |
void | OnMapPan (float x, float y, bool adjustedPan) |
SCR_MapEntity event. | |
void | OnMapPanEnd (float x, float y) |
SCR_MapEntity event. | |
void | OnEntryToggled (SCR_MapToolEntry entry) |
SCR_MapToolEntry event. | |
void | OnInputQuickBind (float value, EActionTrigger reason) |
void | OnMapOpen (MapConfiguration config) |
SCR_MapEntity event. | |
void | OnMapClose (MapConfiguration config) |
SCR_MapEntity event. | |
Protected Attributes | |
string | m_sToolMenuIconName |
int | m_iLineCount |
bool | m_bIsDrawModeActive |
int | m_iLineID |
Widget | m_wDrawingContainer |
SCR_MapCursorModule | m_CursorModule |
SCR_MapToolEntry | m_ToolMenuEntry |
ref array< ref MapLine > | m_aLines = new array <ref MapLine>() |
Protected Attributes inherited from SCR_MapUIBaseComponent | |
bool | m_bDisableComponent |
bool | m_bHookToRoot = false |
Widget | m_RootWidget |
SCR_MapEntity | m_MapEntity |
Temporary drawing substitute so the protractor can be utilized properly.
override void SCR_MapDrawingUI.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.
bool SCR_MapDrawingUI.IsUsingGamepad | ( | ) |
|
protected |
SCR_MapToolEntry event.
[in] | entry |
|
protected |
|
protected |
override void SCR_MapDrawingUI.OnMapClose | ( | MapConfiguration | config | ) |
|
protected |
Callback method that is used to cancel line drawing and remove line that wasnt finished.
[in] | value | |
[in] | reason |
override void SCR_MapDrawingUI.OnMapOpen | ( | MapConfiguration | config | ) |
|
protected |
SCR_MapEntity event.
[in] | x | |
[in] | y | |
[in] | adjustedPan |
|
protected |
SCR_MapEntity event.
[in] | x | |
[in] | y |
|
protected |
Start/stop draw mode.
[in] | state | |
[in] | cacheDrawn |
|
protected |
Toggle draw mode.
override void SCR_MapDrawingUI.Update | ( | float | timeSlice | ) |
Update method for frame operations.
Implements SCR_MapUIBaseComponent.
void SCR_MapDrawingUI.UpdateLineCount | ( | ) |
bool SCR_MapDrawingUI.m_bActivationThrottle |
|
protected |
bool SCR_MapDrawingUI.m_bIsLineBeingDrawn |
|
protected |
|
protected |
|
protected |
int SCR_MapDrawingUI.m_iLinesDrawn |
|
protected |
|
protected |
|
protected |