DayZ
1.29
DayZ Explorer by KGB
Загрузка...
Поиск...
Не найдено
InventoryJunctureSwapValidation.c
См. документацию.
1
class
InventoryJunctureSwapValidation
2
{
3
bool
m_Success
;
4
bool
m_SkippedSwap
;
5
6
ref
InventoryLocation
m_Src1
;
7
ref
InventoryLocation
m_Src2
;
8
9
EntityAI
m_SrcItem1
;
10
EntityAI
m_SrcItem2
;
11
12
ref
InventoryLocation
m_Dst1
;
13
ref
InventoryLocation
m_Dst2
;
14
15
EntityAI
m_DstItem1
;
16
EntityAI
m_DstItem2
;
17
18
void
InventoryJunctureSwapValidation
(
Serializer
ctx)
19
{
20
m_Success
=
true
;
21
m_SkippedSwap
=
false
;
22
23
m_Src1
=
new
InventoryLocation
;
24
m_Src2
=
new
InventoryLocation
;
25
26
m_Dst1
=
new
InventoryLocation
;
27
m_Dst2
=
new
InventoryLocation
;
28
29
m_Src1
.ReadFromContext(ctx);
30
m_Src2
.ReadFromContext(ctx);
31
m_Dst1
.ReadFromContext(ctx);
32
m_Dst2
.ReadFromContext(ctx);
33
ctx.
Read
(
m_SkippedSwap
);
34
35
m_SrcItem1
=
m_Src1
.GetItem();
36
m_SrcItem2
=
m_Src2
.GetItem();
37
38
m_DstItem1
=
m_Dst1
.GetItem();
39
m_DstItem2
=
m_Dst2
.GetItem();
40
}
41
}
EntityAI
Определения
3_Game/DayZ/Entities/InventoryItem.c:2
InventoryJunctureSwapValidation::m_Src2
ref InventoryLocation m_Src2
Определения
InventoryJunctureSwapValidation.c:7
InventoryJunctureSwapValidation::m_Src1
ref InventoryLocation m_Src1
Определения
InventoryJunctureSwapValidation.c:6
InventoryJunctureSwapValidation::m_SrcItem1
EntityAI m_SrcItem1
Определения
InventoryJunctureSwapValidation.c:9
InventoryJunctureSwapValidation::m_Success
bool m_Success
Определения
InventoryJunctureSwapValidation.c:3
InventoryJunctureSwapValidation::m_SkippedSwap
bool m_SkippedSwap
Определения
InventoryJunctureSwapValidation.c:4
InventoryJunctureSwapValidation::InventoryJunctureSwapValidation
void InventoryJunctureSwapValidation(Serializer ctx)
Определения
InventoryJunctureSwapValidation.c:18
InventoryJunctureSwapValidation::m_SrcItem2
EntityAI m_SrcItem2
Определения
InventoryJunctureSwapValidation.c:10
InventoryJunctureSwapValidation::m_DstItem1
EntityAI m_DstItem1
Определения
InventoryJunctureSwapValidation.c:15
InventoryJunctureSwapValidation::m_Dst1
ref InventoryLocation m_Dst1
Определения
InventoryJunctureSwapValidation.c:12
InventoryJunctureSwapValidation::m_DstItem2
EntityAI m_DstItem2
Определения
InventoryJunctureSwapValidation.c:16
InventoryJunctureSwapValidation::m_Dst2
ref InventoryLocation m_Dst2
Определения
InventoryJunctureSwapValidation.c:13
InventoryLocation
InventoryLocation.
Определения
InventoryLocation.c:30
Serializer::Read
proto bool Read(void value_in)
Serializer
Serialization general interface. Serializer API works with:
Определения
Serializer.c:56
Ishodniki
scripts
4_World
DayZ
Systems
Inventory
InventoryJunctureSwapValidation.c
Создано системой
1.13.2