Arma Reforger Script API
Loading...
Searching...
No Matches
EditablePrefabsComponent_EditableEntity Interface Reference
Inheritance diagram for EditablePrefabsComponent_EditableEntity:
EditablePrefabsComponent_Base

Public Member Functions

override void EOnCreate (EditablePrefabsConfig config, WorldEditorAPI api, ResourceName prefab, string targetPath, IEntitySource entitySource, IEntitySource instanceEntitySource, IEntityComponentSource componentSource, IEntityComponentSource componentCurrent)
 
override void EOnDelete (EditablePrefabsConfig config, WorldEditorAPI api, string prefabPath)
 
override void EOnMove (EditablePrefabsConfig config, WorldEditorAPI api, string currentPath, string newPath)
 
void EditablePrefabsComponent_EditableEntity ()
 
- Public Member Functions inherited from EditablePrefabsComponent_Base
string GetClassName ()
 
IEntityComponentSource AddComponent (EditablePrefabsConfig config, WorldEditorAPI api, ResourceName prefab, string targetPath, IEntitySource entitySource)
 
void EditablePrefabsComponent_Base ()
 

Protected Member Functions

bool SetUIInfo (EditablePrefabsConfig config, WorldEditorAPI api, ResourceName prefab, string targetPath, IEntitySource entitySource, IEntitySource instanceEntitySource, IEntityComponentSource componentSource, IEntityComponentSource componentCurrent)
 
void SetBudgets (WorldEditorAPI api, IEntitySource entitySource, BaseContainer info, BaseContainer infoCurrent, array< ref ContainerIdPathEntry > path, string varName, array< ref SCR_EntityBudgetValue > budgets)
 
void PreserveBudgets (WorldEditorAPI api, BaseContainer infoCurrent, string varName, array< ref SCR_EntityBudgetValue > budgets)
 
void CreatePreviewImage (notnull ResourceManager resourceManager, EditablePrefabsConfig config, WorldEditorAPI api, out string targetPath, IEntitySource entitySource, string addonName)
 
void DeletePreviewImage (EditablePrefabsConfig config, string prefabPath)
 
void MovePreviewImage (EditablePrefabsConfig config, string currentPath, string newPath)
 
bool GetImagePath (EditablePrefabsConfig config, out string prefabPath)
 
void SetEntityFlags (EditablePrefabsConfig config, WorldEditorAPI api, ResourceName prefab, string targetPath, IEntitySource entitySource, IEntityComponentSource componentSource, IEntityComponentSource componentCurrent)
 
bool GetLabelsFromSource (WorldEditorAPI api, EditablePrefabsConfig config, ResourceName prefab, string targetPath, IEntitySource entitySource, IEntityComponentSource componentSource, IEntityComponentSource componentSourceCurrent, notnull array< EEditableEntityLabel > autoLabels, notnull array< EEditableEntityLabel > authoredLabels)
 
void ReadEditableEntityComponent (IEntityComponentSource componentSource, out EEditableEntityType entityType, notnull array< EEditableEntityLabel > authoredLabels)
 
void GetEntityChildrenBudgetCostsFromSource (IEntitySource entitySource, out notnull array< ref SCR_EntityBudgetValue > entityBudgetCosts)
 
void GetEntityBudgetCostsFromVehicle (IEntitySource entitySource, out notnull array< ref SCR_EntityBudgetValue > crewBudgetCosts, out notnull array< ref SCR_EntityBudgetValue > passengerBudgetCosts, out notnull array< ECompartmentType > vehicleCompartmentTypes)
 
void GetEntityBudgetCostsFromGroup (IEntitySource entitySource, out notnull array< ref SCR_EntityBudgetValue > entityBudgetCosts)
 
void GetEntityBudgetCostsFromLinkComponent (IEntitySource entitySource, IEntityComponentSource compositionLinkComponent, out notnull array< ref SCR_EntityBudgetValue > entityBudgetCosts)
 
void AddBudgetCostsFromEntities (array< ResourceName > childPrefabs, out notnull array< ref SCR_EntityBudgetValue > entityBudgetCosts)
 
void AddBudgetCostsFromEntity (IEntitySource entitySource, out notnull array< ref SCR_EntityBudgetValue > entityBudgetCosts)
 

Protected Attributes

string m_sNameFormat
 
string m_sLocKeyFormat
 
ResourceName m_ImagesDirectory
 
ResourceName m_ImagePlaceholder
 
bool m_bUpdateBudgets
 
ref array< ref EditablePrefabsLabel_Basem_EntityLabelRules
 
