DayZ 1.26
DayZ Explorer by KGB
Загрузка...
Поиск...
Не найдено
Файл ObjectTemperatureStateData.c

См. исходные тексты.

Перечисления

enum  EObjectTemperatureState {
  HOT_LVL_FOUR , HOT_LVL_THREE , HOT_LVL_TWO , HOT_LVL_ONE ,
  NEUTRAL , COLD_LVL_ONE , COLD_LVL_TWO , COLD_LVL_THREE ,
  COLD_LVL_FOUR
}
 

Функции

static ObjectTemperatureState GetStateData (int temperature)
 

Переменные

enum EObjectTemperatureState m_State
 
int m_Color
 
string m_LocalizedName
 

Перечисления

◆ EObjectTemperatureState

Элементы перечислений
HOT_LVL_FOUR 
HOT_LVL_THREE 
HOT_LVL_TWO 
HOT_LVL_ONE 
NEUTRAL 
COLD_LVL_ONE 
COLD_LVL_TWO 
COLD_LVL_THREE 
COLD_LVL_FOUR 
2{
12}
@ COLD_LVL_ONE
Definition ObjectTemperatureStateData.c:8
@ COLD_LVL_TWO
Definition ObjectTemperatureStateData.c:9
@ HOT_LVL_ONE
Definition ObjectTemperatureStateData.c:6
@ COLD_LVL_FOUR
Definition ObjectTemperatureStateData.c:11
@ HOT_LVL_TWO
Definition ObjectTemperatureStateData.c:5
@ HOT_LVL_FOUR
Definition ObjectTemperatureStateData.c:3
@ HOT_LVL_THREE
Definition ObjectTemperatureStateData.c:4
@ COLD_LVL_THREE
Definition ObjectTemperatureStateData.c:10
@ NEUTRAL
Definition ObjectTemperatureStateData.c:7

Функции

◆ GetStateData()

static ObjectTemperatureState GetStateData ( int temperature)
static
21 {
23
25 {
26 data.m_State = EObjectTemperatureState.HOT_LVL_FOUR;
28 data.m_LocalizedName = "#inv_inspect_hot_lvl_four";
29 }
31 {
32 data.m_State = EObjectTemperatureState.HOT_LVL_THREE;
34 data.m_LocalizedName = "#inv_inspect_hot_lvl_three";
35 }
37 {
38 data.m_State = EObjectTemperatureState.HOT_LVL_TWO;
40 data.m_LocalizedName = "#inv_inspect_hot_lvl_two";
41 }
43 {
44 data.m_State = EObjectTemperatureState.HOT_LVL_ONE;
46 data.m_LocalizedName = "#inv_inspect_hot_lvl_one";
47 }
49 {
50 data.m_State = EObjectTemperatureState.NEUTRAL;
52 data.m_LocalizedName = "";
53 }
55 {
56 data.m_State = EObjectTemperatureState.COLD_LVL_ONE;
58 data.m_LocalizedName = "#inv_inspect_cold_lvl_one";
59 }
61 {
62 data.m_State = EObjectTemperatureState.COLD_LVL_TWO;
64 data.m_LocalizedName = "#inv_inspect_cold_lvl_two";
65 }
67 {
68 data.m_State = EObjectTemperatureState.COLD_LVL_THREE;
70 data.m_LocalizedName = "#inv_inspect_cold_lvl_three";
71 }
72 else
73 {
74 data.m_State = EObjectTemperatureState.COLD_LVL_FOUR;
76 data.m_LocalizedName = "#inv_inspect_cold_lvl_four";
77 }
78
79 return data;
80 }
EObjectTemperatureState
Definition ObjectTemperatureStateData.c:2
Definition Colors.c:4
const int TEMPERATURE_COLD_LVL_ONE
Definition Colors.c:36
const int TEMPERATURE_HOT_LVL_FOUR
Definition Colors.c:31
const int TEMPERATURE_COLD_LVL_THREE
Definition Colors.c:38
const int TEMPERATURE_COLD_LVL_TWO
Definition Colors.c:37
const int TEMPERATURE_COLD_LVL_FOUR
Definition Colors.c:39
const int TEMPERATURE_HOT_LVL_THREE
Definition Colors.c:32
const int TEMPERATURE_NEUTAL
Definition Colors.c:35
const int TEMPERATURE_HOT_LVL_TWO
Definition Colors.c:33
const int TEMPERATURE_HOT_LVL_ONE
Definition Colors.c:34
Definition constants.c:638
Definition EntityAI.c:95
const int STATE_HOT_LVL_THREE
Definition constants.c:844
const int STATE_COLD_LVL_ONE
Definition constants.c:848
const int STATE_HOT_LVL_TWO
Definition constants.c:845
const int STATE_COLD_LVL_THREE
Definition constants.c:850
const int STATE_HOT_LVL_FOUR
Definition constants.c:843
const int STATE_HOT_LVL_ONE
Definition constants.c:846
const int STATE_NEUTRAL_TEMP
Definition constants.c:847
const int STATE_COLD_LVL_TWO
Definition constants.c:849

