Arma Reforger Explorer  1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
SCR_EntityCatalogEditorData.c
Go to the documentation of this file.
1 [BaseContainerProps(configRoot: true), BaseContainerCustomCheckIntWithFlagTitleField(EEditorMode, "m_eValidEditorModes", "m_bEnabled", 1, "EditorData - %1", "DISABLED - EditorData")]
4 {
5  [Attribute("1", desc: "Editor modes the entity can be placed in (If the content Browser component takes data from the catalog). If the mode is not selected than the they cannot be placed in that mode", uiwidget: UIWidgets.Flags, enums: ParamEnumArray.FromEnum(EEditorMode))]
6  protected EEditorMode m_eValidEditorModes;
7 
8  //---------------------------------------------------------------------------------------------
9  // !Check if entry is valid for given mode
10  // !\param[in] editor mode to check for entry
11  // !\return true if mode is valid for this entry
12  bool IsValidInEditorMode(EEditorMode editorMode)
13  {
14  return SCR_Enum.HasFlag(m_eValidEditorModes, editorMode);
15  }
16 
17  //---------------------------------------------------------------------------------------------
19  EEditorMode GetValidEditorModes()
20  {
21  return m_eValidEditorModes;
22  }
23 }
SCR_Enum
Definition: SCR_Enum.c:1
SCR_BaseEntityCatalogData
Definition: SCR_BaseEntityCatalogData.c:5
BaseContainerCustomCheckIntWithFlagTitleField
Attribute for setting a custom format if the given checkVar is equal to checkVarEqual with showing fl...
Definition: Attributes.c:706
desc
UI Textures DeployMenu Briefing conflict_HintBanner_1_UI desc
Definition: SCR_RespawnBriefingComponent.c:17
Attribute
typedef Attribute
Post-process effect of scripted camera.
SCR_EntityCatalogEditorData
Info for which editor modes the entity is added to.
Definition: SCR_EntityCatalogEditorData.c:3
EEditorMode
EEditorMode
Editor mode that defines overall functionality.
Definition: EEditorMode.c:5
BaseContainerProps
SCR_AIGoalReaction_Follow BaseContainerProps
Handles insects that are supposed to be spawned around selected prefabs defined in prefab names array...
Definition: SCR_AIGoalReaction.c:468