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_CampaignBuildingCompositionComponentClass |
Functions | |
SCR_CampaignBuildingCompositionComponentClass ScriptComponentClass | Attribute ()] protected ref SCR_AudioSourceConfiguration m_AudioSourceConfigurationSpawn |
override void | OnPostInit (IEntity owner) |
Called on PostInit when all components are added. More... | |
void | SpawnCompositionLayout (int prefabId, SCR_EditableEntityComponent entity) |
ResourceName | GetOutlineToSpawn (notnull SCR_EditableEntityComponent entity) |
Search for the outline that is assigned to this composition to be spawned. More... | |
override void | EOnInit (IEntity owner) |
void | SetDestroyEvents () |
Set the destroy event to root entity, when all direct child are destructible. More... | |
void | DestructibleEntityDestroyed (SCR_DestructionMultiPhaseComponent component) |
void | CheckExistingChild () |
Check if this entity doesn't have any child. If so, delete it. More... | |
protected void | SetIsCompositionSpawned () |
protected void | OnCompositionSpawned () |
An event called on proxi when composition is spawned. More... | |
ScriptInvokerBool | GetOnCompositionSpawned () |
protected void | SetCompositionCost (notnull SCR_EditableEntityComponent editableEnt) |
void | SetPrefabId (int prefabId) |
int | GetCompositionCost () |
int | GetPrefabId () |
bool | IsCompositionSpawned () |
ScriptInvokerVoid | GetOnBuilderSet () |
void | SetProviderEntity (IEntity newOwner) |
IEntity | GetProviderEntity () |
void | RemoveProviderEntity () |
Remove provider entity when the provider is not a base and the building mode was terminated. More... | |
void | SetBuilderId (int id) |
int | GetBuilderId () |
void | SetInteractionLock (bool lockState) |
void | SetInteractionLockServer (bool lockState) |
bool | IsInteractionLocked () |
void | AfterLockChanged (bool lockState) |
void | SetProviderEntityServer (IEntity newOwner) |
void | RemoveProviderEntityServer () |
Remove provider entity when the provider is not a base and the building mode was terminated. Called on server from invoker. More... | |
void | SetClearProviderEvent (notnull SCR_EditorModeEntity ent) |
void | SetProviderFromRplID () |
Set a provider, loaded from RPL ID. More... | |
void | CompositionBuildSound () |
Play the sound when the composition is fully spawned. More... | |
protected bool | IsProxy () |
protected void | RpcDo_RemoveProviderEntity () |
protected void | RpcDo_SetProviderEntity (RplId rplCompId) |
protected void | RpcDo_SetCompositionLock (bool lockState) |
override bool | RplSave (ScriptBitWriter writer) |
override bool | RplLoad (ScriptBitReader reader) |
override void | OnDelete (IEntity owner) |
Variables | |
protected ref SCR_AudioSourceConfiguration | m_AudioSourceConfigurationDespawn |
protected IEntity | m_ProviderEntity |
protected RplId | m_RplCompId |
private SCR_EditorModeEntity | m_EditorModeEntity |
protected int | m_iBuilderId = INVALID_PLAYER_ID |
protected int | m_iCost |
protected int | m_iPrefabId |
protected bool | m_bInteractionLock |
protected bool | m_bCompositionIsSpawned |
protected ref ScriptInvokerVoid | m_OnBuilderSet |
protected ref ScriptInvokerBool | m_OnCompositionSpawned |
void AfterLockChanged | ( | bool | lockState | ) |
[in] | lockState |
Definition at line 361 of file SCR_CampaignBuildingCompositionComponent.c.
SCR_CampaignBuildingCompositionComponentClass ScriptComponentClass Attribute | ( | ) |
void CheckExistingChild | ( | ) |
Check if this entity doesn't have any child. If so, delete it.
Definition at line 190 of file SCR_CampaignBuildingCompositionComponent.c.
void CompositionBuildSound | ( | ) |
Play the sound when the composition is fully spawned.
Definition at line 445 of file SCR_CampaignBuildingCompositionComponent.c.
void DestructibleEntityDestroyed | ( | SCR_DestructionMultiPhaseComponent | component | ) |
A destructible entity in composition was destroyed. Evaluate if there is any other left.
[in] | component |
Definition at line 182 of file SCR_CampaignBuildingCompositionComponent.c.
int GetBuilderId | ( | ) |
Definition at line 328 of file SCR_CampaignBuildingCompositionComponent.c.
int GetCompositionCost | ( | ) |
Definition at line 266 of file SCR_CampaignBuildingCompositionComponent.c.
ScriptInvokerVoid GetOnBuilderSet | ( | ) |
Definition at line 288 of file SCR_CampaignBuildingCompositionComponent.c.
ScriptInvokerBool GetOnCompositionSpawned | ( | ) |
Definition at line 231 of file SCR_CampaignBuildingCompositionComponent.c.
ResourceName GetOutlineToSpawn | ( | notnull SCR_EditableEntityComponent | entity | ) |
Search for the outline that is assigned to this composition to be spawned.
Definition at line 109 of file SCR_CampaignBuildingCompositionComponent.c.
int GetPrefabId | ( | ) |
Definition at line 273 of file SCR_CampaignBuildingCompositionComponent.c.
IEntity GetProviderEntity | ( | ) |
Definition at line 307 of file SCR_CampaignBuildingCompositionComponent.c.
bool IsCompositionSpawned | ( | ) |
Definition at line 281 of file SCR_CampaignBuildingCompositionComponent.c.
bool IsInteractionLocked | ( | ) |
Definition at line 352 of file SCR_CampaignBuildingCompositionComponent.c.
protected bool IsProxy | ( | ) |
Definition at line 456 of file SCR_CampaignBuildingCompositionComponent.c.
protected void OnCompositionSpawned | ( | ) |
An event called on proxi when composition is spawned.
Definition at line 221 of file SCR_CampaignBuildingCompositionComponent.c.
void RemoveProviderEntity | ( | ) |
Remove provider entity when the provider is not a base and the building mode was terminated.
Definition at line 314 of file SCR_CampaignBuildingCompositionComponent.c.
void RemoveProviderEntityServer | ( | ) |
Remove provider entity when the provider is not a base and the building mode was terminated. Called on server from invoker.
Definition at line 414 of file SCR_CampaignBuildingCompositionComponent.c.
protected void RpcDo_RemoveProviderEntity | ( | ) |
Definition at line 464 of file SCR_CampaignBuildingCompositionComponent.c.
protected void RpcDo_SetCompositionLock | ( | bool | lockState | ) |
Definition at line 484 of file SCR_CampaignBuildingCompositionComponent.c.
protected void RpcDo_SetProviderEntity | ( | RplId | rplCompId | ) |
Definition at line 471 of file SCR_CampaignBuildingCompositionComponent.c.
override bool RplLoad | ( | ScriptBitReader | reader | ) |
Definition at line 514 of file SCR_CampaignBuildingCompositionComponent.c.
override bool RplSave | ( | ScriptBitWriter | writer | ) |
Definition at line 490 of file SCR_CampaignBuildingCompositionComponent.c.
void SetBuilderId | ( | int | id | ) |
[in] | id |
Definition at line 321 of file SCR_CampaignBuildingCompositionComponent.c.
void SetClearProviderEvent | ( | notnull SCR_EditorModeEntity | ent | ) |
Set an event to remove a provider from composition component when the building mode is terminated.
[in] | ent |
Definition at line 425 of file SCR_CampaignBuildingCompositionComponent.c.
protected void SetCompositionCost | ( | notnull SCR_EditableEntityComponent | editableEnt | ) |
Gets the composition cost from editable entity component.
[in] | editableEnt |
Definition at line 242 of file SCR_CampaignBuildingCompositionComponent.c.
void SetDestroyEvents | ( | ) |
Set the destroy event to root entity, when all direct child are destructible.
Definition at line 144 of file SCR_CampaignBuildingCompositionComponent.c.
void SetInteractionLock | ( | bool | lockState | ) |
Set the lock of the composition. When set, the composition can't be moved or deleted from Free Roam mode anymore.
[in] | lockState |
Definition at line 336 of file SCR_CampaignBuildingCompositionComponent.c.
void SetInteractionLockServer | ( | bool | lockState | ) |
[in] | lockState |
Definition at line 344 of file SCR_CampaignBuildingCompositionComponent.c.
protected void SetIsCompositionSpawned | ( | ) |
Definition at line 198 of file SCR_CampaignBuildingCompositionComponent.c.
void SetPrefabId | ( | int | prefabId | ) |
[in] | prefabId |
Definition at line 259 of file SCR_CampaignBuildingCompositionComponent.c.
void SetProviderEntity | ( | IEntity | newOwner | ) |
[in] | newOwner |
Definition at line 298 of file SCR_CampaignBuildingCompositionComponent.c.
void SetProviderEntityServer | ( | IEntity | newOwner | ) |
[in] | newOwner |
Definition at line 396 of file SCR_CampaignBuildingCompositionComponent.c.
void SetProviderFromRplID | ( | ) |
Set a provider, loaded from RPL ID.
Definition at line 433 of file SCR_CampaignBuildingCompositionComponent.c.
void SpawnCompositionLayout | ( | int | prefabId, |
SCR_EditableEntityComponent | entity | ||
) |
[in] | prefabId | |
[in] | entity |
Definition at line 73 of file SCR_CampaignBuildingCompositionComponent.c.
protected ref SCR_AudioSourceConfiguration m_AudioSourceConfigurationDespawn |
Definition at line 12 of file SCR_CampaignBuildingCompositionComponent.c.
protected bool m_bCompositionIsSpawned |
Definition at line 24 of file SCR_CampaignBuildingCompositionComponent.c.
protected bool m_bInteractionLock |
Definition at line 21 of file SCR_CampaignBuildingCompositionComponent.c.
private SCR_EditorModeEntity m_EditorModeEntity |
Definition at line 17 of file SCR_CampaignBuildingCompositionComponent.c.
protected int m_iBuilderId = INVALID_PLAYER_ID |
Definition at line 18 of file SCR_CampaignBuildingCompositionComponent.c.
protected int m_iCost |
Definition at line 19 of file SCR_CampaignBuildingCompositionComponent.c.
protected int m_iPrefabId |
Definition at line 20 of file SCR_CampaignBuildingCompositionComponent.c.
protected ref ScriptInvokerVoid m_OnBuilderSet |
Definition at line 26 of file SCR_CampaignBuildingCompositionComponent.c.
protected ref ScriptInvokerBool m_OnCompositionSpawned |
Definition at line 27 of file SCR_CampaignBuildingCompositionComponent.c.
protected IEntity m_ProviderEntity |
Definition at line 15 of file SCR_CampaignBuildingCompositionComponent.c.
protected RplId m_RplCompId |
Definition at line 16 of file SCR_CampaignBuildingCompositionComponent.c.