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_BaseEntitiesEditorUIEffect.c
Go to the documentation of this file.
1
[
BaseContainerProps
(), SCR_BaseEntitiesEditorUIEffectTitle()]
2
class
SCR_BaseEntitiesEditorUIEffect
3
{
4
[
Attribute
(defvalue:
"1"
, uiwidget:
UIWidgets
.ComboBox,
desc
:
"State on which this effect is applied to."
, enums: ParamEnumArray.FromEnum(
EEditableEntityState
))]
5
private
EEditableEntityState
m_State;
6
7
//------------------------------------------------------------------------------------------------
9
EEditableEntityState
GetState
()
10
{
11
return
m_State;
12
}
13
14
//------------------------------------------------------------------------------------------------
17
void
ApplyOn(
Widget
w)
18
{
19
Print
(
"ApplyOn() called on base class SCR_BaseEntitiesEditorUIEffect. Please use one of specialized variants."
,
LogLevel
.WARNING);
20
}
21
}
22
23
class
SCR_BaseEntitiesEditorUIEffectTitle :
BaseContainerCustomTitle
24
{
25
//------------------------------------------------------------------------------------------------
26
override
bool
_WB_GetCustomTitle
(
BaseContainer
source, out
string
title)
27
{
28
int
enumValue;
29
if
(!source.Get(
"m_State"
, enumValue))
30
return
false
;
31
32
title = source.GetClassName();
33
title.Replace(
"SCR_"
,
""
);
34
title.Replace(
"EntitiesEditorUIEffect"
,
""
);
35
36
title +=
": "
+
typename
.EnumToString(
EEditableEntityState
, enumValue);
37
return
true
;
38
}
39
}
BaseContainerProps
SCR_AIAnimation_Loitering BaseContainerProps
Commanding menu commanding element class.
Definition
SCR_AIAnimationWaypoint.c:14
desc
UI Textures DeployMenu Briefing conflict_HintBanner_1_UI desc
Definition
SCR_RespawnBriefingComponent.c:17
BaseContainerCustomTitle
Definition
BaseContainerCustomTitle.c:35
BaseContainer
Definition
BaseContainer.c:13
SCR_BaseEntitiesEditorUIEffect
Definition
SCR_BaseEntitiesEditorUIEffect.c:3
UIWidgets
Definition
attributes.c:40
Widget
Definition
Widget.c:13
Print
proto void Print(void var, LogLevel level=LogLevel.NORMAL)
Prints content of variable to console/log.
LogLevel
LogLevel
Enum with severity of the logging message.
Definition
LogLevel.c:14
EEditableEntityState
EEditableEntityState
Definition
EEditableEntityState.c:38
Attribute
SCR_FieldOfViewSettings Attribute
Definition
SendGoalMessage.c:170
_WB_GetCustomTitle
class SCR_BaseManualCameraComponent _WB_GetCustomTitle(BaseContainer source, out string title)
Definition
SCR_BaseManualCameraComponent.c:141
GetState
proto external EParticleEffectState GetState()
Definition
SCR_BaseEntitiesEditorUIEffect.c:32
scripts
Game
Editor
UI
Components
EditableEntityFilters
Effects
SCR_BaseEntitiesEditorUIEffect.c
Generated by
1.17.0