|
Arma Reforger Script API
|
Map marker layout component Attached to root of marker base layout. More...
Public Member Functions | |
| void | SetMarkerObject (notnull SCR_MapMarkerBase marker) |
| void | SetLayerID (int id) |
| void | SetRotation (float angle) |
| void | SetImage (ResourceName icon, string quad, float aspectRatio=1) |
| Supports custom aspect ratio in case of non standard size imagesets. | |
| void | SetGlowImage (ResourceName icon, string quad) |
| void | SetMilitarySymbolMode (bool state) |
| Set visual mode for military symbol which is constructed through additional component. | |
| void | SetEventListening (bool state) |
| void | UpdateMilitarySymbol (SCR_MilitarySymbol milSymbol) |
| void | SetText (string text, bool skipProfanityFilter=false) |
| void | SetTextVisible (bool state) |
| void | SetTypeIcon (int type, string text) |
| Not synched secondary text. | |
| void | SetTypeIconsVisible (bool state) |
| void | SetAuthor (string text) |
| void | SetAuthorVisible (bool state) |
| void | SetModeIcon (bool state, bool isPublic) |
| void | SetColor (Color color) |
| ImageWidget | GetAuthorPlatformIcon () |
| void | SetTimestamp (WorldTimestamp timestamp) |
| void | SetTimestampVisibility (bool isVisible) |
| void | UpdateTimestamp (WorldTimestamp timestamp) |
| override bool | OnMouseEnter (Widget w, int x, int y) |
| override bool | OnMouseLeave (Widget w, Widget enterW, int x, int y) |
| override bool | OnFocus (Widget w, int x, int y) |
| override bool | OnFocusLost (Widget w, int x, int y) |
| override void | HandlerAttached (Widget w) |
| override void | HandlerDeattached (Widget w) |
Public Member Functions inherited from SCR_ScriptedWidgetComponent | |
| override bool | OnClick (Widget w, int x, int y, int button) |
| Widget | GetRootWidget () |
| bool | IsVisible () |
Protected Member Functions | |
| void | OnFilteredCallback (array< string > text) |
| void | UpdateCachedTimestamp () |
| void | OnMapClose (MapConfiguration config) |
Protected Attributes | |
| bool | m_bIsEventListening |
| in milliseconds | |
| bool | m_bIsSymbolMode |
| bool | m_bIsOwnerMode |
| int | m_iLayerID |
| WorldTimestamp | m_Timestamp |
| bool | m_bIsTimestampVisible |
| ImageWidget | m_wMarkerIcon |
| ImageWidget | m_wMarkerGlowIcon |
| ImageWidget | m_wMarkerModeIcon |
| ImageWidget | m_wAuthorPlatformIcon |
| TextWidget | m_wMarkerText |
| TextWidget | m_wMarkerAuthor |
| TextWidget | m_wTypeIcon1 |
| TextWidget | m_wTypeIcon2 |
| TextWidget | m_wTypeIcon3 |
| Widget | m_wSymbolRoot |
| Widget | m_wSymbolOverlay |
| Widget | m_wTypeIconRoot |
| Widget | m_wTypeOverlay1 |
| Widget | m_wTypeOverlay2 |
| Widget | m_wTypeOverlay3 |
| TextWidget | m_wMarkerTimestamp |
| ref Color | m_GlowDefault = Color.FromSRGBA(21, 29, 32, 155) |
| ref Color | m_GlowSelected = Color.FromSRGBA(226, 168, 79, 155) |
| ref Color | m_TextColor = new Color(0.0, 0.0, 0.0, 1.0) |
| ref Color | m_CurrentImageColor = new Color(0.0, 0.0, 0.0, 1.0) |
| SCR_MapMarkerBase | m_MarkerObject |
| SCR_MapMarkerManagerComponent | m_MapMarkerManager |
Protected Attributes inherited from SCR_ScriptedWidgetComponent | |
| Widget | m_wRoot |
Static Protected Attributes | |
| const string | PRIVATE_QUAD = "private" |
| const string | PUBLIC_QUAD = "public" |
| const string | AUTHOR_NAME_FORMAT = "[%1]" |
| const int | UPDATE_TIMESTAMP_INTERVAL = 10000 |
Additional Inherited Members | |
Static Public Member Functions inherited from SCR_ScriptedWidgetComponent | |
| static SCR_ScriptedWidgetComponent | GetComponent (TypeName componentType, string name, Widget parent, bool searchAllChildren=true) |
| Base method for component lookup through the widget library. | |
Public Attributes inherited from SCR_ScriptedWidgetComponent | |
| ref ScriptInvoker | m_OnClick = new ScriptInvoker |
Map marker layout component Attached to root of marker base layout.
| ImageWidget SCR_MapMarkerWidgetComponent.GetAuthorPlatformIcon | ( | ) |
| override void SCR_MapMarkerWidgetComponent.HandlerAttached | ( | Widget | w | ) |
Implements SCR_ScriptedWidgetComponent.
| override void SCR_MapMarkerWidgetComponent.HandlerDeattached | ( | Widget | w | ) |
|
protected |
| override bool SCR_MapMarkerWidgetComponent.OnFocus | ( | Widget | w, |
| int | x, | ||
| int | y ) |
| override bool SCR_MapMarkerWidgetComponent.OnFocusLost | ( | Widget | w, |
| int | x, | ||
| int | y ) |
|
protected |
| override bool SCR_MapMarkerWidgetComponent.OnMouseEnter | ( | Widget | w, |
| int | x, | ||
| int | y ) |
| override bool SCR_MapMarkerWidgetComponent.OnMouseLeave | ( | Widget | w, |
| Widget | enterW, | ||
| int | x, | ||
| int | y ) |
| void SCR_MapMarkerWidgetComponent.SetAuthor | ( | string | text | ) |
| [in] | text |
| void SCR_MapMarkerWidgetComponent.SetAuthorVisible | ( | bool | state | ) |
| [in] | state |
| void SCR_MapMarkerWidgetComponent.SetColor | ( | Color | color | ) |
| [in] | color |
| void SCR_MapMarkerWidgetComponent.SetEventListening | ( | bool | state | ) |
| [in] | state |
| void SCR_MapMarkerWidgetComponent.SetGlowImage | ( | ResourceName | icon, |
| string | quad ) |
| [in] | icon | |
| [in] | quad |
| void SCR_MapMarkerWidgetComponent.SetImage | ( | ResourceName | icon, |
| string | quad, | ||
| float | aspectRatio = 1 ) |
Supports custom aspect ratio in case of non standard size imagesets.
| [in] | icon | |
| [in] | quad | |
| [in] | aspectRatio |
| void SCR_MapMarkerWidgetComponent.SetLayerID | ( | int | id | ) |
| [in] | id |
| void SCR_MapMarkerWidgetComponent.SetMarkerObject | ( | notnull SCR_MapMarkerBase | marker | ) |
| [in] | marker |
| void SCR_MapMarkerWidgetComponent.SetMilitarySymbolMode | ( | bool | state | ) |
Set visual mode for military symbol which is constructed through additional component.
| [in] | state |
| void SCR_MapMarkerWidgetComponent.SetModeIcon | ( | bool | state, |
| bool | isPublic ) |
| [in] | state | |
| [in] | isPublic |
| void SCR_MapMarkerWidgetComponent.SetRotation | ( | float | angle | ) |
| [in] | angle |
| void SCR_MapMarkerWidgetComponent.SetText | ( | string | text, |
| bool | skipProfanityFilter = false ) |
| [in] | text | |
| [in] | skipProfanityFilter | determines whether the marker text should be checked for profanity |
| void SCR_MapMarkerWidgetComponent.SetTextVisible | ( | bool | state | ) |
| [in] | state |
| void SCR_MapMarkerWidgetComponent.SetTimestamp | ( | WorldTimestamp | timestamp | ) |
| [in] | timestamp |
| void SCR_MapMarkerWidgetComponent.SetTimestampVisibility | ( | bool | isVisible | ) |
| void SCR_MapMarkerWidgetComponent.SetTypeIcon | ( | int | type, |
| string | text ) |
Not synched secondary text.
| void SCR_MapMarkerWidgetComponent.SetTypeIconsVisible | ( | bool | state | ) |
| [in] | state |
|
protected |
| void SCR_MapMarkerWidgetComponent.UpdateMilitarySymbol | ( | SCR_MilitarySymbol | milSymbol | ) |
| [in] | milSymbol |
| void SCR_MapMarkerWidgetComponent.UpdateTimestamp | ( | WorldTimestamp | timestamp | ) |
| [in] | timestamp |
|
staticprotected |
|
protected |
in milliseconds
|
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 |