◆ AfterLockChanged()
void SCR_CampaignBuildingCompositionComponent.AfterLockChanged |
( |
bool |
lockState | ) |
|
◆ CheckExistingChild()
void SCR_CampaignBuildingCompositionComponent.CheckExistingChild |
( |
| ) |
|
Check if this entity doesn't have any child. If so, delete it.
◆ CompositionBuildSound()
void SCR_CampaignBuildingCompositionComponent.CompositionBuildSound |
( |
| ) |
|
Play the sound when the composition is fully spawned.
◆ DestructibleEntityDestroyed()
A destructible entity in composition was destroyed.
Evaluate if there is any other left.
- Parameters
-
◆ EOnInit()
override void SCR_CampaignBuildingCompositionComponent.EOnInit |
( |
IEntity |
owner | ) |
|
◆ GetBuilderId()
int SCR_CampaignBuildingCompositionComponent.GetBuilderId |
( |
| ) |
|
◆ GetCompositionCost()
int SCR_CampaignBuildingCompositionComponent.GetCompositionCost |
( |
| ) |
|
◆ GetOnBuilderSet()
ScriptInvokerVoid SCR_CampaignBuildingCompositionComponent.GetOnBuilderSet |
( |
| ) |
|
◆ GetOnCompositionSpawned()
ScriptInvokerBool SCR_CampaignBuildingCompositionComponent.GetOnCompositionSpawned |
( |
| ) |
|
◆ GetOutlineToSpawn()
Search for the outline that is assigned to this composition to be spawned.
◆ GetPrefabId()
int SCR_CampaignBuildingCompositionComponent.GetPrefabId |
( |
| ) |
|
◆ GetProviderEntity()
IEntity SCR_CampaignBuildingCompositionComponent.GetProviderEntity |
( |
| ) |
|
◆ IsCompositionSpawned()
bool SCR_CampaignBuildingCompositionComponent.IsCompositionSpawned |
( |
| ) |
|
◆ IsInteractionLocked()
bool SCR_CampaignBuildingCompositionComponent.IsInteractionLocked |
( |
| ) |
|
◆ IsProxy()
bool SCR_CampaignBuildingCompositionComponent.IsProxy |
( |
| ) |
|
|
protected |
◆ OnCompositionSpawned()
void SCR_CampaignBuildingCompositionComponent.OnCompositionSpawned |
( |
| ) |
|
|
protected |
An event called on proxi when composition is spawned.
◆ OnDelete()
override void SCR_CampaignBuildingCompositionComponent.OnDelete |
( |
IEntity |
owner | ) |
|
◆ OnPostInit()
override void SCR_CampaignBuildingCompositionComponent.OnPostInit |
( |
IEntity |
owner | ) |
|
◆ RemoveProviderEntity()
void SCR_CampaignBuildingCompositionComponent.RemoveProviderEntity |
( |
| ) |
|
Remove provider entity when the provider is not a base and the building mode was terminated.
◆ RemoveProviderEntityServer()
void SCR_CampaignBuildingCompositionComponent.RemoveProviderEntityServer |
( |
| ) |
|
Remove provider entity when the provider is not a base and the building mode was terminated. Called on server from invoker.
◆ RpcDo_RemoveProviderEntity()
void SCR_CampaignBuildingCompositionComponent.RpcDo_RemoveProviderEntity |
( |
| ) |
|
|
protected |
◆ RpcDo_SetCompositionLock()
void SCR_CampaignBuildingCompositionComponent.RpcDo_SetCompositionLock |
( |
bool |
lockState | ) |
|
|
protected |
◆ RpcDo_SetProviderEntity()
void SCR_CampaignBuildingCompositionComponent.RpcDo_SetProviderEntity |
( |
RplId |
rplCompId | ) |
|
|
protected |
◆ RplLoad()
override bool SCR_CampaignBuildingCompositionComponent.RplLoad |
( |
ScriptBitReader |
reader | ) |
|
◆ RplSave()
override bool SCR_CampaignBuildingCompositionComponent.RplSave |
( |
ScriptBitWriter |
writer | ) |
|
◆ SetBuilderId()
void SCR_CampaignBuildingCompositionComponent.SetBuilderId |
( |
int |
id | ) |
|
◆ SetClearProviderEvent()
void SCR_CampaignBuildingCompositionComponent.SetClearProviderEvent |
( |
notnull SCR_EditorModeEntity |
ent | ) |
|
Set an event to remove a provider from composition component when the building mode is terminated.
- Parameters
-
◆ SetCompositionCost()
Gets the composition cost from editable entity component.
- Parameters
-
◆ SetDestroyEvents()
void SCR_CampaignBuildingCompositionComponent.SetDestroyEvents |
( |
| ) |
|
Set the destroy event to root entity, when all direct child are destructible.
◆ SetInteractionLock()
void SCR_CampaignBuildingCompositionComponent.SetInteractionLock |
( |
bool |
lockState | ) |
|
Set the lock of the composition.
When set, the composition can't be moved or deleted from Free Roam mode anymore.
- Parameters
-
◆ SetInteractionLockServer()
void SCR_CampaignBuildingCompositionComponent.SetInteractionLockServer |
( |
bool |
lockState | ) |
|
◆ SetIsCompositionSpawned()
void SCR_CampaignBuildingCompositionComponent.SetIsCompositionSpawned |
( |
| ) |
|
|
protected |
◆ SetPrefabId()
void SCR_CampaignBuildingCompositionComponent.SetPrefabId |
( |
int |
prefabId | ) |
|
◆ SetProviderEntity()
void SCR_CampaignBuildingCompositionComponent.SetProviderEntity |
( |
IEntity |
newOwner | ) |
|
◆ SetProviderEntityServer()
void SCR_CampaignBuildingCompositionComponent.SetProviderEntityServer |
( |
IEntity |
newOwner | ) |
|
◆ SetProviderFromRplID()
void SCR_CampaignBuildingCompositionComponent.SetProviderFromRplID |
( |
| ) |
|
Set a provider, loaded from RPL ID.
◆ SpawnCompositionLayout()
◆ INVALID_PLAYER_ID
const int SCR_CampaignBuildingCompositionComponent.INVALID_PLAYER_ID = 0 |
|
staticprotected |
◆ m_AudioSourceConfigurationDespawn
◆ m_AudioSourceConfigurationSpawn
◆ m_bCompositionIsSpawned
bool SCR_CampaignBuildingCompositionComponent.m_bCompositionIsSpawned |
|
protected |
◆ m_bInteractionLock
bool SCR_CampaignBuildingCompositionComponent.m_bInteractionLock |
|
protected |
◆ m_iBuilderId
◆ m_iCost
int SCR_CampaignBuildingCompositionComponent.m_iCost |
|
protected |
◆ m_iPrefabId
int SCR_CampaignBuildingCompositionComponent.m_iPrefabId |
|
protected |
◆ m_OnBuilderSet
ref ScriptInvokerVoid SCR_CampaignBuildingCompositionComponent.m_OnBuilderSet |
|
protected |
◆ m_OnCompositionSpawned
ref ScriptInvokerBool SCR_CampaignBuildingCompositionComponent.m_OnCompositionSpawned |
|
protected |
◆ m_ProviderEntity
IEntity SCR_CampaignBuildingCompositionComponent.m_ProviderEntity |
|
protected |
◆ m_RplCompId
RplId SCR_CampaignBuildingCompositionComponent.m_RplCompId |
|
protected |
The documentation for this interface was generated from the following file:
- Game/Building/SCR_CampaignBuildingCompositionComponent.c