Arma Reforger Explorer
1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
|
Go to the source code of this file.
Data Structures | |
class | SCR_MilitaryBaseComponentClass |
Typedefs | |
typedef func | ScriptInvokerServiceUnregisteredMethod |
typedef ScriptInvokerBase< ScriptInvokerServiceUnregisteredMethod > | ScriptInvokerServiceUnregistered |
Functions | |
void | ScriptInvokerServiceUnregisteredMethod (SCR_MilitaryBaseComponent militaryBaseComponent, SCR_ServicePointComponent serviceComponent) |
SCR_MilitaryBaseComponentClass ScriptComponentClass | Attribute ("100") |
SCR_MilitaryBaseComponentClass ScriptComponentClass | RplProp (onRplName:"OnRadiusChanged") |
protected bool | IsProxy () |
void | AllowNotifications (bool allow) |
bool | NotificationsAllowed () |
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 () |
protected void | OnPlayerFactionResponse_O (SCR_PlayerFactionAffiliationComponent component, int factionIndex, bool response) |
LocalizedString | GetCallsignDisplayNameOnly () |
LocalizedString | GetCallsignDisplayName () |
LocalizedString | GetCallsignDisplayNameOnlyUC () |
LocalizedString | GetCallsignDisplayNameUpperCase () |
int | GetServices (out array< SCR_ServicePointComponent > services=null) |
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. More... | |
int | GetCapturePoints (out array< SCR_SeizingComponent > capturePoints) |
int | GetFlags (out array< SCR_FlagComponent > flags) |
void | SetRadius (int radius) |
protected void | OnRadiusChanged () |
int | GetRadius () |
void | SetFaction (Faction faction) |
void | SetFaction (FactionKey faction) |
protected void | OnFactionChanged (FactionAffiliationComponent owner, Faction previousFaction, Faction faction) |
Event which is triggered when the owning faction changes. More... | |
Faction | GetFaction (bool checkDefaultFaction=false) |
Faction | GetCapturingFaction () |
void | OnServiceStateChanged (SCR_EServicePointStatus state, notnull SCR_ServicePointComponent serviceComponent) |
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) |
void | OnPointContested (notnull SCR_Faction faction, notnull SCR_SeizingComponent point) |
void | OnPointSecured (notnull SCR_Faction faction, notnull SCR_SeizingComponent point) |
void | OnRequiredPointsCaptured (notnull SCR_Faction faction) |
void | OnCapturingFactionChanged () |
protected void | ChangeFlags (notnull Faction faction) |
protected bool | GetIsLocalPlayerPresent () |
bool | GetIsEntityPresent (notnull IEntity entity) |
protected void | NotifyPlayerInRadius (notnull Faction faction) |
override void | EOnInit (IEntity owner) |
override void | OnPostInit (IEntity owner) |
Called on PostInit when all components are added. More... | |
void | ~SCR_MilitaryBaseComponent () |
Variables | |
protected ref array< SCR_ServicePointDelegateComponent > | m_aServiceDelegates = {} |
protected RplComponent | m_RplComponent |
protected SCR_FactionAffiliationComponent | m_FactionComponent |
protected FactionKey | m_sCapturingFaction |
protected int | m_iCallsign = INVALID_BASE_CALLSIGN |
typedef ScriptInvokerBase<ScriptInvokerServiceUnregisteredMethod> ScriptInvokerServiceUnregistered |
Definition at line 3 of file SCR_MilitaryBaseComponent.c.
Definition at line 2 of file SCR_MilitaryBaseComponent.c.
void AllowNotifications | ( | bool | allow | ) |
Show default notifications upon base capture (setter)
[in] | allow |
Definition at line 63 of file SCR_MilitaryBaseComponent.c.
SCR_MilitaryBaseComponentClass ScriptComponentClass Attribute | ( | "100" | ) |
protected void ChangeFlags | ( | notnull Faction | faction | ) |
Definition at line 758 of file SCR_MilitaryBaseComponent.c.
int GetBuildingProviders | ( | out array< SCR_CampaignBuildingProviderComponent > | providers | ) |
Get all registered systems inherited from SCR_CampaignBuildingProviderComponent.
Definition at line 377 of file SCR_MilitaryBaseComponent.c.
int GetCallsign | ( | ) |
Definition at line 140 of file SCR_MilitaryBaseComponent.c.
LocalizedString GetCallsignDisplayName | ( | ) |
Definition at line 205 of file SCR_MilitaryBaseComponent.c.
LocalizedString GetCallsignDisplayNameOnly | ( | ) |
Definition at line 198 of file SCR_MilitaryBaseComponent.c.
LocalizedString GetCallsignDisplayNameOnlyUC | ( | ) |
Definition at line 212 of file SCR_MilitaryBaseComponent.c.
LocalizedString GetCallsignDisplayNameUpperCase | ( | ) |
Definition at line 219 of file SCR_MilitaryBaseComponent.c.
int GetCallsignSignal | ( | ) |
Definition at line 147 of file SCR_MilitaryBaseComponent.c.
int GetCapturePoints | ( | out array< SCR_SeizingComponent > | capturePoints | ) |
Get all registered systems inherited from SCR_SeizingComponent
[out] | capturePoints |
Definition at line 404 of file SCR_MilitaryBaseComponent.c.
Faction GetCapturingFaction | ( | ) |
Definition at line 556 of file SCR_MilitaryBaseComponent.c.
Faction GetFaction | ( | bool | checkDefaultFaction = false | ) |
[in] | checkDefaultFaction |
Definition at line 541 of file SCR_MilitaryBaseComponent.c.
int GetFlags | ( | out array< SCR_FlagComponent > | flags | ) |
Get all registered systems inherited from SCR_FlagComponent
[out] | flags |
Definition at line 428 of file SCR_MilitaryBaseComponent.c.
bool GetIsEntityPresent | ( | notnull IEntity | entity | ) |
protected bool GetIsLocalPlayerPresent | ( | ) |
Definition at line 775 of file SCR_MilitaryBaseComponent.c.
ScriptInvoker GetOnRadiusChanged | ( | ) |
Definition at line 92 of file SCR_MilitaryBaseComponent.c.
ScriptInvoker GetOnServiceRegistered | ( | ) |
Definition at line 102 of file SCR_MilitaryBaseComponent.c.
ScriptInvokerServiceUnregistered GetOnServiceUnregistered | ( | ) |
Definition at line 112 of file SCR_MilitaryBaseComponent.c.
int GetRadius | ( | ) |
Definition at line 479 of file SCR_MilitaryBaseComponent.c.
SCR_ServicePointComponent GetServiceByLabel | ( | EEditableEntityLabel | label | ) |
SCR_ServicePointComponent GetServiceByType | ( | SCR_EServicePointType | type | ) |
SCR_ServicePointDelegateComponent GetServiceDelegateByLabel | ( | EEditableEntityLabel | label | ) |
SCR_ServicePointDelegateComponent GetServiceDelegateByType | ( | SCR_EServicePointType | type | ) |
int GetServiceDelegates | ( | out array< SCR_ServicePointDelegateComponent > | delegates = null | ) |
int GetServiceDelegatesByType | ( | out array< SCR_ServicePointDelegateComponent > | delegates, |
SCR_EServicePointType | type | ||
) |
[out] | delegates | |
[in] | type |
Definition at line 329 of file SCR_MilitaryBaseComponent.c.
int GetServices | ( | out array< SCR_ServicePointComponent > | services = null | ) |
Get all registered systems inherited from SCR_ServicePointComponent
[out] | services |
Definition at line 228 of file SCR_MilitaryBaseComponent.c.
int GetServicesByType | ( | out array< SCR_ServicePointComponent > | services, |
SCR_EServicePointType | type | ||
) |
[out] | services | |
[in] | type |
Definition at line 252 of file SCR_MilitaryBaseComponent.c.
protected bool IsProxy | ( | ) |
Definition at line 55 of file SCR_MilitaryBaseComponent.c.
bool NotificationsAllowed | ( | ) |
Show default notifications upon base capture (getter)
Definition at line 71 of file SCR_MilitaryBaseComponent.c.
protected void NotifyPlayerInRadius | ( | notnull Faction | faction | ) |
Definition at line 794 of file SCR_MilitaryBaseComponent.c.
void OnCallsignAssigned | ( | ) |
Definition at line 154 of file SCR_MilitaryBaseComponent.c.
void OnCapturingFactionChanged | ( | ) |
Definition at line 753 of file SCR_MilitaryBaseComponent.c.
protected void OnFactionChanged | ( | FactionAffiliationComponent | owner, |
Faction | previousFaction, | ||
Faction | faction | ||
) |
Event which is triggered when the owning faction changes.
Definition at line 511 of file SCR_MilitaryBaseComponent.c.
protected void OnPlayerFactionResponse_O | ( | SCR_PlayerFactionAffiliationComponent | component, |
int | factionIndex, | ||
bool | response | ||
) |
Definition at line 178 of file SCR_MilitaryBaseComponent.c.
void OnPointCaptured | ( | notnull SCR_Faction | faction, |
notnull SCR_SeizingComponent | point | ||
) |
Triggered when a registered SCR_SeizingComponent gets captured
[in] | faction | |
[in] | point |
Definition at line 669 of file SCR_MilitaryBaseComponent.c.
void OnPointContested | ( | notnull SCR_Faction | faction, |
notnull SCR_SeizingComponent | point | ||
) |
Triggered when a registered SCR_SeizingComponent starts getting captured
[in] | faction | |
[in] | point |
Definition at line 693 of file SCR_MilitaryBaseComponent.c.
void OnPointSecured | ( | notnull SCR_Faction | faction, |
notnull SCR_SeizingComponent | point | ||
) |
Triggered when a registered SCR_SeizingComponent stops getting captured
[in] | faction | |
[in] | point |
Definition at line 720 of file SCR_MilitaryBaseComponent.c.
protected void OnRadiusChanged | ( | ) |
Definition at line 471 of file SCR_MilitaryBaseComponent.c.
void OnRequiredPointsCaptured | ( | notnull SCR_Faction | faction | ) |
Triggered when a the required amount of SCR_SeizingComponents to seize the base is captured
[in] | faction |
Definition at line 746 of file SCR_MilitaryBaseComponent.c.
void OnServiceStateChanged | ( | SCR_EServicePointStatus | state, |
notnull SCR_ServicePointComponent | serviceComponent | ||
) |
Called every time the status of the registered service has changed.
[in] | state | |
[in] | serviceComponent |
Definition at line 566 of file SCR_MilitaryBaseComponent.c.
void RegisterLogicComponent | ( | notnull SCR_MilitaryBaseLogicComponent | component | ) |
[in] | component |
Definition at line 590 of file SCR_MilitaryBaseComponent.c.
void RegisterServiceDelegate | ( | notnull SCR_ServicePointDelegateComponent | delegate | ) |
[in] | delegate |
Definition at line 574 of file SCR_MilitaryBaseComponent.c.
SCR_MilitaryBaseComponentClass ScriptComponentClass RplProp | ( | onRplName:"OnRadiusChanged" | ) |
Definition at line 11 of file SCR_MilitaryBaseComponent.c.
void ScriptInvokerServiceUnregisteredMethod | ( | SCR_MilitaryBaseComponent | militaryBaseComponent, |
SCR_ServicePointComponent | serviceComponent | ||
) |
void SetCallsign | ( | notnull SCR_Faction | faction | ) |
[in] | faction |
Definition at line 122 of file SCR_MilitaryBaseComponent.c.
void SetCallsignIndex | ( | int | index | ) |
[in] | index |
Definition at line 85 of file SCR_MilitaryBaseComponent.c.
void SetCallsignIndexAutomatic | ( | int | index | ) |
[in] | index |
Definition at line 78 of file SCR_MilitaryBaseComponent.c.
void SetFaction | ( | Faction | faction | ) |
[in] | faction |
Definition at line 486 of file SCR_MilitaryBaseComponent.c.
void SetFaction | ( | FactionKey | faction | ) |
[in] | faction |
Definition at line 499 of file SCR_MilitaryBaseComponent.c.
void SetRadius | ( | int | radius | ) |
[in] | radius |
Definition at line 450 of file SCR_MilitaryBaseComponent.c.
void UnregisterLogicComponent | ( | notnull SCR_MilitaryBaseLogicComponent | component | ) |
[in] | component |
Definition at line 631 of file SCR_MilitaryBaseComponent.c.
void UnregisterServiceDelegate | ( | notnull SCR_ServicePointDelegateComponent | delegate | ) |
[in] | delegate |
Definition at line 582 of file SCR_MilitaryBaseComponent.c.
void ~SCR_MilitaryBaseComponent | ( | ) |
Definition at line 857 of file SCR_MilitaryBaseComponent.c.
protected ref array<SCR_ServicePointDelegateComponent> m_aServiceDelegates = {} |
Definition at line 43 of file SCR_MilitaryBaseComponent.c.
protected SCR_FactionAffiliationComponent m_FactionComponent |
Definition at line 46 of file SCR_MilitaryBaseComponent.c.
protected int m_iCallsign = INVALID_BASE_CALLSIGN |
Definition at line 52 of file SCR_MilitaryBaseComponent.c.
protected RplComponent m_RplComponent |
Definition at line 45 of file SCR_MilitaryBaseComponent.c.
protected FactionKey m_sCapturingFaction |
Definition at line 49 of file SCR_MilitaryBaseComponent.c.