Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_EditorManagerCore Class Reference

Core component to manage SCR_EditorManagerEntity. More...

Inheritance diagram for SCR_EditorManagerCore:

Protected Member Functions

SCR_EditorManagerEntity CreateEditorManager (int playerID)
void DeleteEditorManager (int playerID)
int GetEditorEntities (out notnull array< SCR_EditorManagerEntity > outEditorEntities)
bool SetEditorManager (SCR_EditorManagerEntity entity)
SCR_EditorManagerEntity GetEditorManager ()
SCR_EditorManagerEntity GetEditorManager (int playerID)
SCR_EditorServerEntity GetEditorServer ()
void SetSettingsEntity (SCR_EditorSettingsEntity entity)
SCR_EditorSettingsEntity GetSettingsEntity ()
SCR_EditorModePrefab GetBaseModePrefab (EEditorMode modeType)
EEditorMode GetBaseModes (EEditorModeFlag flags=-1, bool coreOnly=false)
int GetBaseModePrefabs (out notnull array< SCR_EditorModePrefab > outPrefabs, EEditorModeFlag flags=-1, bool coreOnly=false)
int GetBaseModePrefabs (out notnull SCR_SortedArray< SCR_EditorModePrefab > outPrefabs, EEditorModeFlag flags=-1, bool coreOnly=false)
SCR_EditorModeUIInfo GetDefaultModeInfo (EEditorMode modeType)
void OnPlayerRegistered (int playerID)
void OnPlayerDisconnected (int playerID)
void OnPlayerSpawn (int playerID, IEntity controlledEntity)
void OnPlayerKilled (notnull SCR_InstigatorContextData instigatorContextData)
void OnPlayerDeleted (int playerID, IEntity player)
void OnPlayerRoleChange (int playerId, EPlayerRole roleFlags)
override void OnGameStart ()
override void OnGameEnd ()
void SCR_EditorManagerCore ()
void ~SCR_EditorManagerCore ()

Protected Attributes

int m_iRestoreOnReconnectTimeout

Detailed Description

Core component to manage SCR_EditorManagerEntity.

Examples
F:/Games/AReforger/scripts/Game/GameMode/SCR_GameModeEditor.c.

Definition at line 5 of file SCR_EditorManagerCore.c.

Constructor & Destructor Documentation

◆ SCR_EditorManagerCore()

void SCR_EditorManagerCore::SCR_EditorManagerCore ( )
inlineprotected

Definition at line 544 of file SCR_EditorManagerCore.c.

◆ ~SCR_EditorManagerCore()

void SCR_EditorManagerCore::~SCR_EditorManagerCore ( )
inlineprotected

Definition at line 557 of file SCR_EditorManagerCore.c.

Member Function Documentation

◆ CreateEditorManager()

SCR_EditorManagerEntity SCR_EditorManagerCore::CreateEditorManager ( int playerID)
inlineprotected

Definition at line 47 of file SCR_EditorManagerCore.c.

◆ DeleteEditorManager()

void SCR_EditorManagerCore::DeleteEditorManager ( int playerID)
inlineprotected

Definition at line 155 of file SCR_EditorManagerCore.c.

◆ GetBaseModePrefab()

SCR_EditorModePrefab SCR_EditorManagerCore::GetBaseModePrefab ( EEditorMode modeType)
inlineprotected

Get base mode prefab.

Parameters
modeTypeMode type
Returns
SCR_EditorModePrefab

Definition at line 283 of file SCR_EditorManagerCore.c.

◆ GetBaseModePrefabs() [1/2]

int SCR_EditorManagerCore::GetBaseModePrefabs ( out notnull array< SCR_EditorModePrefab > outPrefabs,
EEditorModeFlag flags = -1,
bool coreOnly = false )
inlineprotected

Get prefabs of all base mode types.

Parameters
flagsFlags filter
coreOnlyWhen true, base mode prefab override on SCR_EditorSettingsEntity will be ignored
Returns
Prefabs of base mode types

Definition at line 316 of file SCR_EditorManagerCore.c.

◆ GetBaseModePrefabs() [2/2]

int SCR_EditorManagerCore::GetBaseModePrefabs ( out notnull SCR_SortedArray< SCR_EditorModePrefab > outPrefabs,
EEditorModeFlag flags = -1,
bool coreOnly = false )
inlineprotected

Get sorted prefabs of all base mode types.

Parameters
flagsFlags filter
coreOnlyWhen true, base mode prefab override on SCR_EditorSettingsEntity will be ignored
Returns
Sorted prefabs of base mode types

Definition at line 345 of file SCR_EditorManagerCore.c.

◆ GetBaseModes()

