Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_BaseEditorHintCondition.c
Go to the documentation of this file.
1[BaseContainerProps(), SCR_BaseContainerHintCondition()]
3{
4 protected void OnInitConditionEditor(SCR_EditorManagerEntity editorManager);
5 protected void OnExitConditionEditor(SCR_EditorManagerEntity editorManager);
6
7 //------------------------------------------------------------------------------------------------
8 protected void OnEditorManagerInitOwner()
9 {
11 core.Event_OnEditorManagerInitOwner.Remove(OnEditorManagerInitOwner);
12
14 }
15
16 //------------------------------------------------------------------------------------------------
17 override protected void OnInitCondition(Managed owner)
18 {
19 SCR_EditorManagerEntity editorManager = SCR_EditorManagerEntity.GetInstance();
20 if (editorManager)
21 {
22 OnInitConditionEditor(editorManager);
23 }
24 else
25 {
27 core.Event_OnEditorManagerInitOwner.Insert(OnEditorManagerInitOwner);
28 }
29 }
30
31 //------------------------------------------------------------------------------------------------
32 override protected void OnExitCondition(Managed owner)
33 {
34 SCR_EditorManagerEntity editorManager = SCR_EditorManagerEntity.GetInstance();
35 if (editorManager)
36 OnExitConditionEditor(editorManager);
37 }
38}
SCR_AIAnimation_Loitering BaseContainerProps
Commanding menu commanding element class.
void SCR_EditorManagerEntity(IEntitySource src, IEntity parent)
void OnInitConditionEditor(SCR_EditorManagerEntity editorManager)
void OnExitConditionEditor(SCR_EditorManagerEntity editorManager)
Core component to manage SCR_EditorManagerEntity.
SCR_EditorManagerEntity GetEditorManager()