/// <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(); }
/// <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); }