Arma Reforger Script API
|
Base editor entity which provides overridable functions. More...
Public Member Functions | |
bool | IsOpened () |
Check if editor is currently opened. | |
SCR_EditorManagerEntity | GetManager () |
Get editor manager. | |
int | FindEditorComponents (out array< SCR_BaseEditorComponent > outComponents) |
Get all editor components. | |
Owner Invokers | |
Script invokers called on owner's machine. | |
ScriptInvoker | GetOnInit () |
Get event which is called when editor is initialized. | |
ScriptInvoker | GetOnRequest () |
Get event which is called when a request to open/close the editor is sent to server. | |
ScriptInvoker | GetOnOpened () |
Get event which is called when editor is opened. | |
ScriptInvoker | GetOnPreActivate () |
Get event which is called before the entity is activated. | |
ScriptInvoker | GetOnActivate () |
Get event which is called when the entity is activated. | |
ScriptInvoker | GetOnPostActivate () |
Get event which is called when the entity is activated, but after all GetOnActivate() functions were called. | |
ScriptInvoker | GetOnDeactivate () |
Get event which is called when the entity is deactivated. | |
ScriptInvoker | GetOnClosed () |
Get event which is called when the editor is closed. | |
ScriptInvoker | GetOnDebug () |
Get event which is called every frame when debug is active. | |
Server Invokers | |
Script invokers called on server. | |
ScriptInvoker | GetOnOpenedServer () |
Get event which is called when editor is initialized. | |
ScriptInvoker | GetOnOpenedServerCallback () |
Get event which is called when editor is initialized. | |
ScriptInvoker | GetOnClosedServer () |
Get event which is called when editor is initialized. | |
ScriptInvoker | GetOnClosedServerCallback () |
Get event which is called when editor is initialized and async loading finishes. | |
ScriptInvoker | GetOnActivateServer () |
Get event which is called when the entity is activated. | |
ScriptInvoker | GetOnDeactivateServer () |
Get event which is called when the entity is deactivated. | |
Protected Member Functions | |
void | InitComponents (bool isServer) |
void | InitComponent (SCR_BaseEditorComponent component, bool isServer) |
Base editor entity which provides overridable functions.
Editor components (SCR_BaseEditorComponent) can be attached only to entities inheriting from this base class.
int SCR_EditorBaseEntity.FindEditorComponents | ( | out array< SCR_BaseEditorComponent > | outComponents | ) |
Get all editor components.
[out] | outComponents | Array to be filled by components (it's not cleared before filling!) |
SCR_EditorManagerEntity SCR_EditorBaseEntity.GetManager | ( | ) |
Get editor manager.
Implemented in SCR_EditorManagerEntity, and SCR_EditorModeEntity.
ScriptInvoker SCR_EditorBaseEntity.GetOnActivate | ( | ) |
Get event which is called when the entity is activated.
Implemented in SCR_EditorManagerEntity, and SCR_EditorModeEntity.
ScriptInvoker SCR_EditorBaseEntity.GetOnActivateServer | ( | ) |
Get event which is called when the entity is activated.
Implemented in SCR_EditorManagerEntity, and SCR_EditorModeEntity.
ScriptInvoker SCR_EditorBaseEntity.GetOnClosed | ( | ) |
Get event which is called when the editor is closed.
Implemented in SCR_EditorManagerEntity, and SCR_EditorModeEntity.
ScriptInvoker SCR_EditorBaseEntity.GetOnClosedServer | ( | ) |
Get event which is called when editor is initialized.
Implemented in SCR_EditorManagerEntity, and SCR_EditorModeEntity.
ScriptInvoker SCR_EditorBaseEntity.GetOnClosedServerCallback | ( | ) |
Get event which is called when editor is initialized and async loading finishes.
Implemented in SCR_EditorManagerEntity, and SCR_EditorModeEntity.
ScriptInvoker SCR_EditorBaseEntity.GetOnDeactivate | ( | ) |
Get event which is called when the entity is deactivated.
Implemented in SCR_EditorManagerEntity, and SCR_EditorModeEntity.
ScriptInvoker SCR_EditorBaseEntity.GetOnDeactivateServer | ( | ) |
Get event which is called when the entity is deactivated.
Implemented in SCR_EditorManagerEntity, and SCR_EditorModeEntity.
ScriptInvoker SCR_EditorBaseEntity.GetOnDebug | ( | ) |
Get event which is called every frame when debug is active.
Implemented in SCR_EditorManagerEntity, and SCR_EditorModeEntity.
ScriptInvoker SCR_EditorBaseEntity.GetOnInit | ( | ) |
Get event which is called when editor is initialized.
Implemented in SCR_EditorManagerEntity, and SCR_EditorModeEntity.
ScriptInvoker SCR_EditorBaseEntity.GetOnOpened | ( | ) |
Get event which is called when editor is opened.
Implemented in SCR_EditorManagerEntity, and SCR_EditorModeEntity.
ScriptInvoker SCR_EditorBaseEntity.GetOnOpenedServer | ( | ) |
Get event which is called when editor is initialized.
Implemented in SCR_EditorManagerEntity, and SCR_EditorModeEntity.
ScriptInvoker SCR_EditorBaseEntity.GetOnOpenedServerCallback | ( | ) |
Get event which is called when editor is initialized.
Implemented in SCR_EditorManagerEntity, and SCR_EditorModeEntity.
ScriptInvoker SCR_EditorBaseEntity.GetOnPostActivate | ( | ) |
Get event which is called when the entity is activated, but after all GetOnActivate() functions were called.
Implemented in SCR_EditorManagerEntity, and SCR_EditorModeEntity.
ScriptInvoker SCR_EditorBaseEntity.GetOnPreActivate | ( | ) |
Get event which is called before the entity is activated.
Implemented in SCR_EditorManagerEntity, and SCR_EditorModeEntity.
ScriptInvoker SCR_EditorBaseEntity.GetOnRequest | ( | ) |
Get event which is called when a request to open/close the editor is sent to server.
Implemented in SCR_EditorManagerEntity, and SCR_EditorModeEntity.
|
protected |
|
protected |
bool SCR_EditorBaseEntity.IsOpened | ( | ) |
Check if editor is currently opened.
Implemented in SCR_EditorManagerEntity, and SCR_EditorModeEntity.