Dayz
Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
Toggle main menu visibility
Loading...
Searching...
No Matches
inventoryjunctureswapvalidation.c
Go to the documentation of this file.
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
Definition
inventoryitem.c:2
InventoryJunctureSwapValidation::m_DstItem1
EntityAI m_DstItem1
Definition
inventoryjunctureswapvalidation.c:15
InventoryJunctureSwapValidation::m_DstItem2
EntityAI m_DstItem2
Definition
inventoryjunctureswapvalidation.c:16
InventoryJunctureSwapValidation::m_SrcItem2
EntityAI m_SrcItem2
Definition
inventoryjunctureswapvalidation.c:10
InventoryJunctureSwapValidation::m_SkippedSwap
bool m_SkippedSwap
Definition
inventoryjunctureswapvalidation.c:4
InventoryJunctureSwapValidation::m_SrcItem1
EntityAI m_SrcItem1
Definition
inventoryjunctureswapvalidation.c:9
InventoryJunctureSwapValidation::m_Src2
ref InventoryLocation m_Src2
Definition
inventoryjunctureswapvalidation.c:7
InventoryJunctureSwapValidation::m_Dst1
ref InventoryLocation m_Dst1
Definition
inventoryjunctureswapvalidation.c:12
InventoryJunctureSwapValidation::m_Success
bool m_Success
Definition
inventoryjunctureswapvalidation.c:3
InventoryJunctureSwapValidation::m_Dst2
ref InventoryLocation m_Dst2
Definition
inventoryjunctureswapvalidation.c:13
InventoryJunctureSwapValidation::m_Src1
ref InventoryLocation m_Src1
Definition
inventoryjunctureswapvalidation.c:6
InventoryJunctureSwapValidation::InventoryJunctureSwapValidation
void InventoryJunctureSwapValidation(Serializer ctx)
Definition
inventoryjunctureswapvalidation.c:18
InventoryLocation
InventoryLocation.
Definition
inventorylocation.c:30
Serializer
Serialization general interface.
Definition
serializer.c:56
Serializer::Read
proto bool Read(void value_in)
Games
Dayz
scripts
4_world
systems
inventory
inventoryjunctureswapvalidation.c
Generated by
1.17.0