public virtual void WriteToStreamDelta(Stream stream, ArcadeGame previous)
 {
     if (previous == null)
     {
         ArcadeGame.Serialize(stream, this);
         return;
     }
     ArcadeGame.SerializeDelta(stream, this, previous);
 }
 public static byte[] SerializeToBytes(ArcadeGame instance)
 {
     byte[] array;
     using (MemoryStream memoryStream = new MemoryStream())
     {
         ArcadeGame.Serialize(memoryStream, instance);
         array = memoryStream.ToArray();
     }
     return(array);
 }
 public virtual void WriteToStream(Stream stream)
 {
     ArcadeGame.Serialize(stream, this);
 }
 public void ToProto(Stream stream)
 {
     ArcadeGame.Serialize(stream, this);
 }