Arma Reforger Explorer
1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Toggle main menu visibility
Loading...
Searching...
No Matches
SCR_BaseEditorHintCondition.c
Go to the documentation of this file.
1
[
BaseContainerProps
(), SCR_BaseContainerHintCondition()]
2
class
SCR_BaseEditorHintCondition
:
SCR_BaseHintCondition
3
{
4
protected
void
OnInitConditionEditor
(
SCR_EditorManagerEntity
editorManager);
5
protected
void
OnExitConditionEditor
(
SCR_EditorManagerEntity
editorManager);
6
7
//------------------------------------------------------------------------------------------------
8
protected
void
OnEditorManagerInitOwner
()
9
{
10
SCR_EditorManagerCore
core =
SCR_EditorManagerCore
.Cast(
SCR_EditorManagerCore
.GetInstance(
SCR_EditorManagerCore
));
11
core.Event_OnEditorManagerInitOwner.Remove(
OnEditorManagerInitOwner
);
12
13
OnInitConditionEditor
(core.
GetEditorManager
());
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
{
26
SCR_EditorManagerCore
core =
SCR_EditorManagerCore
.Cast(
SCR_EditorManagerCore
.GetInstance(
SCR_EditorManagerCore
));
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
}
BaseContainerProps
SCR_AIAnimation_Loitering BaseContainerProps
Commanding menu commanding element class.
Definition
SCR_AIAnimationWaypoint.c:14
SCR_EditorManagerEntity
void SCR_EditorManagerEntity(IEntitySource src, IEntity parent)
Definition
SCR_EditorManagerEntity.c:2211
SCR_BaseEditorHintCondition
Definition
SCR_BaseEditorHintCondition.c:3
SCR_BaseEditorHintCondition::OnEditorManagerInitOwner
void OnEditorManagerInitOwner()
Definition
SCR_BaseEditorHintCondition.c:8
SCR_BaseEditorHintCondition::OnInitConditionEditor
void OnInitConditionEditor(SCR_EditorManagerEntity editorManager)
SCR_BaseEditorHintCondition::OnInitCondition
void OnInitCondition(Managed owner)
Definition
SCR_BaseEditorHintCondition.c:17
SCR_BaseEditorHintCondition::OnExitCondition
void OnExitCondition(Managed owner)
Definition
SCR_BaseEditorHintCondition.c:32
SCR_BaseEditorHintCondition::OnExitConditionEditor
void OnExitConditionEditor(SCR_EditorManagerEntity editorManager)
SCR_BaseHintCondition::SCR_BaseHintCondition
void SCR_BaseHintCondition()
Definition
SCR_BaseHintCondition.c:77
SCR_EditorManagerCore
Core component to manage SCR_EditorManagerEntity.
Definition
SCR_EditorManagerCore.c:6
SCR_EditorManagerCore::GetEditorManager
SCR_EditorManagerEntity GetEditorManager()
Definition
SCR_EditorManagerCore.c:229
scripts
Game
Components
Hints
HintConditions
SCR_BaseEditorHintCondition.c
Generated by
1.17.0