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