public byte[] ToProtoBytes()
 {
     return(ArcadeGame.SerializeToBytes(this));
 }
 public static void SerializeLengthDelimited(Stream stream, ArcadeGame instance)
 {
     byte[] bytes = ArcadeGame.SerializeToBytes(instance);
     ProtocolParser.WriteUInt32(stream, (uint)bytes.Length);
     stream.Write(bytes, 0, (int)bytes.Length);
 }