![]() |
Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
|
Go to the source code of this file.
Classes | |
| class | SCR_CampaignBuildingManagerComponentClass |
Typedefs | |
| typedef func | ScriptInvokerEntitySpawnedByProviderMethod |
| typedef ScriptInvokerBase< ScriptInvokerEntitySpawnedByProviderMethod > | ScriptInvokerEntitySpawnedByProvider |
| typedef func | ScriptInvokerCompositionUnregisteredMethod |
| typedef ScriptInvokerBase< ScriptInvokerCompositionUnregisteredMethod > | ScriptInvokerCompositionUnregistered |
Functions | |
| void | ScriptInvokerEntitySpawnedByProviderMethod (int prefabID, SCR_EditableEntityComponent editableEntity, int playerId, SCR_CampaignBuildingProviderComponent provider) |
| void | ScriptInvokerCompositionUnregisteredMethod (SCR_CampaignBuildingCompositionComponent composition) |
| SCR_CampaignBuildingManagerComponentClass SCR_BaseGameModeComponentClass | Attribute ("", UIWidgets.ResourcePickerThumbnail, "Prefab of trigger spawned on server to activate a building mode when player enters its range.", "et")] protected ResourceName m_sFreeRoamBuildingServerTrigger |
| SCR_CampaignBuildingCompositionOutlineManager | GetOutlineManager () |
| bool | GetResourceComponent (IEntity owner, out SCR_ResourceComponent component) |
| ResourceName | GetCompositionPreviewMaterial () |
| ResourceName | GetServerTriggerResourceName () |
| ResourceName | GetClientTriggerResourceName () |
| void | SetTemporaryProvider (IEntity ent) |
| IEntity | GetTemporaryProvider () |
| bool | CanDisassembleSameFactionOnly () |
| bool | CanDisassembleOnlyWhenCapturing () |
| bool | GetSupplyComponent (IEntity ownerEntity, out SCR_CampaignSuppliesComponent suppliesComponent) |
| Get supply component of the provider entity. | |
| void | ProcesXPreward () |
| Check if the number of cycles reaches a defined limit. If so, restart counter and send an RPC on server to add XP reward. | |
| int | GetCompositionRefundPercentage () |
| void | OnEntityCoreBudgetUpdated (EEditableEntityBudget entityBudget, int originalBudgetValue, int budgetChange, int updatedBudgetValue, SCR_EditableEntityComponent entity) |
| void | SpawnCustomResourceHolder (IEntity entityOwner, out SCR_ResourceComponent component) |
| override void | EOnInit (IEntity owner) |
| override void | OnPostInit (IEntity owner) |
| Editable Mine. | |
| bool | IsProxy () |
| void | GetPrefabListFromConfig () |
| Load all the available compositions at the beginning of the game to be accessible without the building mode entity. | |
| ResourceName | GetCompositionResourceName (int prefabID) |
| array< ResourceName > | GetPlaceablePrefabs () |
| int | GetCompositionId (ResourceName resName) |
| void | EnterEditorMode (int playerID, notnull IEntity provider, bool userActionActivationOnly=false, bool userActionUsed=false, bool useAllAvailableProviders=false) |
| void | SetEditorMode (notnull SCR_EditorManagerEntity editorManager, notnull SCR_EditorModeEntity modeEntity, int playerID, notnull IEntity provider, bool userActionActivationOnly=false, bool userActionUsed=false, bool useAllAvailableProviders=false) |
| bool | IsCommander (int playerId) |
| void | PlayerDisconnected (int playerId, KickCauseCode cause, int timeout) |
| void | EntitySpawnedByProvider (int prefabID, SCR_EditableEntityComponent editableEntity, int playerId) |
| Event triggered when the entity is spawned by this provider. | |
| bool | TryAddHQ (notnull SCR_CampaignBuildingCompositionComponent composition) |
| bool | TryRemoveHQ (notnull SCR_CampaignBuildingCompositionComponent composition) |
| bool | IsHQService (notnull SCR_EditableEntityComponent editableEntity) |
| void | SetOnPlayerDeathEvent (int playerID) |
| void | RemoveOnPlayerDeathEvent (int playerID) |
| void | SetOnProviderDestroyedEvent (IEntity provider) |
| void | RemoveOnProviderDestroyedEvent (IEntity provider) |
| void | OnPlayerDeath (SCR_CharacterControllerComponent characterController, IEntity instigatorEntity, notnull Instigator killer) |
| void | OnProviderDestroyed (SCR_HitZone hitZone) |
| bool | RemovePlayerIdFromProvider (int playerID, SCR_CampaignBuildingProviderComponent providerComponent) |
| void | RemoveProvider (int playerID, SCR_CampaignBuildingProviderComponent providerComponent, bool isActiveUser) |
| void | ToggleEditorMode (notnull SCR_EditorManagerEntity editorManager) |
| void | RemoveEditorMode (int playerID) |
| SCR_EditorManagerEntity | GetEditorManagerEntity (int playerID) |
| void | RegisterComposition (notnull SCR_CampaignBuildingCompositionComponent composition) |
| void | UnregisterComposition (notnull SCR_CampaignBuildingCompositionComponent composition) |
| void | OnCompositionSpawned (bool spawned) |
| int | GetBuildingCompositions (SCR_CampaignMilitaryBaseComponent base, out array< SCR_CampaignBuildingCompositionComponent > compositions) |
| array< SCR_CampaignBuildingCompositionComponent > | GetHQBuildingCompositions () |
| ScriptInvokerEntitySpawnedByProvider | GetOnEntitySpawnedByProvider () |
| ScriptInvokerVoid | GetOnAnyCompositionSpawned () |
| ScriptInvokerCompositionUnregistered | GetOnCompositionUnregistered () |
| typedef ScriptInvokerBase<ScriptInvokerCompositionUnregisteredMethod> ScriptInvokerCompositionUnregistered |
Definition at line 7 of file SCR_CampaignBuildingManagerComponent.c.
Definition at line 6 of file SCR_CampaignBuildingManagerComponent.c.
| typedef ScriptInvokerBase<ScriptInvokerEntitySpawnedByProviderMethod> ScriptInvokerEntitySpawnedByProvider |
Definition at line 3 of file SCR_CampaignBuildingManagerComponent.c.
Definition at line 2 of file SCR_CampaignBuildingManagerComponent.c.
| SCR_CampaignBuildingManagerComponentClass SCR_BaseGameModeComponentClass Attribute | ( | "" | , |
| UIWidgets. | ResourcePickerThumbnail, | ||
| "Prefab of trigger spawned on server to activate a building mode when player enters its range." | , | ||
| "et" | ) |
Interface for game mode extending components. Must be attached to a GameMode entity.
|
protected |
Definition at line 151 of file SCR_CampaignBuildingManagerComponent.c.
|
protected |
Definition at line 144 of file SCR_CampaignBuildingManagerComponent.c.
|
protected |
| [in] | playerID | |
| [in] | provider | |
| [in] | userActionActivationOnly | |
| [in] | userActionUsed | |
| [in] | useAllAvailableProviders | true if game should use all available providers from that base |
Definition at line 421 of file SCR_CampaignBuildingManagerComponent.c.
|
protected |
Event triggered when the entity is spawned by this provider.
Definition at line 517 of file SCR_CampaignBuildingManagerComponent.c.
|
protected |
Definition at line 873 of file SCR_CampaignBuildingManagerComponent.c.
|
protected |
Definition at line 122 of file SCR_CampaignBuildingManagerComponent.c.
|
protected |
Returns composition id based on provided resource name.
| [in] | resName |
Definition at line 410 of file SCR_CampaignBuildingManagerComponent.c.
|
protected |
Definition at line 108 of file SCR_CampaignBuildingManagerComponent.c.
|
protected |
Get supplies from the composition cost that gets refunded on removal of composition
Definition at line 211 of file SCR_CampaignBuildingManagerComponent.c.
|
protected |
Search for a resource name of composition by given ID.
| [in] | prefabID |
Definition at line 386 of file SCR_CampaignBuildingManagerComponent.c.
|
protected |
Definition at line 772 of file SCR_CampaignBuildingManagerComponent.c.
|
protected |
Definition at line 887 of file SCR_CampaignBuildingManagerComponent.c.
|
protected |
Definition at line 902 of file SCR_CampaignBuildingManagerComponent.c.
|
protected |
Definition at line 911 of file SCR_CampaignBuildingManagerComponent.c.
|
protected |
Definition at line 893 of file SCR_CampaignBuildingManagerComponent.c.
|
protected |
Definition at line 74 of file SCR_CampaignBuildingManagerComponent.c.
|
protected |
Definition at line 396 of file SCR_CampaignBuildingManagerComponent.c.
|
protected |
Load all the available compositions at the beginning of the game to be accessible without the building mode entity.
Definition at line 369 of file SCR_CampaignBuildingManagerComponent.c.
Definition at line 80 of file SCR_CampaignBuildingManagerComponent.c.
|
protected |
Definition at line 115 of file SCR_CampaignBuildingManagerComponent.c.
|
protected |
Get supply component of the provider entity.
Definition at line 159 of file SCR_CampaignBuildingManagerComponent.c.
|
protected |
Definition at line 136 of file SCR_CampaignBuildingManagerComponent.c.
Checks if given player is a faction commander
| [in] | playerId |
Definition at line 487 of file SCR_CampaignBuildingManagerComponent.c.
|
protected |
Definition at line 578 of file SCR_CampaignBuildingManagerComponent.c.
|
protected |
Definition at line 863 of file SCR_CampaignBuildingManagerComponent.c.
|
protected |
Definition at line 217 of file SCR_CampaignBuildingManagerComponent.c.
|
protected |
Definition at line 642 of file SCR_CampaignBuildingManagerComponent.c.
|
protected |
Method called when the provider was destroyed.
| [in] | hitZone |
Definition at line 662 of file SCR_CampaignBuildingManagerComponent.c.
|
protected |
Event raised when the player disconnects
| [in] | playerId | |
| [in] | cause | |
| [in] | timeout |
Definition at line 506 of file SCR_CampaignBuildingManagerComponent.c.
|
protected |
Check if the number of cycles reaches a defined limit. If so, restart counter and send an RPC on server to add XP reward.
Definition at line 184 of file SCR_CampaignBuildingManagerComponent.c.
|
protected |
| [in] | composition |
Definition at line 784 of file SCR_CampaignBuildingManagerComponent.c.
|
protected |
Definition at line 758 of file SCR_CampaignBuildingManagerComponent.c.
|
protected |
Definition at line 604 of file SCR_CampaignBuildingManagerComponent.c.
|
protected |
Definition at line 630 of file SCR_CampaignBuildingManagerComponent.c.
|
protected |
Remove the provided player id from list of active and available users, return true if the user was in the list of active users
| [in] | playerID | |
| [in] | providerComponent |
Definition at line 697 of file SCR_CampaignBuildingManagerComponent.c.
|
protected |
| [in] | playerID | |
| [in] | providerComponent | |
| [in] | isActiveUser |
Definition at line 712 of file SCR_CampaignBuildingManagerComponent.c.
| void ScriptInvokerCompositionUnregisteredMethod | ( | SCR_CampaignBuildingCompositionComponent | composition | ) |
| void ScriptInvokerEntitySpawnedByProviderMethod | ( | int | prefabID, |
| SCR_EditableEntityComponent | editableEntity, | ||
| int | playerId, | ||
| SCR_CampaignBuildingProviderComponent | provider ) |
|
protected |
| [in] | editorManager | |
| [in] | modeEntity | |
| [in] | playerID | |
| [in] | provider | |
| [in] | userActionActivationOnly | |
| [in] | userActionUsed | |
| [in] | useAllAvailableProviders | true if game should use all available providers from that base |
Definition at line 445 of file SCR_CampaignBuildingManagerComponent.c.
|
protected |
Definition at line 590 of file SCR_CampaignBuildingManagerComponent.c.
|
protected |
Definition at line 618 of file SCR_CampaignBuildingManagerComponent.c.
|
protected |
| [in] | ent |
Definition at line 129 of file SCR_CampaignBuildingManagerComponent.c.
|
protected |
Definition at line 317 of file SCR_CampaignBuildingManagerComponent.c.
|
protected |
Definition at line 750 of file SCR_CampaignBuildingManagerComponent.c.
|
protected |
Definition at line 550 of file SCR_CampaignBuildingManagerComponent.c.
|
protected |
Definition at line 564 of file SCR_CampaignBuildingManagerComponent.c.
|
protected |
| [in] | composition |
Definition at line 825 of file SCR_CampaignBuildingManagerComponent.c.
|
protected |
Definition at line 60 of file SCR_CampaignBuildingManagerComponent.c.
|
protected |
Definition at line 58 of file SCR_CampaignBuildingManagerComponent.c.
|
protected |
Definition at line 47 of file SCR_CampaignBuildingManagerComponent.c.
|
protected |
Note: Provider is saved to composition only when it's built from base.
Definition at line 44 of file SCR_CampaignBuildingManagerComponent.c.
|
protected |
Definition at line 28 of file SCR_CampaignBuildingManagerComponent.c.
|
protected |
Definition at line 62 of file SCR_CampaignBuildingManagerComponent.c.
|
protected |
Definition at line 40 of file SCR_CampaignBuildingManagerComponent.c.
|
protected |
Definition at line 66 of file SCR_CampaignBuildingManagerComponent.c.
|
protected |
Definition at line 65 of file SCR_CampaignBuildingManagerComponent.c.
|
protected |
Definition at line 31 of file SCR_CampaignBuildingManagerComponent.c.
|
protected |
Definition at line 37 of file SCR_CampaignBuildingManagerComponent.c.
|
protected |
Definition at line 34 of file SCR_CampaignBuildingManagerComponent.c.
|
protected |
Definition at line 59 of file SCR_CampaignBuildingManagerComponent.c.
|
protected |
Definition at line 69 of file SCR_CampaignBuildingManagerComponent.c.
|
protected |
Definition at line 70 of file SCR_CampaignBuildingManagerComponent.c.
|
protected |
Definition at line 68 of file SCR_CampaignBuildingManagerComponent.c.
|
protected |
Definition at line 50 of file SCR_CampaignBuildingManagerComponent.c.
|
protected |
Definition at line 64 of file SCR_CampaignBuildingManagerComponent.c.
|
protected |
Definition at line 22 of file SCR_CampaignBuildingManagerComponent.c.
|
protected |
Definition at line 53 of file SCR_CampaignBuildingManagerComponent.c.
|
protected |
Definition at line 56 of file SCR_CampaignBuildingManagerComponent.c.
|
protected |
Definition at line 25 of file SCR_CampaignBuildingManagerComponent.c.
|
protected |
Definition at line 63 of file SCR_CampaignBuildingManagerComponent.c.