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_WeatherTransitionCallback.c
Go to the documentation of this file.
1
class
SCR_WeatherTransitionCallback
:
BaseWeatherTransitionCallbacks
2
{
3
protected
TimeAndWeatherManagerEntity
m_InstanceToUpdate
;
4
5
//------------------------------------------------------------------------------------------------
6
void
SCR_WeatherTransitionCallback
(notnull
TimeAndWeatherManagerEntity
instanceToUpdate)
7
{
8
m_InstanceToUpdate
= instanceToUpdate;
9
}
10
11
//------------------------------------------------------------------------------------------------
12
override
protected
void
OnStateSetImmediately
()
13
{
14
m_InstanceToUpdate
.OnWeatherChanged_S(
false
);
15
}
16
17
//------------------------------------------------------------------------------------------------
18
override
protected
void
OnNewTransitionSet
(
WeatherStateTransitionNode
oldTransition,
WeatherStateTransitionNode
newTransition)
19
{
20
m_InstanceToUpdate
.OnWeatherChanged_S(
false
);
21
}
22
23
//------------------------------------------------------------------------------------------------
24
override
protected
void
OnTransitionStarted
(
WeatherStateTransitionNode
transition)
25
{
26
m_InstanceToUpdate
.OnWeatherChanged_S(
true
);
27
}
28
}
BaseWeatherTransitionCallbacks
Definition
BaseWeatherTransitionCallbacks.c:8
SCR_WeatherTransitionCallback::OnTransitionStarted
void OnTransitionStarted(WeatherStateTransitionNode transition)
Definition
SCR_WeatherTransitionCallback.c:24
SCR_WeatherTransitionCallback::SCR_WeatherTransitionCallback
void SCR_WeatherTransitionCallback(notnull TimeAndWeatherManagerEntity instanceToUpdate)
Definition
SCR_WeatherTransitionCallback.c:6
SCR_WeatherTransitionCallback::m_InstanceToUpdate
TimeAndWeatherManagerEntity m_InstanceToUpdate
Definition
SCR_WeatherTransitionCallback.c:3
SCR_WeatherTransitionCallback::OnNewTransitionSet
void OnNewTransitionSet(WeatherStateTransitionNode oldTransition, WeatherStateTransitionNode newTransition)
Definition
SCR_WeatherTransitionCallback.c:18
SCR_WeatherTransitionCallback::OnStateSetImmediately
void OnStateSetImmediately()
Definition
SCR_WeatherTransitionCallback.c:12
TimeAndWeatherManagerEntity
Definition
TimeAndWeatherManagerEntity.c:26
WeatherStateTransitionNode
Definition
WeatherStateTransitionNode.c:8
scripts
Game
Map
ComponentsUI
SCR_WeatherTransitionCallback.c
Generated by
1.17.0