public static BasicAttackData ReadBasicAttackData(this ByteReader reader)
        {
            var data = new BasicAttackData();

            data.TargetNetID   = reader.ReadUInt32();
            data.ExtraTime     = (reader.ReadByte() - 128) / 100.0f;
            data.MissileNextID = reader.ReadUInt32();
            data.AttackSlot    = reader.ReadByte();
            return(data);
        }
 public static void WriteBasicAttackData(this ByteWriter writer, BasicAttackData data)
 {
     if (data == null)
     {
         data = new BasicAttackData();
     }
     writer.WriteUInt32(data.TargetNetID);
     writer.WriteByte((byte)((int)(data.ExtraTime * 100.0f) + 128));
     writer.WriteUInt32(data.MissileNextID);
     writer.WriteByte(data.AttackSlot);
 }