12 static void Encode(SSnapSerializerBase snapshot, ScriptCtx ctx, ScriptBitSerializer packet)
14 snapshot.Serialize(packet, 12);
18 static bool Decode(ScriptBitSerializer packet, ScriptCtx ctx, SSnapSerializerBase snapshot)
20 return snapshot.Serialize(packet, 12);
24 static bool SnapCompare(SSnapSerializerBase lhs, SSnapSerializerBase rhs, ScriptCtx ctx)
26 return lhs.CompareSnapshots(rhs, 12);
32 return snapshot.Compare(prop.m_iID, 4)
33 && snapshot.Compare(prop.m_iScore, 4)
34 && snapshot.Compare(prop.m_iScoreMax, 4);
40 snapshot.SerializeBytes(prop.m_iID, 4);
41 snapshot.SerializeBytes(prop.m_iScore, 4);
42 snapshot.SerializeBytes(prop.m_iScoreMax, 4);
49 snapshot.SerializeBytes(prop.m_iID, 4);
50 snapshot.SerializeBytes(prop.m_iScore, 4);
51 snapshot.SerializeBytes(prop.m_iScoreMax, 4);
61 return GetGame().GetPlayerManager().GetPlayerName(
m_iID);
77 m_iScore = playerScoreInfoFiringRange.m_iScore;
84 if (!scoringSystemFiringRange)