Ejemplo n.º 1
0
 /// <summary>
 /// Do not use, must be public for Unity to access.
 /// </summary>
 /// <param name="reader"></param>
 public override void Deserialize(NetworkReader reader)
 {
     Mods       = ModList.Read(reader);
     SteamId    = new CSteamID(reader.ReadUInt64());
     FromServer = reader.ReadBoolean();
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Do not use, must be public for Unity to access.
 /// </summary>
 /// <param name="reader"></param>
 public override void Deserialize(NetworkReader reader)
 {
     this.fromServer = reader.ReadBoolean();
     this.mods       = ModList.Read(reader);
 }