@@ -2079,6 +2079,10 @@ struct SWorldSpecialPropertiesStateSync : public ISyncStructure
2079
2079
{
2080
2080
BITCOUNT7 = 1
2081
2081
};
2082
+ enum
2083
+ {
2084
+ BITCOUNT8 = 1
2085
+ };
2082
2086
2083
2087
bool Read (NetBitStreamInterface& bitStream)
2084
2088
{
@@ -2112,6 +2116,11 @@ struct SWorldSpecialPropertiesStateSync : public ISyncStructure
2112
2116
isOK &= bitStream.ReadBits (reinterpret_cast <char *>(&data7), BITCOUNT7);
2113
2117
else
2114
2118
data7.flyingcomponents = true ;
2119
+
2120
+ if (bitStream.Can (eBitStreamVersion::WorldSpecialProperty_VehicleBurnExplosions))
2121
+ isOK &= bitStream.ReadBits (reinterpret_cast <char *>(&data8), BITCOUNT8);
2122
+ else
2123
+ data8.vehicleburnexplosions = true ;
2115
2124
2116
2125
// // Example for adding item:
2117
2126
// if (bitStream.Can(eBitStreamVersion::YourProperty))
@@ -2142,6 +2151,9 @@ struct SWorldSpecialPropertiesStateSync : public ISyncStructure
2142
2151
if (bitStream.Can (eBitStreamVersion::WorldSpecialProperty_FlyingComponents))
2143
2152
bitStream.WriteBits (reinterpret_cast <const char *>(&data7), BITCOUNT7);
2144
2153
2154
+ if (bitStream.Can (eBitStreamVersion::WorldSpecialProperty_VehicleBurnExplosions))
2155
+ bitStream.WriteBits (reinterpret_cast <const char *>(&data8), BITCOUNT8);
2156
+
2145
2157
// // Example for adding item:
2146
2158
// if (bitStream.Can(eBitStreamVersion::YourProperty))
2147
2159
// bitStream.WriteBits(reinterpret_cast<const char*>(&data9), BITCOUNT9);
@@ -2193,6 +2205,11 @@ struct SWorldSpecialPropertiesStateSync : public ISyncStructure
2193
2205
{
2194
2206
bool flyingcomponents : 1 ;
2195
2207
} data7;
2208
+
2209
+ struct
2210
+ {
2211
+ bool vehicleburnexplosions : 1 ;
2212
+ } data8;
2196
2213
2197
2214
SWorldSpecialPropertiesStateSync ()
2198
2215
{
@@ -2215,6 +2232,7 @@ struct SWorldSpecialPropertiesStateSync : public ISyncStructure
2215
2232
data5.tunnelweatherblend = true ;
2216
2233
data6.ignoreFireState = false ;
2217
2234
data7.flyingcomponents = true ;
2235
+ data8.vehicleburnexplosions = true ;
2218
2236
}
2219
2237
};
2220
2238
0 commit comments