@@ -12,8 +12,10 @@ namespace NitroxModel.Packets
12
12
{
13
13
[ Serializable ]
14
14
public class InitialPlayerSync : Packet
15
- {
15
+ {
16
+ #if SUBNAUTICA
16
17
public NitroxId AssignedEscapePodId { get ; }
18
+ #endif
17
19
public List < EquippedItemData > EquippedItems { get ; }
18
20
public List < BasePiece > BasePieces { get ; }
19
21
public List < NitroxTechType > UsedItems { get ; }
@@ -36,7 +38,9 @@ public class InitialPlayerSync : Packet
36
38
37
39
public InitialPlayerSync ( NitroxId playerGameObjectId ,
38
40
bool firstTimeConnecting ,
41
+ #if SUBNAUTICA
39
42
NitroxId assignedEscapePodId ,
43
+ #endif
40
44
IEnumerable < EquippedItemData > equipment ,
41
45
IEnumerable < BasePiece > basePieces ,
42
46
IEnumerable < NitroxTechType > usedItems ,
@@ -55,7 +59,9 @@ public InitialPlayerSync(NitroxId playerGameObjectId,
55
59
SubnauticaPlayerPreferences preferences ,
56
60
TimeData timeData )
57
61
{
62
+ #if SUBNAUTICA
58
63
AssignedEscapePodId = assignedEscapePodId ;
64
+ #endif
59
65
PlayerGameObjectId = playerGameObjectId ;
60
66
FirstTimeConnecting = firstTimeConnecting ;
61
67
EquippedItems = equipment . ToList ( ) ;
@@ -79,7 +85,9 @@ public InitialPlayerSync(NitroxId playerGameObjectId,
79
85
80
86
/// <remarks>Used for deserialization</remarks>
81
87
public InitialPlayerSync (
88
+ #if SUBNAUTICA
82
89
NitroxId assignedEscapePodId ,
90
+ #endif
83
91
List < EquippedItemData > equippedItems ,
84
92
List < BasePiece > basePieces ,
85
93
List < NitroxTechType > usedItems ,
@@ -100,7 +108,9 @@ public InitialPlayerSync(
100
108
SubnauticaPlayerPreferences preferences ,
101
109
TimeData timeData )
102
110
{
111
+ #if SUBNAUTICA
103
112
AssignedEscapePodId = assignedEscapePodId ;
113
+ #endif
104
114
PlayerGameObjectId = playerGameObjectId ;
105
115
FirstTimeConnecting = firstTimeConnecting ;
106
116
EquippedItems = equippedItems ;
0 commit comments