|
Arma Reforger Script API
|
Public Member Functions | |
| void | AllowNotifications (bool allow) |
| Show default notifications upon base capture (setter) | |
| bool | NotificationsAllowed () |
| Show default notifications upon base capture (getter) | |
| void | SetCallsignIndexAutomatic (int index) |
| void | SetCallsignIndex (int index) |
| ScriptInvoker | GetOnRadiusChanged () |
| ScriptInvoker | GetOnServiceRegistered () |
| ScriptInvokerServiceUnregistered | GetOnServiceUnregistered () |
| void | SetCallsign (notnull SCR_Faction faction) |
| int | GetCallsign () |
| int | GetCallsignSignal () |
| void | OnCallsignAssigned () |
| LocalizedString | GetCallsignDisplayNameOnly () |
| LocalizedString | GetCallsignDisplayName () |
| LocalizedString | GetCallsignDisplayNameOnlyUC () |
| LocalizedString | GetCallsignDisplayNameUpperCase () |
| int | GetServices (out array< SCR_ServicePointComponent > services=null) |
| Get all registered systems inherited from SCR_ServicePointComponent. | |
| int | GetServicesByType (out array< SCR_ServicePointComponent > services, SCR_EServicePointType type) |
| SCR_ServicePointComponent | GetServiceByLabel (EEditableEntityLabel label) |
| SCR_ServicePointComponent | GetServiceByType (SCR_EServicePointType type) |
| int | GetServiceDelegates (out array< SCR_ServicePointDelegateComponent > delegates=null) |
| int | GetServiceDelegatesByType (out array< SCR_ServicePointDelegateComponent > delegates, SCR_EServicePointType type) |
| SCR_ServicePointDelegateComponent | GetServiceDelegateByLabel (EEditableEntityLabel label) |
| SCR_ServicePointDelegateComponent | GetServiceDelegateByType (SCR_EServicePointType type) |
| int | GetBuildingProviders (out array< SCR_CampaignBuildingProviderComponent > providers) |
| Get all registered systems inherited from SCR_CampaignBuildingProviderComponent. | |
| int | GetCapturePoints (out array< SCR_SeizingComponent > capturePoints) |
| Get all registered systems inherited from SCR_SeizingComponent. | |
| int | GetFlags (out array< SCR_FlagComponent > flags) |
| Get all registered systems inherited from SCR_FlagComponent. | |
| void | SetRadius (int radius) |
| int | GetRadius () |
| void | SetFaction (Faction faction) |
| void | SetFaction (FactionKey faction) |
| Faction | GetFaction (bool checkDefaultFaction=false) |
| Faction | GetCapturingFaction () |
| void | OnServiceStateChanged (SCR_EServicePointStatus state, notnull SCR_ServicePointComponent serviceComponent) |
| Called every time the status of the registered service has changed. | |
| void | RegisterServiceDelegate (notnull SCR_ServicePointDelegateComponent delegate) |
| void | UnregisterServiceDelegate (notnull SCR_ServicePointDelegateComponent delegate) |
| void | RegisterLogicComponent (notnull SCR_MilitaryBaseLogicComponent component) |
| void | UnregisterLogicComponent (notnull SCR_MilitaryBaseLogicComponent component) |
| void | OnPointCaptured (notnull SCR_Faction faction, notnull SCR_SeizingComponent point) |
| Triggered when a registered SCR_SeizingComponent gets captured. | |
| void | OnPointContested (notnull SCR_Faction faction, notnull SCR_SeizingComponent point) |
| Triggered when a registered SCR_SeizingComponent starts getting captured. | |
| void | OnPointSecured (notnull SCR_Faction faction, notnull SCR_SeizingComponent point) |
| Triggered when a registered SCR_SeizingComponent stops getting captured. | |
| void | OnRequiredPointsCaptured (notnull SCR_Faction faction) |
| Triggered when a the required amount of SCR_SeizingComponents to seize the base is captured. | |
| void | OnCapturingFactionChanged () |
| bool | GetIsEntityPresent (notnull IEntity entity) |
| override void | EOnInit (IEntity owner) |
| override void | OnPostInit (IEntity owner) |
| void | ~SCR_MilitaryBaseComponent () |
Static Public Attributes | |
| static const int | INVALID_BASE_CALLSIGN = -1 |
Protected Member Functions | |
| bool | IsProxy () |
| void | OnPlayerFactionResponse_O (SCR_PlayerFactionAffiliationComponent component, int factionIndex, bool response) |
| void | OnRadiusChanged () |
| void | OnFactionChanged (FactionAffiliationComponent owner, Faction previousFaction, Faction faction) |
| void | ChangeFlags (notnull Faction faction) |
| bool | GetIsLocalPlayerPresent () |
| void | NotifyPlayerInRadius (notnull Faction faction) |
Protected Attributes | |
| int | m_iRadius |
| bool | m_bSeizedByMajority |
| bool | m_bShowNotifications |
| bool | m_bShowMapIcon |
| ENotification | m_eCapturedByFriendliesNotification |
| ENotification | m_eCapturedByEnemiesNotification |
| int | m_iCallsignSignal = INVALID_BASE_CALLSIGN |
| string | m_sCallsign |
| string | m_sCallsignUpper |
| string | m_sCallsignNameOnly |
| string | m_sCallsignNameOnlyUC |
| ref ScriptInvoker | m_OnRadiusChanged |
| ref ScriptInvoker | m_OnServiceRegistered |
| ref ScriptInvokerServiceUnregistered | m_OnServiceUnregistered |
| ref array< SCR_MilitaryBaseLogicComponent > | m_aSystems = {} |
| ref array< SCR_ServicePointDelegateComponent > | m_aServiceDelegates = {} |
| RplComponent | m_RplComponent |
| SCR_FactionAffiliationComponent | m_FactionComponent |
| FactionKey | m_sCapturingFaction |
| int | m_iCallsign = INVALID_BASE_CALLSIGN |
| void SCR_MilitaryBaseComponent.~SCR_MilitaryBaseComponent | ( | ) |
| void SCR_MilitaryBaseComponent.AllowNotifications | ( | bool | allow | ) |
Show default notifications upon base capture (setter)
| [in] | allow |
|
protected |
| override void SCR_MilitaryBaseComponent.EOnInit | ( | IEntity | owner | ) |
Implemented in SCR_CampaignMilitaryBaseComponent.
| int SCR_MilitaryBaseComponent.GetBuildingProviders | ( | out array< SCR_CampaignBuildingProviderComponent > | providers | ) |
Get all registered systems inherited from SCR_CampaignBuildingProviderComponent.
| int SCR_MilitaryBaseComponent.GetCallsign | ( | ) |
| LocalizedString SCR_MilitaryBaseComponent.GetCallsignDisplayName | ( | ) |
| LocalizedString SCR_MilitaryBaseComponent.GetCallsignDisplayNameOnly | ( | ) |
| LocalizedString SCR_MilitaryBaseComponent.GetCallsignDisplayNameOnlyUC | ( | ) |
| LocalizedString SCR_MilitaryBaseComponent.GetCallsignDisplayNameUpperCase | ( | ) |
| int SCR_MilitaryBaseComponent.GetCallsignSignal | ( | ) |
| int SCR_MilitaryBaseComponent.GetCapturePoints | ( | out array< SCR_SeizingComponent > | capturePoints | ) |
Get all registered systems inherited from SCR_SeizingComponent.
| [out] | capturePoints |
| Faction SCR_MilitaryBaseComponent.GetCapturingFaction | ( | ) |
| Faction SCR_MilitaryBaseComponent.GetFaction | ( | bool | checkDefaultFaction = false | ) |
| [in] | checkDefaultFaction |
| int SCR_MilitaryBaseComponent.GetFlags | ( | out array< SCR_FlagComponent > | flags | ) |
| bool SCR_MilitaryBaseComponent.GetIsEntityPresent | ( | notnull IEntity | entity | ) |
| [in] | entity |
|
protected |
| ScriptInvoker SCR_MilitaryBaseComponent.GetOnRadiusChanged | ( | ) |
| ScriptInvoker SCR_MilitaryBaseComponent.GetOnServiceRegistered | ( | ) |
| ScriptInvokerServiceUnregistered SCR_MilitaryBaseComponent.GetOnServiceUnregistered | ( | ) |
| int SCR_MilitaryBaseComponent.GetRadius | ( | ) |
| SCR_ServicePointComponent SCR_MilitaryBaseComponent.GetServiceByLabel | ( | EEditableEntityLabel | label | ) |
| [in] | label |
| SCR_ServicePointComponent SCR_MilitaryBaseComponent.GetServiceByType | ( | SCR_EServicePointType | type | ) |
| [in] | type |
| SCR_ServicePointDelegateComponent SCR_MilitaryBaseComponent.GetServiceDelegateByLabel | ( | EEditableEntityLabel | label | ) |
| [in] | label |
| SCR_ServicePointDelegateComponent SCR_MilitaryBaseComponent.GetServiceDelegateByType | ( | SCR_EServicePointType | type | ) |
| [in] | type |
| int SCR_MilitaryBaseComponent.GetServiceDelegates | ( | out array< SCR_ServicePointDelegateComponent > | delegates = null | ) |
| [out] | delegates |
| int SCR_MilitaryBaseComponent.GetServiceDelegatesByType | ( | out array< SCR_ServicePointDelegateComponent > | delegates, |
| SCR_EServicePointType | type ) |
| [out] | delegates | |
| [in] | type |
| int SCR_MilitaryBaseComponent.GetServices | ( | out array< SCR_ServicePointComponent > | services = null | ) |
Get all registered systems inherited from SCR_ServicePointComponent.
| [out] | services |
| int SCR_MilitaryBaseComponent.GetServicesByType | ( | out array< SCR_ServicePointComponent > | services, |
| SCR_EServicePointType | type ) |
| [out] | services | |
| [in] | type |
|
protected |
| bool SCR_MilitaryBaseComponent.NotificationsAllowed | ( | ) |
Show default notifications upon base capture (getter)
|
protected |
| void SCR_MilitaryBaseComponent.OnCallsignAssigned | ( | ) |
Implemented in SCR_CampaignMilitaryBaseComponent.
| void SCR_MilitaryBaseComponent.OnCapturingFactionChanged | ( | ) |
Implemented in SCR_CampaignMilitaryBaseComponent.
|
protected |
Implemented in SCR_CampaignMilitaryBaseComponent.
|
protected |
| void SCR_MilitaryBaseComponent.OnPointCaptured | ( | notnull SCR_Faction | faction, |
| notnull SCR_SeizingComponent | point ) |
Triggered when a registered SCR_SeizingComponent gets captured.
| [in] | faction | |
| [in] | point |
| void SCR_MilitaryBaseComponent.OnPointContested | ( | notnull SCR_Faction | faction, |
| notnull SCR_SeizingComponent | point ) |
Triggered when a registered SCR_SeizingComponent starts getting captured.
| [in] | faction | |
| [in] | point |
| void SCR_MilitaryBaseComponent.OnPointSecured | ( | notnull SCR_Faction | faction, |
| notnull SCR_SeizingComponent | point ) |
Triggered when a registered SCR_SeizingComponent stops getting captured.
| [in] | faction | |
| [in] | point |
| override void SCR_MilitaryBaseComponent.OnPostInit | ( | IEntity | owner | ) |
Implemented in SCR_CampaignMilitaryBaseComponent.
|
protected |
| void SCR_MilitaryBaseComponent.OnRequiredPointsCaptured | ( | notnull SCR_Faction | faction | ) |
Triggered when a the required amount of SCR_SeizingComponents to seize the base is captured.
| [in] | faction |
| void SCR_MilitaryBaseComponent.OnServiceStateChanged | ( | SCR_EServicePointStatus | state, |
| notnull SCR_ServicePointComponent | serviceComponent ) |
Called every time the status of the registered service has changed.
| [in] | state | |
| [in] | serviceComponent |
Implemented in SCR_CampaignMilitaryBaseComponent.
| void SCR_MilitaryBaseComponent.RegisterLogicComponent | ( | notnull SCR_MilitaryBaseLogicComponent | component | ) |
| [in] | component |
Implemented in SCR_CampaignMilitaryBaseComponent.
| void SCR_MilitaryBaseComponent.RegisterServiceDelegate | ( | notnull SCR_ServicePointDelegateComponent | delegate | ) |
| [in] | delegate |
| void SCR_MilitaryBaseComponent.SetCallsign | ( | notnull SCR_Faction | faction | ) |
| [in] | faction |
Implemented in SCR_CampaignMilitaryBaseComponent.
| void SCR_MilitaryBaseComponent.SetCallsignIndex | ( | int | index | ) |
| [in] | index |
| void SCR_MilitaryBaseComponent.SetCallsignIndexAutomatic | ( | int | index | ) |
| [in] | index |
Implemented in SCR_CampaignMilitaryBaseComponent.
| void SCR_MilitaryBaseComponent.SetFaction | ( | Faction | faction | ) |
| [in] | faction |
| void SCR_MilitaryBaseComponent.SetFaction | ( | FactionKey | faction | ) |
| [in] | faction |
| void SCR_MilitaryBaseComponent.SetRadius | ( | int | radius | ) |
| [in] | radius |
| void SCR_MilitaryBaseComponent.UnregisterLogicComponent | ( | notnull SCR_MilitaryBaseLogicComponent | component | ) |
| [in] | component |
| void SCR_MilitaryBaseComponent.UnregisterServiceDelegate | ( | notnull SCR_ServicePointDelegateComponent | delegate | ) |
| [in] | delegate |
|
static |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |