DayZ 1.27
DayZ Explorer by KGB
 
Загрузка...
Поиск...
Не найдено

◆ OnStoreLoad() [9/9]

override bool ItemBase::OnStoreLoad ( ParamsReadContext ctx,
int version )
inlineprotected

См. определение в файле TrapSpawnBase.c строка 110

111 {
112 if ( !super.OnStoreLoad(ctx, version) )
113 return false;
114
115 m_IsStoreLoad = true;
116
117 bool b_is_active = false;
118 if ( !ctx.Read( b_is_active ) )
119 b_is_active = false;
120
121 bool b_is_in_progress = false;
122 if (version < 139)
123 {
124 if ( !ctx.Read( b_is_in_progress ) )
125 b_is_in_progress = false;
126 }
127
128 bool b_is_deployed = false;
129 if ( !ctx.Read( b_is_deployed ) )
130 b_is_deployed = false;
131
132 if (version >= 139)
133 {
134 int enviroMask;
135 if (ctx.Read(enviroMask))
136 m_CatchEnviroMask = enviroMask;
137 }
138
139 if (b_is_active)
140 {
142 SetActive();
143 }
144
145 SetDeployed( b_is_deployed );
146
147 m_IsStoreLoad = false;
148 return true;
149 }
bool m_IsStoreLoad
Определения ItemBase.c:4838
void InitCatchingComponent()
void SetActive()
Определения TrapSpawnBase.c:328
void SetDeployed(bool newState)
Определения TrapSpawnBase.c:174
int m_CatchEnviroMask
Определения TrapSpawnBase.c:26
proto bool Read(void value_in)

Перекрестные ссылки TrapSpawnBase::InitCatchingComponent(), m_CatchEnviroMask, m_IsStoreLoad, Serializer::Read(), SetActive() и SetDeployed().