EEditorMode SCR_EditorManagerCore::GetBaseModes ( EEditorModeFlag flags = -1,
bool coreOnly = false )
inlineprotected

Get all base mode types.

Parameters
flagsFlags filter
coreOnlyWhen true, base mode prefab override on SCR_EditorSettingsEntity will be ignored
Returns
Values of base mode types

Definition at line 300 of file SCR_EditorManagerCore.c.

◆ GetDefaultModeInfo()

SCR_EditorModeUIInfo SCR_EditorManagerCore::GetDefaultModeInfo ( EEditorMode modeType)
inlineprotected

Get UI info of given default mode.

Parameters
modeTypeMode type
Returns
UI info

Definition at line 370 of file SCR_EditorManagerCore.c.

◆ GetEditorEntities()

int SCR_EditorManagerCore::GetEditorEntities ( out notnull array< SCR_EditorManagerEntity > outEditorEntities)
inlineprotected

Get the list of all editor entities

Parameters
[out]outEditorEntitiesArray of editor entities

Definition at line 197 of file SCR_EditorManagerCore.c.

◆ GetEditorManager() [1/2]

SCR_EditorManagerEntity SCR_EditorManagerCore::GetEditorManager ( )
inlineprotected

Get local instance of the editor manager.

Returns
Editor manager

Definition at line 229 of file SCR_EditorManagerCore.c.

◆ GetEditorManager() [2/2]

SCR_EditorManagerEntity SCR_EditorManagerCore::GetEditorManager ( int playerID)
inlineprotected

Get editor manager of given player

Parameters
playerIDPlayer ID
Returns
Editor manager

Definition at line 238 of file SCR_EditorManagerCore.c.

◆ GetEditorServer()

SCR_EditorServerEntity SCR_EditorManagerCore::GetEditorServer ( )
inlineprotected

Get editor server entity.

Returns
Editor server entity

Definition at line 249 of file SCR_EditorManagerCore.c.

◆ GetSettingsEntity()

SCR_EditorSettingsEntity SCR_EditorManagerCore::GetSettingsEntity ( )
inlineprotected

Get world-specific editor settings entity.

Returns
Settings entity

Definition at line 274 of file SCR_EditorManagerCore.c.

◆ OnGameEnd()

override void SCR_EditorManagerCore::OnGameEnd ( )
inlineprotected

Definition at line 533 of file SCR_EditorManagerCore.c.

◆ OnGameStart()

override void SCR_EditorManagerCore::OnGameStart ( )
inlineprotected

Definition at line 480 of file SCR_EditorManagerCore.c.

◆ OnPlayerDeleted()

void SCR_EditorManagerCore::OnPlayerDeleted ( int playerID,
IEntity player )
inlineprotected

Definition at line 424 of file SCR_EditorManagerCore.c.

◆ OnPlayerDisconnected()

void SCR_EditorManagerCore::OnPlayerDisconnected ( int playerID)
inlineprotected

Definition at line 397 of file SCR_EditorManagerCore.c.

◆ OnPlayerKilled()

void SCR_EditorManagerCore::OnPlayerKilled ( notnull SCR_InstigatorContextData instigatorContextData)
inlineprotected

Definition at line 416 of file SCR_EditorManagerCore.c.

◆ OnPlayerRegistered()

void SCR_EditorManagerCore::OnPlayerRegistered ( int playerID)
inlineprotected

Definition at line 385 of file SCR_EditorManagerCore.c.

◆ OnPlayerRoleChange()

void SCR_EditorManagerCore::OnPlayerRoleChange ( int playerId,
EPlayerRole roleFlags )
inlineprotected

Definition at line 430 of file SCR_EditorManagerCore.c.

◆ OnPlayerSpawn()

void SCR_EditorManagerCore::OnPlayerSpawn ( int playerID,
IEntity controlledEntity )
inlineprotected

Definition at line 405 of file SCR_EditorManagerCore.c.

◆ SetEditorManager()

bool SCR_EditorManagerCore::SetEditorManager ( SCR_EditorManagerEntity entity)
inlineprotected

Set the local instance of the editor manager. Shows an error when it already exists.

Parameters
entityEditor manager

Definition at line 215 of file SCR_EditorManagerCore.c.

◆ SetSettingsEntity()

void SCR_EditorManagerCore::SetSettingsEntity ( SCR_EditorSettingsEntity entity)
inlineprotected

Assign entity with world-specific editor settings. Will not do anything if settings are already assigned.

Parameters
entitySettings entity

Definition at line 263 of file SCR_EditorManagerCore.c.

Member Data Documentation

◆ m_iRestoreOnReconnectTimeout

int SCR_EditorManagerCore::m_iRestoreOnReconnectTimeout
protected

Definition at line 17 of file SCR_EditorManagerCore.c.


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