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