Arma Reforger Explorer
1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
SCR_VehicleBuoyancyComponent.c
Go to the documentation of this file.
1
class
SCR_VehicleBuoyancyComponentClass
:
VehicleBuoyancyComponentClass
2
{
3
}
4
5
//----------------------------------------------------------------------------
6
class
SCR_VehicleBuoyancyComponent :
VehicleBuoyancyComponent
7
{
8
protected
ref
ScriptInvokerVoid
m_OnWaterEnter
;
9
protected
ref
ScriptInvokerVoid
m_OnWaterExit
;
10
11
//----------------------------------------------------------------------------
12
ScriptInvokerVoid
GetOnWaterEnter
()
13
{
14
if
(!
m_OnWaterEnter
)
15
m_OnWaterEnter
=
new
ScriptInvokerVoid
();
16
17
return
m_OnWaterEnter
;
18
}
19
20
//----------------------------------------------------------------------------
21
ScriptInvokerVoid
GetOnWaterExit
()
22
{
23
if
(!
m_OnWaterExit
)
24
m_OnWaterExit
=
new
ScriptInvokerVoid
();
25
26
return
m_OnWaterExit
;
27
}
28
29
//----------------------------------------------------------------------------
30
override
void
OnEnterWater
()
31
{
32
if
(
m_OnWaterEnter
)
33
m_OnWaterEnter
.Invoke();
34
}
35
36
//----------------------------------------------------------------------------
37
override
void
OnExitWater
()
38
{
39
if
(
m_OnWaterExit
)
40
m_OnWaterExit
.Invoke();
41
}
42
}
GetOnWaterExit
ScriptInvokerVoid GetOnWaterExit()
Definition:
SCR_VehicleBuoyancyComponent.c:21
m_OnWaterEnter
SCR_VehicleBuoyancyComponentClass m_OnWaterEnter
VehicleBuoyancyComponentClass
Definition:
VehicleBuoyancyComponentClass.c:12
SCR_VehicleBuoyancyComponentClass
Definition:
SCR_VehicleBuoyancyComponent.c:1
m_OnWaterExit
protected ref ScriptInvokerVoid m_OnWaterExit
Definition:
SCR_VehicleBuoyancyComponent.c:9
ScriptInvokerVoid
ScriptInvokerBase< ScriptInvokerVoidMethod > ScriptInvokerVoid
Definition:
SCR_ScriptInvokerHelper.c:9
OnEnterWater
override void OnEnterWater()
Definition:
SCR_VehicleBuoyancyComponent.c:30
GetOnWaterEnter
ScriptInvokerVoid GetOnWaterEnter()
Definition:
SCR_VehicleBuoyancyComponent.c:12
OnExitWater
override void OnExitWater()
Definition:
SCR_VehicleBuoyancyComponent.c:37
VehicleBuoyancyComponent
Definition:
VehicleBuoyancyComponent.c:12
scripts_Arma_Reforger_v1.1.0.42
scripts
Game
Components
SCR_VehicleBuoyancyComponent.c
Generated by
1.8.17