public byte[] ToProtoBytes()
 {
     return(PlayerAttack.SerializeToBytes(this));
 }
 public virtual void WriteToStream(Stream stream)
 {
     PlayerAttack.Serialize(stream, this);
 }
 public void ToProto(Stream stream)
 {
     PlayerAttack.Serialize(stream, this);
 }
 public static void SerializeLengthDelimited(Stream stream, PlayerAttack instance)
 {
     byte[] bytes = PlayerAttack.SerializeToBytes(instance);
     ProtocolParser.WriteUInt32(stream, (uint)bytes.Length);
     stream.Write(bytes, 0, (int)bytes.Length);
 }
 public void ResetToPool()
 {
     PlayerAttack.ResetToPool(this);
 }
 public virtual void ReadFromStream(Stream stream, int size, bool isDelta = false)
 {
     PlayerAttack.DeserializeLength(stream, size, this, isDelta);
 }
 public void FromProto(Stream stream, bool isDelta = false)
 {
     PlayerAttack.Deserialize(stream, this, isDelta);
 }