Перекрестные ссылки GameConstants::STATE_COLD_LVL_ONE, GameConstants::STATE_COLD_LVL_THREE, GameConstants::STATE_COLD_LVL_TWO, GameConstants::STATE_HOT_LVL_FOUR, GameConstants::STATE_HOT_LVL_ONE, GameConstants::STATE_HOT_LVL_THREE, GameConstants::STATE_HOT_LVL_TWO, GameConstants::STATE_NEUTRAL_TEMP, Colors::TEMPERATURE_COLD_LVL_FOUR, Colors::TEMPERATURE_COLD_LVL_ONE, Colors::TEMPERATURE_COLD_LVL_THREE, Colors::TEMPERATURE_COLD_LVL_TWO, Colors::TEMPERATURE_HOT_LVL_FOUR, Colors::TEMPERATURE_HOT_LVL_ONE, Colors::TEMPERATURE_HOT_LVL_THREE, Colors::TEMPERATURE_HOT_LVL_TWO и Colors::TEMPERATURE_NEUTAL.

Переменные

◆ m_Color

int m_Color

◆ m_LocalizedName

string m_LocalizedName

◆ m_State

Используется в HFSMBase< Class FSMStateBase, Class FSMEventBase, Class FSMActionBase, Class FSMGuardBase >::Abort(), HFSMBase< Class FSMStateBase, Class FSMEventBase, Class FSMActionBase, Class FSMGuardBase >::FindAbortDestinationState(), HFSMBase< Class FSMStateBase, Class FSMEventBase, Class FSMActionBase, Class FSMGuardBase >::FindFirstCompletionTransition(), HFSMBase< Class FSMStateBase, Class FSMEventBase, Class FSMActionBase, Class FSMGuardBase >::FindFirstUnguardedTransition(), HFSMBase< Class FSMStateBase, Class FSMEventBase, Class FSMActionBase, Class FSMGuardBase >::GetCurrentState(), AlarmClock_ColorBase::GetDebugText(), KitchenTimer::GetDebugText(), GetState(), ItemBase::GetState(), Inventory_Base::HescoBox(), HFSMBase< WeaponStateBase, WeaponEventBase, WeaponActionBase, WeaponGuardBase >::Internal_ValidateAndRepair(), IsAlarmOn(), IsRinging(), HFSMBase< Class FSMStateBase, Class FSMEventBase, Class FSMActionBase, Class FSMGuardBase >::IsRunning(), HFSMBase< WeaponStateBase, WeaponEventBase, WeaponActionBase, WeaponGuardBase >::LoadAndSetCurrentFSMState(), HFSMBase< WeaponStateBase, WeaponEventBase, WeaponActionBase, WeaponGuardBase >::LoadCurrentFSMState(), HFSMBase< WeaponStateBase, WeaponEventBase, WeaponActionBase, WeaponGuardBase >::OnFailThresholdBreached(), FireworksLauncher::OnIndexChangedClient(), HFSMBase< WeaponStateBase, WeaponEventBase, WeaponActionBase, WeaponGuardBase >::OnStoreLoad(), FireworksLauncher::OnStoreLoad(), ItemBase::OnStoreLoad(), AlarmClock_ColorBase::OnStoreSave(), FireworksLauncher::OnStoreSave(), KitchenTimer::OnStoreSave(), Inventory_Base::OnStoreSave(), ItemBase::OnStoreSave(), OnStoreSave(), BotStateBase::OnUpdate(), OnVariablesSynchronized(), ItemBase::OnVariablesSynchronized(), ItemBase::Pack(), ItemBase::Pitch(), HFSMBase< Class FSMStateBase, Class FSMEventBase, Class FSMActionBase, Class FSMGuardBase >::ProcessAbortEvent(), HFSMBase< WeaponStateBase, WeaponEventBase, WeaponActionBase, WeaponGuardBase >::ProcessAbortEvent(), HFSMBase< Class FSMStateBase, Class FSMEventBase, Class FSMActionBase, Class FSMGuardBase >::ProcessAbortTransition(), HFSMBase< WeaponStateBase, WeaponEventBase, WeaponActionBase, WeaponGuardBase >::ProcessAbortTransition(), HFSMBase< Class FSMStateBase, Class FSMEventBase, Class FSMActionBase, Class FSMGuardBase >::ProcessEvent(), HFSMBase< WeaponStateBase, WeaponEventBase, WeaponActionBase, WeaponGuardBase >::ProcessEvent(), HFSMBase< Class FSMStateBase, Class FSMEventBase, Class FSMActionBase, Class FSMGuardBase >::ProcessLocalTransition(), HFSMBase< WeaponStateBase, WeaponEventBase, WeaponActionBase, WeaponGuardBase >::ProcessLocalTransition(), HFSMBase< WeaponStateBase, WeaponEventBase, WeaponActionBase, WeaponGuardBase >::RandomizeFSMStateEx(), ItemBase::RefreshPhysics(), SetState(), SetState(), SetState(), Inventory_Base::SetState(), SetState(), StaminaConsumer(), HFSMBase< Class FSMStateBase, Class FSMEventBase, Class FSMActionBase, Class FSMGuardBase >::Start(), HFSMBase< Class FSMStateBase, Class FSMEventBase, Class FSMActionBase, Class FSMGuardBase >::Terminate(), ItemBase::ToggleAnimation(), HFSMBase< Class FSMStateBase, Class FSMEventBase, Class FSMActionBase, Class FSMGuardBase >::Update() и HFSMBase< WeaponStateBase, WeaponEventBase, WeaponActionBase, WeaponGuardBase >::ValidateAndRepairHelper().