Arma Reforger Script API
|
Public Member Functions | |
void | InitMobileAssembly (string factionKey, bool deployed) |
void | RemoveSpawnPositionHint () |
Called to hide Spawn Position hint if player is killed (or his entity disappear for some reason) | |
void | OnMapZoom (float pixelPerUnit) |
override void | OnMapOpen (MapConfiguration config) |
SCR_MapEntity event. | |
override void | OnMapClose (MapConfiguration config) |
SCR_MapEntity event. | |
void | ~SCR_MapCampaignUI () |
Public Member Functions inherited from SCR_MapUIElementContainer | |
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 | OnMapOpen (MapConfiguration config) |
SCR_MapEntity event. | |
override void | OnMapClose (MapConfiguration config) |
SCR_MapEntity event. | |
void | OnMapPan (float panX, float panY, bool adjustedPan) |
void | RemoveIcon (SCR_MapUIElement icon) |
void | OnSpawnPointSelectedExt (RplId id) |
void | OnElementSelected (notnull SCR_MapUIElement element) |
void | OnSpawnPointSelected (RplId spId=RplId.Invalid()) |
SCR_MapUISpawnPoint | FindSpawnPoint (RplId id) |
ScriptInvoker | GetOnSpawnPointSelected () |
ScriptInvoker | GetOnElementSelected () |
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 () |
Protected Attributes | |
ResourceName | m_sBaseElement |
ResourceName | m_sServiceHint |
ResourceName | m_sSpawnPositionHint |
Widget | m_wMobileAssembly |
Protected Attributes inherited from SCR_MapUIElementContainer | |
string | m_sIconsContainer |
Widget | m_wIconsContainer |
ResourceName | m_sSpawnPointElement |
ResourceName | m_sTaskElement |
ResourceName | m_sWarningWidget |
Widget | m_wWarningWidget |
bool | m_bShowSpawnPointsHint |
bool | m_bShowSpawnPoints |
bool | m_bShowTasks |
bool | m_bIsEditor |
bool | m_bIsDeployMap |
ref map< Widget, SCR_MapUIElement > | m_mIcons = new map<Widget, SCR_MapUIElement>() |
SCR_PlayerFactionAffiliationComponent | m_PlyFactionAffilComp |
SCR_PlayerControllerGroupComponent | m_PlyGroupComp |
SCR_BaseGameMode | m_GameMode |
ref ScriptInvoker< SCR_MapUIElement > | m_OnElementSelected |
ref ScriptInvoker< RplId > | m_OnSpawnPointSelected |
Protected Attributes inherited from SCR_MapUIBaseComponent | |
bool | m_bDisableComponent |
bool | m_bHookToRoot = false |
Widget | m_RootWidget |
SCR_MapEntity | m_MapEntity |
void SCR_MapCampaignUI.~SCR_MapCampaignUI | ( | ) |
|
protected |
|
protected |
|
protected |
void SCR_MapCampaignUI.InitMobileAssembly | ( | string | factionKey, |
bool | deployed | ||
) |
override void SCR_MapCampaignUI.OnMapClose | ( | MapConfiguration | config | ) |
override void SCR_MapCampaignUI.OnMapOpen | ( | MapConfiguration | config | ) |
void SCR_MapCampaignUI.OnMapZoom | ( | float | pixelPerUnit | ) |
|
protected |
Implements SCR_MapUIElementContainer.
void SCR_MapCampaignUI.RemoveSpawnPositionHint | ( | ) |
Called to hide Spawn Position hint if player is killed (or his entity disappear for some reason)
|
protected |
Implements SCR_MapUIElementContainer.
|
protected |
|
protected |
|
protected |
|
protected |