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_CampaignBuildingLayoutComponentClass |
void AddBuildingValue | ( | int | value | ) |
[in] | value |
Definition at line 330 of file SCR_CampaignBuildingLayoutComponent.c.
void DeletePreview | ( | ) |
Definition at line 307 of file SCR_CampaignBuildingLayoutComponent.c.
void EvaluateBuildingStatus | ( | int | currentBuildValue | ) |
[in] | currentBuildValue |
Definition at line 127 of file SCR_CampaignBuildingLayoutComponent.c.
protected SCR_CampaignBuildingManagerComponent GetBuildingManagerComponent | ( | ) |
Definition at line 180 of file SCR_CampaignBuildingLayoutComponent.c.
SCR_EditorModeEntity GetBuildingModeEntity | ( | ) |
Search for an editor mode entity (exists only when the player is in editor mode)
Definition at line 378 of file SCR_CampaignBuildingLayoutComponent.c.
Get the building value that defines how long it takes to build a composition (based on the tool, number of people building it etc.)
[in] | prefabID |
Definition at line 149 of file SCR_CampaignBuildingLayoutComponent.c.
protected ResourceName GetCompositionResourceName | ( | int | prefabID | ) |
[in] | prefabID |
Definition at line 170 of file SCR_CampaignBuildingLayoutComponent.c.
float GetCurrentBuildValue | ( | ) |
Definition at line 370 of file SCR_CampaignBuildingLayoutComponent.c.
ScriptInvokerInt GetOnAddBuildingValueInt | ( | ) |
Definition at line 60 of file SCR_CampaignBuildingLayoutComponent.c.
ScriptInvokerVoid GetOnAddBuildingValueVoid | ( | ) |
Definition at line 70 of file SCR_CampaignBuildingLayoutComponent.c.
ScriptInvokerVoid GetOnCompositionIdSet | ( | ) |
Definition at line 80 of file SCR_CampaignBuildingLayoutComponent.c.
int GetPrefabId | ( | ) |
Definition at line 207 of file SCR_CampaignBuildingLayoutComponent.c.
int GetToBuildValue | ( | ) |
Definition at line 363 of file SCR_CampaignBuildingLayoutComponent.c.
bool HasBuildingPreview | ( | ) |
Definition at line 119 of file SCR_CampaignBuildingLayoutComponent.c.
bool IsLayoutInBuildingRange | ( | notnull SCR_EditorModeEntity | editorModeEntity | ) |
Is this layout in building radius of the provider
[in] | editorModeEntity |
Definition at line 104 of file SCR_CampaignBuildingLayoutComponent.c.
void LockCompositionInteraction | ( | ) |
Once someone for the 1st time add a value to build a composition, set the lock at this composition to disallow any manipulation (deleting, moving) with this composition until it's fully build.
Definition at line 394 of file SCR_CampaignBuildingLayoutComponent.c.
override void OnChildAdded | ( | IEntity | parent, |
IEntity | child | ||
) |
Definition at line 428 of file SCR_CampaignBuildingLayoutComponent.c.
void OnEditorModeChanged | ( | SCR_EditorModeEntity | currentModeEntity, |
SCR_EditorModeEntity | prevModeEntity | ||
) |
Event called when the editor mode changed to delete the composition preview.
[in] | currentModeEntity | |
[in] | prevModeEntity |
Definition at line 92 of file SCR_CampaignBuildingLayoutComponent.c.
SCR_CampaignBuildingLayoutComponentClass ScriptComponentClass RplProp | ( | onRplName:"SpawnPreviewIfBuildingModeOpened" | ) |
Definition at line 8 of file SCR_CampaignBuildingLayoutComponent.c.
void SetBuildingValue | ( | float | newValue | ) |
[in] | newValue |
Definition at line 347 of file SCR_CampaignBuildingLayoutComponent.c.
bool SetOnEditorOpenEvent | ( | ) |
Set the event on editor mode opening.
Definition at line 45 of file SCR_CampaignBuildingLayoutComponent.c.
void SetPrefabId | ( | int | prefabId | ) |
Save prefab ID of the composition, which is used by a Free Roam mode to know what composition this preview represents.
[in] | prefabId |
Definition at line 192 of file SCR_CampaignBuildingLayoutComponent.c.
protected void SnapEntityToTerrain | ( | IEntity | entity | ) |
Definition at line 409 of file SCR_CampaignBuildingLayoutComponent.c.
void SpawnComposition | ( | ) |
Spawn the composition belonging to this layout.
Definition at line 214 of file SCR_CampaignBuildingLayoutComponent.c.
void SpawnPreview | ( | ) |
Create a preview if it does not exist.
Definition at line 244 of file SCR_CampaignBuildingLayoutComponent.c.
void SpawnPreviewIfBuildingModeOpened | ( | ) |
Spawn the composition preview if the building mode is active (open)
Definition at line 295 of file SCR_CampaignBuildingLayoutComponent.c.
void ~SCR_CampaignBuildingLayoutComponent | ( | ) |
Definition at line 442 of file SCR_CampaignBuildingLayoutComponent.c.