ResourceName m_EntityCoreConfigPrefab
 
string m_sImagesPath
 
string m_sImagePlaceholderPath
 
string m_sImagePlaceholderSource
 
string m_sImagePlaceholderExt
 
ref SCR_EditableEntityCore m_EntityCoreConfig
 
ref map< EEditableEntityBudget, int > m_MinBudgetCost = new map<EEditableEntityBudget, int>()
 
- Protected Attributes inherited from EditablePrefabsComponent_Base
ResourceName m_Component
 
string m_sClassname
 

Static Protected Attributes

const string IMG_EXTENSION = "edds"
 
const string META_EXTENSION = ".meta"
 

Constructor & Destructor Documentation

◆ EditablePrefabsComponent_EditableEntity()

void EditablePrefabsComponent_EditableEntity.EditablePrefabsComponent_EditableEntity ( )

Member Function Documentation

◆ AddBudgetCostsFromEntities()

void EditablePrefabsComponent_EditableEntity.AddBudgetCostsFromEntities ( array< ResourceName > childPrefabs,
out notnull array< ref SCR_EntityBudgetValue > entityBudgetCosts )
protected

◆ AddBudgetCostsFromEntity()

void EditablePrefabsComponent_EditableEntity.AddBudgetCostsFromEntity ( IEntitySource entitySource,
out notnull array< ref SCR_EntityBudgetValue > entityBudgetCosts )
protected

◆ CreatePreviewImage()

void EditablePrefabsComponent_EditableEntity.CreatePreviewImage ( notnull ResourceManager resourceManager,
EditablePrefabsConfig config,
WorldEditorAPI api,
out string targetPath,
IEntitySource entitySource,
string addonName )
protected

◆ DeletePreviewImage()

void EditablePrefabsComponent_EditableEntity.DeletePreviewImage ( EditablePrefabsConfig config,
string prefabPath )
protected

◆ EOnCreate()

override void EditablePrefabsComponent_EditableEntity.EOnCreate ( EditablePrefabsConfig config,
WorldEditorAPI api,
ResourceName prefab,
string targetPath,
IEntitySource entitySource,
IEntitySource instanceEntitySource,
IEntityComponentSource componentSource,
IEntityComponentSource componentCurrent )
Parameters
[in]config
[in]api
[in]prefab
[in]targetPath
[in]entitySource
[in]instanceEntitySource
[in]componentSource
[in]componentCurrent

Implements EditablePrefabsComponent_Base.

◆ EOnDelete()

override void EditablePrefabsComponent_EditableEntity.EOnDelete ( EditablePrefabsConfig config,
WorldEditorAPI api,
string prefabPath )
Parameters
[in]config
[in]api
[in]prefabPath

Implements EditablePrefabsComponent_Base.

◆ EOnMove()

override void EditablePrefabsComponent_EditableEntity.EOnMove ( EditablePrefabsConfig config,
WorldEditorAPI api,
string currentPath,
string newPath )
Parameters
[in]config
[in]api
[in]currentPath
[in]newPath

Implements EditablePrefabsComponent_Base.

◆ GetEntityBudgetCostsFromGroup()

void EditablePrefabsComponent_EditableEntity.GetEntityBudgetCostsFromGroup ( IEntitySource entitySource,
out notnull array< ref SCR_EntityBudgetValue > entityBudgetCosts )
protected

◆ GetEntityBudgetCostsFromLinkComponent()

void EditablePrefabsComponent_EditableEntity.GetEntityBudgetCostsFromLinkComponent ( IEntitySource entitySource,
IEntityComponentSource compositionLinkComponent,
out notnull array< ref SCR_EntityBudgetValue > entityBudgetCosts )
protected

◆ GetEntityBudgetCostsFromVehicle()

void EditablePrefabsComponent_EditableEntity.GetEntityBudgetCostsFromVehicle ( IEntitySource entitySource,
out notnull array< ref SCR_EntityBudgetValue > crewBudgetCosts,
out notnull array< ref SCR_EntityBudgetValue > passengerBudgetCosts,
out notnull array< ECompartmentType > vehicleCompartmentTypes )
protected

◆ GetEntityChildrenBudgetCostsFromSource()

void EditablePrefabsComponent_EditableEntity.GetEntityChildrenBudgetCostsFromSource ( IEntitySource entitySource,
out notnull array< ref SCR_EntityBudgetValue > entityBudgetCosts )
protected

◆ GetImagePath()

