|
Arma Reforger Script API
|
Editor mode entity. More...
Public Member Functions | |
| EEditorMode | GetModeType () |
| Get type of this mode. | |
| int | GetOrder () |
| Get order of the mode. | |
| SCR_UIInfo | GetInfo () |
| Get GUI info representing the mode. | |
| bool | IsLimited () |
| Check if the mode is marked as limited. | |
| bool | ShouldCloseAfterRemoval () |
| bool | IsCurrent () |
| Check if the mode is currently active. | |
| void | PreActivateMode () |
| void | ActivateMode (bool isInit=false) |
| void | PostActivateMode () |
| void | DeactivateMode () |
| void | ActivateModeServer () |
| void | DeactivateModeServer () |
| bool | SendNotificationLocalOnly () |
| If true will only notify the local player when the mode is added or removed else it sends it to all GMs and local player. | |
| bool | GetPreventClose () |
| ENotification | GetOnAddNotification () |
| Returns enum for on Add notification. | |
| ENotification | GetOnRemoveNotification () |
| Returns enum for on Remove notification. | |
| override ScriptInvoker | GetOnInit () |
| Get event which is called when editor is initialized. | |
| override ref ScriptInvoker | GetOnRequest () |
| Get event which is called when a request to open/close the editor is sent to server. | |
| override ref ScriptInvoker | GetOnOpened () |
| Get event which is called when editor is opened. | |
| override ref ScriptInvoker | GetOnOpenedServer () |
| Get event which is called when editor is initialized. | |
| override ref ScriptInvoker | GetOnOpenedServerCallback () |
| Get event which is called when editor is initialized. | |
| override ScriptInvoker | GetOnPreActivate () |
| Get event which is called before the entity is activated. | |
| override ScriptInvoker | GetOnActivate () |
| Get event which is called when the entity is activated. | |
| override ScriptInvoker | GetOnPostActivate () |
| Get event which is called when the entity is activated, but after all GetOnActivate() functions were called. | |
| override ScriptInvoker | GetOnDeactivate () |
| Get event which is called when the entity is deactivated. | |
| override ScriptInvoker | GetOnClosed () |
| Get event which is called when the editor is closed. | |
| override ref ScriptInvoker | GetOnClosedServer () |
| Get event which is called when editor is initialized. | |
| override ref ScriptInvoker | GetOnClosedServerCallback () |
| Get event which is called when editor is initialized and async loading finishes. | |
| override ScriptInvoker | GetOnActivateServer () |
| Get event which is called when the entity is activated. | |
| override ScriptInvoker | GetOnDeactivateServer () |
| Get event which is called when the entity is deactivated. | |
| override ScriptInvoker | GetOnDebug () |
| Get event which is called every frame when debug is active. | |
| override bool | IsOpened () |
| Check if editor is currently opened. | |
| override SCR_EditorManagerEntity | GetManager () |
| Get editor manager. | |
| void | InitServer (SCR_EditorManagerEntity editorManager) |
| void | InitOwner () |
| void | SCR_EditorModeEntity (IEntitySource src, IEntity parent) |
| void | ~SCR_EditorModeEntity () |
Public Member Functions inherited from SCR_EditorBaseEntity | |
| int | FindEditorComponents (out array< SCR_BaseEditorComponent > outComponents) |
| Get all editor components. | |
Static Public Member Functions | |
| static SCR_EditorModeEntity | GetInstance () |
| Get current editor mode entity. | |
Protected Attributes | |
| ENotification | m_ModeAddedNotification |
| ENotification | m_ModeRemovedNotification |
| bool | m_bSendNotificationLocalOnly |
| bool | m_bPreventClose |
Additional Inherited Members | |
Protected Member Functions inherited from SCR_EditorBaseEntity | |
| void | InitComponents (bool isServer) |
| void | InitComponent (SCR_BaseEditorComponent component, bool isServer) |
Editor mode entity.
Must be a child of SCR_EditorManagerEntity.
| void SCR_EditorModeEntity.SCR_EditorModeEntity | ( | IEntitySource | src, |
| IEntity | parent ) |
| void SCR_EditorModeEntity.~SCR_EditorModeEntity | ( | ) |
| void SCR_EditorModeEntity.ActivateMode | ( | bool | isInit = false | ) |
| void SCR_EditorModeEntity.ActivateModeServer | ( | ) |
| void SCR_EditorModeEntity.DeactivateMode | ( | ) |
| void SCR_EditorModeEntity.DeactivateModeServer | ( | ) |
| SCR_UIInfo SCR_EditorModeEntity.GetInfo | ( | ) |
Get GUI info representing the mode.
|
static |
Get current editor mode entity.
| override SCR_EditorManagerEntity SCR_EditorModeEntity.GetManager | ( | ) |
| EEditorMode SCR_EditorModeEntity.GetModeType | ( | ) |
Get type of this mode.
| override ScriptInvoker SCR_EditorModeEntity.GetOnActivate | ( | ) |
Get event which is called when the entity is activated.
Implements SCR_EditorBaseEntity.
| override ScriptInvoker SCR_EditorModeEntity.GetOnActivateServer | ( | ) |
Get event which is called when the entity is activated.
Implements SCR_EditorBaseEntity.
| ENotification SCR_EditorModeEntity.GetOnAddNotification | ( | ) |
Returns enum for on Add notification.
| override ScriptInvoker SCR_EditorModeEntity.GetOnClosed | ( | ) |
Get event which is called when the editor is closed.
Implements SCR_EditorBaseEntity.
| override ref ScriptInvoker SCR_EditorModeEntity.GetOnClosedServer | ( | ) |
Get event which is called when editor is initialized.
Implements SCR_EditorBaseEntity.
| override ref ScriptInvoker SCR_EditorModeEntity.GetOnClosedServerCallback | ( | ) |
Get event which is called when editor is initialized and async loading finishes.
Implements SCR_EditorBaseEntity.
| override ScriptInvoker SCR_EditorModeEntity.GetOnDeactivate | ( | ) |
Get event which is called when the entity is deactivated.
Implements SCR_EditorBaseEntity.
| override ScriptInvoker SCR_EditorModeEntity.GetOnDeactivateServer | ( | ) |
Get event which is called when the entity is deactivated.
Implements SCR_EditorBaseEntity.
| override ScriptInvoker SCR_EditorModeEntity.GetOnDebug | ( | ) |
Get event which is called every frame when debug is active.
Implements SCR_EditorBaseEntity.
| override ScriptInvoker SCR_EditorModeEntity.GetOnInit | ( | ) |
Get event which is called when editor is initialized.
Implements SCR_EditorBaseEntity.
| override ref ScriptInvoker SCR_EditorModeEntity.GetOnOpened | ( | ) |
Get event which is called when editor is opened.
Implements SCR_EditorBaseEntity.
| override ref ScriptInvoker SCR_EditorModeEntity.GetOnOpenedServer | ( | ) |
Get event which is called when editor is initialized.
Implements SCR_EditorBaseEntity.
| override ref ScriptInvoker SCR_EditorModeEntity.GetOnOpenedServerCallback | ( | ) |
Get event which is called when editor is initialized.
Implements SCR_EditorBaseEntity.
| override ScriptInvoker SCR_EditorModeEntity.GetOnPostActivate | ( | ) |
Get event which is called when the entity is activated, but after all GetOnActivate() functions were called.
Implements SCR_EditorBaseEntity.
| override ScriptInvoker SCR_EditorModeEntity.GetOnPreActivate | ( | ) |
Get event which is called before the entity is activated.
Implements SCR_EditorBaseEntity.
| ENotification SCR_EditorModeEntity.GetOnRemoveNotification | ( | ) |
Returns enum for on Remove notification.
| override ref ScriptInvoker SCR_EditorModeEntity.GetOnRequest | ( | ) |
Get event which is called when a request to open/close the editor is sent to server.
Implements SCR_EditorBaseEntity.
| int SCR_EditorModeEntity.GetOrder | ( | ) |
Get order of the mode.
| bool SCR_EditorModeEntity.GetPreventClose | ( | ) |
| void SCR_EditorModeEntity.InitOwner | ( | ) |
| void SCR_EditorModeEntity.InitServer | ( | SCR_EditorManagerEntity | editorManager | ) |
| bool SCR_EditorModeEntity.IsCurrent | ( | ) |
Check if the mode is currently active.
| bool SCR_EditorModeEntity.IsLimited | ( | ) |
Check if the mode is marked as limited.
| override bool SCR_EditorModeEntity.IsOpened | ( | ) |
| void SCR_EditorModeEntity.PostActivateMode | ( | ) |
| void SCR_EditorModeEntity.PreActivateMode | ( | ) |
| bool SCR_EditorModeEntity.SendNotificationLocalOnly | ( | ) |
If true will only notify the local player when the mode is added or removed else it sends it to all GMs and local player.
| bool SCR_EditorModeEntity.ShouldCloseAfterRemoval | ( | ) |
|
protected |
|
protected |
|
protected |
|
protected |