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