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_AvailableActionCondition.c
Go to the documentation of this file.
1
2
[
BaseContainerProps
()]
3
class
SCR_AvailableActionCondition
4
{
5
[
Attribute
(
"1"
,
UIWidgets
.CheckBox)]
6
protected
bool
m_bEnabled
;
7
8
[
Attribute
(
"0"
,
UIWidgets
.CheckBox)]
9
protected
bool
m_bNegateCondition
;
10
11
//------------------------------------------------------------------------------------------------
14
bool
IsEnabled
()
15
{
16
return
m_bEnabled
;
17
}
18
19
//------------------------------------------------------------------------------------------------
22
protected
bool
GetReturnResult
(
bool
desiredResult)
23
{
24
if
(
m_bNegateCondition
)
25
return
!desiredResult;
26
27
return
desiredResult;
28
}
29
30
//------------------------------------------------------------------------------------------------
35
bool
IsAvailable
(notnull
SCR_AvailableActionsConditionData
data
)
36
{
37
return
GetReturnResult
(
true
);
38
}
39
}
BaseContainerProps
SCR_AIAnimation_Loitering BaseContainerProps
Commanding menu commanding element class.
Definition
SCR_AIAnimationWaypoint.c:14
data
Get all prefabs that have the spawner data
Definition
SCR_EntityCatalogManagerComponent.c:320
SCR_AvailableActionCondition
A single available action condition representation.
Definition
SCR_AvailableActionCondition.c:4
SCR_AvailableActionCondition::GetReturnResult
bool GetReturnResult(bool desiredResult)
Definition
SCR_AvailableActionCondition.c:22
SCR_AvailableActionCondition::IsAvailable
bool IsAvailable(notnull SCR_AvailableActionsConditionData data)
Definition
SCR_AvailableActionCondition.c:35
SCR_AvailableActionCondition::IsEnabled
bool IsEnabled()
Definition
SCR_AvailableActionCondition.c:14
SCR_AvailableActionCondition::m_bNegateCondition
bool m_bNegateCondition
Definition
SCR_AvailableActionCondition.c:9
SCR_AvailableActionCondition::m_bEnabled
bool m_bEnabled
Definition
SCR_AvailableActionCondition.c:6
SCR_AvailableActionsConditionData
Definition
SCR_AvailableActionsConditionData.c:6
UIWidgets
Definition
attributes.c:40
Attribute
SCR_FieldOfViewSettings Attribute
Definition
SendGoalMessage.c:170
scripts
Game
UI
HUD
AvailableActions
SCR_AvailableActionCondition.c
Generated by
1.17.0