bool EditablePrefabsComponent_EditableEntity.GetImagePath ( EditablePrefabsConfig config,
out string prefabPath )
protected

◆ GetLabelsFromSource()

bool EditablePrefabsComponent_EditableEntity.GetLabelsFromSource ( WorldEditorAPI api,
EditablePrefabsConfig config,
ResourceName prefab,
string targetPath,
IEntitySource entitySource,
IEntityComponentSource componentSource,
IEntityComponentSource componentSourceCurrent,
notnull array< EEditableEntityLabel > autoLabels,
notnull array< EEditableEntityLabel > authoredLabels )
protected

◆ MovePreviewImage()

void EditablePrefabsComponent_EditableEntity.MovePreviewImage ( EditablePrefabsConfig config,
string currentPath,
string newPath )
protected

◆ PreserveBudgets()

void EditablePrefabsComponent_EditableEntity.PreserveBudgets ( WorldEditorAPI api,
BaseContainer infoCurrent,
string varName,
array< ref SCR_EntityBudgetValue > budgets )
protected

◆ ReadEditableEntityComponent()

void EditablePrefabsComponent_EditableEntity.ReadEditableEntityComponent ( IEntityComponentSource componentSource,
out EEditableEntityType entityType,
notnull array< EEditableEntityLabel > authoredLabels )
protected

◆ SetBudgets()

void EditablePrefabsComponent_EditableEntity.SetBudgets ( WorldEditorAPI api,
IEntitySource entitySource,
BaseContainer info,
BaseContainer infoCurrent,
array< ref ContainerIdPathEntry > path,
string varName,
array< ref SCR_EntityBudgetValue > budgets )
protected

◆ SetEntityFlags()

void EditablePrefabsComponent_EditableEntity.SetEntityFlags ( EditablePrefabsConfig config,
WorldEditorAPI api,
ResourceName prefab,
string targetPath,
IEntitySource entitySource,
IEntityComponentSource componentSource,
IEntityComponentSource componentCurrent )
protected

◆ SetUIInfo()

bool EditablePrefabsComponent_EditableEntity.SetUIInfo ( EditablePrefabsConfig config,
WorldEditorAPI api,
ResourceName prefab,
string targetPath,
IEntitySource entitySource,
IEntitySource instanceEntitySource,
IEntityComponentSource componentSource,
IEntityComponentSource componentCurrent )
protected

Member Data Documentation

◆ IMG_EXTENSION

const string EditablePrefabsComponent_EditableEntity.IMG_EXTENSION = "edds"
staticprotected

◆ m_bUpdateBudgets

bool EditablePrefabsComponent_EditableEntity.m_bUpdateBudgets
protected

◆ m_EntityCoreConfig

ref SCR_EditableEntityCore EditablePrefabsComponent_EditableEntity.m_EntityCoreConfig
protected

◆ m_EntityCoreConfigPrefab

ResourceName EditablePrefabsComponent_EditableEntity.m_EntityCoreConfigPrefab
protected

◆ m_EntityLabelRules

ref array<ref EditablePrefabsLabel_Base> EditablePrefabsComponent_EditableEntity.m_EntityLabelRules
protected

◆ m_ImagePlaceholder

ResourceName EditablePrefabsComponent_EditableEntity.m_ImagePlaceholder
protected

◆ m_ImagesDirectory

ResourceName EditablePrefabsComponent_EditableEntity.m_ImagesDirectory
protected

◆ m_MinBudgetCost

ref map<EEditableEntityBudget, int> EditablePrefabsComponent_EditableEntity.m_MinBudgetCost = new map<EEditableEntityBudget, int>()
protected

◆ m_sImagePlaceholderExt

string EditablePrefabsComponent_EditableEntity.m_sImagePlaceholderExt
protected

◆ m_sImagePlaceholderPath

string EditablePrefabsComponent_EditableEntity.m_sImagePlaceholderPath
protected

◆ m_sImagePlaceholderSource

string EditablePrefabsComponent_EditableEntity.m_sImagePlaceholderSource
protected

◆ m_sImagesPath

string EditablePrefabsComponent_EditableEntity.m_sImagesPath
protected

◆ m_sLocKeyFormat

string EditablePrefabsComponent_EditableEntity.m_sLocKeyFormat
protected

◆ m_sNameFormat

string EditablePrefabsComponent_EditableEntity.m_sNameFormat
protected

◆ META_EXTENSION

const string EditablePrefabsComponent_EditableEntity.META_EXTENSION = ".meta"
staticprotected

The documentation for this interface was generated from the following file: