Example #1
0
 public void Deserialize(NetworkBinaryReader reader, SerializationModeFlags mode, int framesAgo)
 {
     if (mode.HasFlag(SerializationModeFlags.ConstantDataFromServer))
     {
         Name = reader.ReadString();
         Color = reader.ReadColor();
     }
     ArenaStatistics.Deserialize(reader, mode, framesAgo);
 }
Example #2
0
 public void Deserialize(NetworkBinaryReader reader, SerializationModeFlags mode, int framesAgo)
 {
     PreText = reader.ReadString();
     Text = reader.ReadString();
     TextColor = reader.ReadColor();
 }
Example #3
0
 public override void Deserialize(NetworkBinaryReader reader, SerializationModeFlags mode, int framesAgo)
 {
     base.Deserialize(reader, mode, framesAgo);
     if ((mode & SerializationModeFlags.ConstantDataFromServer) != 0)
     {
         IconName = reader.ReadCanonicalString();
         DrawColor = reader.ReadColor();
         Message = reader.ReadString();
     }
 }