[Pets] Convert Load of Pets Beastlord Data to Repositories (#3995)

* [Pets] Convert Load of Pets Beastlord Data to Repositories

# Notes
- Convert `GetBeastlordPetData()` to repositories.
- Add support for `unsigned` versions of `float`, `double`, and `decimal`, without this we defaulted to `std::string`, such as with `pets_beastlord_data`.

* Update repository-generator.pl

---------

Co-authored-by: Chris Miles <akkadius1@gmail.com>
This commit is contained in:
Alex King
2024-01-29 00:05:43 -05:00
committed by GitHub
parent a1f2a21c99
commit b89772ca91
4 changed files with 43 additions and 45 deletions
@@ -19,13 +19,13 @@
class BasePetsBeastlordDataRepository {
public:
struct PetsBeastlordData {
uint32_t player_race;
uint32_t pet_race;
uint8_t texture;
uint8_t helm_texture;
uint8_t gender;
std::string size_modifier;
uint8_t face;
uint32_t player_race;
uint32_t pet_race;
uint8_t texture;
uint8_t helm_texture;
uint8_t gender;
float size_modifier;
uint8_t face;
};
static std::string PrimaryKey()