Arma Reforger Script API
|
Public Member Functions | |
ScriptInvoker | GetOnMapIconEnter () |
ScriptInvoker | GetOnMapIconClick () |
override bool | OnClick (Widget w, int x, int y, int button) |
override void | SelectIcon (bool invoke=true) |
void | FlashBaseIcon (Faction faction=null, bool changeToDefault=false) |
override bool | OnMouseEnter (Widget w, int x, int y) |
override bool | OnMouseLeave (Widget w, Widget enterW, int x, int y) |
override void | AnimExpand () |
override void | AnimCollapse () |
void | ShowServiceHint (string name, string text, bool show, int suppliesAmount=-1, int suppliesMax=-1) |
override void | HandlerAttached (Widget w) |
void | OnMapCloseInvoker (MapConfiguration config) |
void | RemoveHint () |
override void | HandlerDeattached (Widget w) |
void | SetIconInfoText () |
void | InitServices () |
void | UpdateBaseIcon (int id) |
void | InitBase (SCR_CampaignMilitaryBaseComponent base) |
void | InitMobile (SCR_CampaignMobileAssemblyStandaloneComponent assembly) |
void | ChangeBaseIconSize () |
void | SetLocalTaskIcon (SCR_BaseTask task=null) |
override void | ShowName (bool visible) |
override vector | GetPos () |
void | ChangeNameSize (bool visible) |
void | ChangeNameSizeOnLayerChange (int layer) |
string | GetFactionKey () |
Color | GetFactionColor () |
SCR_CampaignMilitaryBaseComponent | GetBase () |
void | SetBaseIconFactionColor (Faction faction) |
override void | SetImage (string image) |
override RplId | GetSpawnPointId () |
void | SetAntennaIconVisible (bool visible) |
void | ~SCR_CampaignMapUIBase () |
override void | HandlerAttached (Widget w) |
override bool | OnMouseEnter (Widget w, int x, int y) |
override void | SetImage (string image) |
Public Member Functions inherited from SCR_MapUIElement | |
override void | HandlerAttached (Widget w) |
void | SetParent (SCR_MapUIElementContainer parent) |
string | GetName () |
bool | GetIconVisible () |
void | ShowName (bool visible) |
void | SetVisible (bool visible) |
Widget | GetRoot () |
override bool | OnClick (Widget w, int x, int y, int button) |
void | SelectIcon (bool invoke=true) |
void | Select (bool select=true) |
vector | GetPos () |
Color | GetColorForFaction (string factionKey) |
RplId | GetSpawnPointId () |
void | SetName (string name) |
Public Member Functions inherited from SCR_ScriptedWidgetComponent | |
override void | HandlerAttached (Widget w) |
override bool | OnClick (Widget w, int x, int y, int button) |
Widget | GetRootWidget () |
bool | IsVisible () |
Public Attributes | |
bool | m_bHighlighted |
bool | m_bIsAnyElementHovered |
bool | m_bIsAnyElementClicked |
Public Attributes inherited from SCR_MapUIElement | |
ref Color | m_UnknownFactionColor |
Public Attributes inherited from SCR_ScriptedWidgetComponent | |
ref ScriptInvoker | m_OnClick = new ScriptInvoker |
Static Public Attributes | |
static ref ScriptInvoker | Event_OnIconUpdated = new ScriptInvoker() |
Protected Member Functions | |
void | SelectBase () |
void | OnLeave () |
void | FocusOnBase (SCR_SpawnPoint sp) |
void | OnSelected (SCR_SpawnPoint sp) |
void | ShowServices (bool show) |
void | ShowBase (bool show) |
void | UpdateIconAndText () |
void | InitBaseIcon () |
void | UpdateResources () |
void | UpdateAssemblyIcon () |
void | SetIconFaction (Faction faction) |
void | SetBaseImage () |
void | OnMapClose (MapConfiguration config) |
void | SetIconName (string name) |
void | CheckIfCanRespawn () |
void | SetBaseType (SCR_ECampaignBaseType type) |
void | SetBaseServices (SCR_CampaignMilitaryBaseComponent base) |
Protected Member Functions inherited from SCR_MapUIElement | |
void | AnimExpand () |
void | AnimCollapse () |
void | PlayHoverSound (string sound) |
void | SetImage (string image) |
Static Protected Attributes | |
static const float | OPACITY_DISABLED = 0.5 |
static const float | OPACITY_UNSELECTED = 0.9 |
static Widget | m_wServiceHint |
Static Protected Attributes inherited from SCR_MapUIElement | |
static SCR_MapUIElement | s_SelectedElement |
const float | ANIM_SPEED = 20 |
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. | |
void SCR_CampaignMapUIBase.~SCR_CampaignMapUIBase | ( | ) |
override void SCR_CampaignMapUIBase.AnimCollapse | ( | ) |
Implements SCR_MapUIElement.
override void SCR_CampaignMapUIBase.AnimExpand | ( | ) |
Implements SCR_MapUIElement.
void SCR_CampaignMapUIBase.ChangeBaseIconSize | ( | ) |
void SCR_CampaignMapUIBase.ChangeNameSize | ( | bool | visible | ) |
[in] | visible |
void SCR_CampaignMapUIBase.ChangeNameSizeOnLayerChange | ( | int | layer | ) |
[in] | layer |
|
protected |
void SCR_CampaignMapUIBase.FlashBaseIcon | ( | Faction | faction = null , |
bool | changeToDefault = false |
||
) |
[in] | faction | |
[in] | changeToDefault |
|
protected |
SCR_CampaignMilitaryBaseComponent SCR_CampaignMapUIBase.GetBase | ( | ) |
Color SCR_CampaignMapUIBase.GetFactionColor | ( | ) |
string SCR_CampaignMapUIBase.GetFactionKey | ( | ) |
ScriptInvoker SCR_CampaignMapUIBase.GetOnMapIconClick | ( | ) |
ScriptInvoker SCR_CampaignMapUIBase.GetOnMapIconEnter | ( | ) |
override vector SCR_CampaignMapUIBase.GetPos | ( | ) |
Implements SCR_MapUIElement.
override RplId SCR_CampaignMapUIBase.GetSpawnPointId | ( | ) |
Implements SCR_MapUIElement.
override void SCR_CampaignMapUIBase.HandlerAttached | ( | Widget | w | ) |
Implements SCR_CampaignMapUIElement.
override void SCR_CampaignMapUIBase.HandlerDeattached | ( | Widget | w | ) |
void SCR_CampaignMapUIBase.InitBase | ( | SCR_CampaignMilitaryBaseComponent | base | ) |
[in] | base |
|
protected |
void SCR_CampaignMapUIBase.InitMobile | ( | SCR_CampaignMobileAssemblyStandaloneComponent | assembly | ) |
[in] | assembly |
void SCR_CampaignMapUIBase.InitServices | ( | ) |
override bool SCR_CampaignMapUIBase.OnClick | ( | Widget | w, |
int | x, | ||
int | y, | ||
int | button | ||
) |
Implements SCR_MapUIElement.
|
protected |
|
protected |
void SCR_CampaignMapUIBase.OnMapCloseInvoker | ( | MapConfiguration | config | ) |
[in] | config |
override bool SCR_CampaignMapUIBase.OnMouseEnter | ( | Widget | w, |
int | x, | ||
int | y | ||
) |
Implements SCR_CampaignMapUIElement.
override bool SCR_CampaignMapUIBase.OnMouseLeave | ( | Widget | w, |
Widget | enterW, | ||
int | x, | ||
int | y | ||
) |
|
protected |
void SCR_CampaignMapUIBase.RemoveHint | ( | ) |
|
protected |
override void SCR_CampaignMapUIBase.SelectIcon | ( | bool | invoke = true | ) |
Implements SCR_MapUIElement.
void SCR_CampaignMapUIBase.SetAntennaIconVisible | ( | bool | visible | ) |
[in] | visible |
void SCR_CampaignMapUIBase.SetBaseIconFactionColor | ( | Faction | faction | ) |
[in] | faction |
|
protected |
|
protected |
|
protected |
|
protected |
void SCR_CampaignMapUIBase.SetIconInfoText | ( | ) |
|
protected |
override void SCR_CampaignMapUIBase.SetImage | ( | string | image | ) |
Implements SCR_CampaignMapUIElement.
void SCR_CampaignMapUIBase.SetLocalTaskIcon | ( | SCR_BaseTask | task = null | ) |
[in] | task |
|
protected |
override void SCR_CampaignMapUIBase.ShowName | ( | bool | visible | ) |
Implements SCR_MapUIElement.
void SCR_CampaignMapUIBase.ShowServiceHint | ( | string | name, |
string | text, | ||
bool | show, | ||
int | suppliesAmount = -1 , |
||
int | suppliesMax = -1 |
||
) |
[in] | name | |
[in] | text | |
[in] | show | |
[in] | suppliesAmount | |
[in] | suppliesMax |
|
protected |
|
protected |
void SCR_CampaignMapUIBase.UpdateBaseIcon | ( | int | id | ) |
[in] | id |
|
protected |
|
protected |
|
static |
|
protected |
|
protected |
|
protected |
bool SCR_CampaignMapUIBase.m_bHighlighted |
bool SCR_CampaignMapUIBase.m_bIsAnyElementClicked |
bool SCR_CampaignMapUIBase.m_bIsAnyElementHovered |
|
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 |
|
protected |
|
staticprotected |
|
staticprotected |