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