DayZ 1.26
DayZ Explorer by KGB
Загрузка...
Поиск...
Не найдено
Класс ContaminatedArea_Base
+ Граф наследования:ContaminatedArea_Base:

Закрытые члены

override void OnPlayerEnterServer (PlayerBase player, EffectTrigger trigger)
 
override void OnPlayerExitServer (PlayerBase player, EffectTrigger trigger)
 
override void InitZoneClient ()
 
override void EEDelete (EntityAI parent)
 

Подробное описание

Методы

◆ EEDelete()

override void EEDelete ( EntityAI parent)
inlineprivate
23 {
24 super.EEDelete(parent);
25
26 if (!g_Game.IsServer())
27 g_Game.GetMission().GetDynamicMusicPlayer().UnregisterDynamicLocation(this);
28 }
DayZGame g_Game
Definition DayZGame.c:3815
Definition EntityAI.c:95

Перекрестные ссылки g_Game.

◆ InitZoneClient()

override void InitZoneClient ( )
inlineprivate
16 {
17 super.InitZoneClient();
18
19 g_Game.GetMission().GetDynamicMusicPlayer().RegisterDynamicLocation(this, DynamicMusicLocationTypes.CONTAMINATED_ZONE, m_Radius);
20 }
float m_Radius
Definition AIGroupBehaviour.c:10
Definition DynamicMusicPlayer.c:5
const int CONTAMINATED_ZONE
Definition DynamicMusicPlayer.c:7

Перекрестные ссылки DynamicMusicLocationTypes::CONTAMINATED_ZONE, g_Game и m_Radius.

◆ OnPlayerEnterServer()

override void OnPlayerEnterServer ( PlayerBase player,
EffectTrigger trigger )
inlineprivate
4 {
5 super.OnPlayerEnterServer(player, trigger);
6 player.IncreaseContaminatedAreaCount();
7 }

◆ OnPlayerExitServer()

override void OnPlayerExitServer ( PlayerBase player,
EffectTrigger trigger )
inlineprivate
10 {
11 super.OnPlayerExitServer(player, trigger);
12 player.DecreaseContaminatedAreaCount();
13 }

Объявления и описания членов класса находятся в файле: