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_ShellConfig.c
Go to the documentation of this file.
1
class
SCR_ShellConfig
2
{
3
protected
EntityPrefabData
m_PrefabData
;
4
protected
float
m_fTime
;
5
protected
bool
m_bUseManualTime
;
6
protected
int
m_iChargeRingConfigId
;
7
8
//------------------------------------------------------------------------------------------------
10
EntityPrefabData
GetPrefabData
()
11
{
12
return
m_PrefabData
;
13
}
14
15
//------------------------------------------------------------------------------------------------
17
float
GetSavedTime
()
18
{
19
return
m_fTime
;
20
}
21
22
//------------------------------------------------------------------------------------------------
24
void
SetSavedTime
(
float
newTime)
25
{
26
m_fTime
= newTime;
27
}
28
29
//------------------------------------------------------------------------------------------------
31
bool
IsUsingManualTime
()
32
{
33
return
m_bUseManualTime
;
34
}
35
36
//------------------------------------------------------------------------------------------------
38
void
SetManualTimeUsage
(
bool
shouldUse)
39
{
40
m_bUseManualTime
= shouldUse;
41
}
42
43
//------------------------------------------------------------------------------------------------
45
int
GetChargeRingConfigId
()
46
{
47
return
m_iChargeRingConfigId
;
48
}
49
50
//------------------------------------------------------------------------------------------------
52
void
SetChargeRingConfigId
(
int
configId)
53
{
54
m_iChargeRingConfigId
= configId;
55
}
56
57
//------------------------------------------------------------------------------------------------
58
// constructor
62
void
SCR_ShellConfig
(notnull
EntityPrefabData
prefabData,
float
time,
bool
useManualTime,
int
chargeRingConfigId = -1)
63
{
64
m_PrefabData
= prefabData;
65
m_fTime
= time;
66
m_bUseManualTime
= useManualTime;
67
m_iChargeRingConfigId
= chargeRingConfigId;
68
}
69
}
EntityPrefabData
Definition
EntityPrefabData.c:19
SCR_ShellConfig::SetChargeRingConfigId
void SetChargeRingConfigId(int configId)
Definition
SCR_ShellConfig.c:52
SCR_ShellConfig::m_iChargeRingConfigId
int m_iChargeRingConfigId
Definition
SCR_ShellConfig.c:6
SCR_ShellConfig::IsUsingManualTime
bool IsUsingManualTime()
Definition
SCR_ShellConfig.c:31
SCR_ShellConfig::SCR_ShellConfig
void SCR_ShellConfig(notnull EntityPrefabData prefabData, float time, bool useManualTime, int chargeRingConfigId=-1)
Definition
SCR_ShellConfig.c:62
SCR_ShellConfig::m_bUseManualTime
bool m_bUseManualTime
Definition
SCR_ShellConfig.c:5
SCR_ShellConfig::SetManualTimeUsage
void SetManualTimeUsage(bool shouldUse)
Definition
SCR_ShellConfig.c:38
SCR_ShellConfig::SetSavedTime
void SetSavedTime(float newTime)
Definition
SCR_ShellConfig.c:24
SCR_ShellConfig::GetChargeRingConfigId
int GetChargeRingConfigId()
Definition
SCR_ShellConfig.c:45
SCR_ShellConfig::m_PrefabData
EntityPrefabData m_PrefabData
Definition
SCR_ShellConfig.c:3
SCR_ShellConfig::GetSavedTime
float GetSavedTime()
Definition
SCR_ShellConfig.c:17
SCR_ShellConfig::GetPrefabData
EntityPrefabData GetPrefabData()
Definition
SCR_ShellConfig.c:10
SCR_ShellConfig::m_fTime
float m_fTime
Definition
SCR_ShellConfig.c:4
scripts
Game
Character
SCR_ShellConfig.c
Generated by
1.17.0