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

◆ OnStoreLoad()

override bool OnStoreLoad ( ParamsReadContext ctx,
int version )
protected

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

100 {
101 if ( !super.OnStoreLoad( ctx, version ) )
102 return false;
103
104 //--- Combination Lock data ---
105 //combination
106 if ( !ctx.Read( m_Combination ) )
107 {
108 m_Combination = 0;
109 return false;
110 }
111
112 //combination locked
113 if ( !ctx.Read( m_CombinationLocked ) )
114 {
116 return false;
117 }
118
119 //is lock attached
120 if ( version < 105 ) //removed in 105
121 {
122 bool is_lock_attached;
123 if ( !ctx.Read( is_lock_attached ) )
124 {
125 return false;
126 }
127 }
128
129 return true;
130 }
int m_Combination
Определения CombinationLock.c:15
int m_CombinationLocked
Определения CombinationLock.c:16
proto bool Read(void value_in)

Перекрестные ссылки m_Combination, m_CombinationLocked и Serializer::Read().