mirror of
https://github.com/EQEmu/Server.git
synced 2026-09-05 11:26:35 +00:00
[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:
+6
-8
@@ -15,8 +15,6 @@
|
||||
|
||||
#include "bot_database.h"
|
||||
|
||||
#define WOLF 42
|
||||
|
||||
class Client;
|
||||
class Corpse;
|
||||
class Merc;
|
||||
@@ -337,12 +335,12 @@ struct CharacterCorpseEntry
|
||||
|
||||
namespace BeastlordPetData {
|
||||
struct PetStruct {
|
||||
uint16 race_id = WOLF;
|
||||
uint8 texture = 0;
|
||||
uint8 helm_texture = 0;
|
||||
uint8 gender = Gender::Neuter;
|
||||
float size_modifier = 1.0f;
|
||||
uint8 face = 0;
|
||||
uint16 race_id = Race::Wolf;
|
||||
uint8 texture = 0;
|
||||
uint8 helm_texture = 0;
|
||||
uint8 gender = Gender::Neuter;
|
||||
float size_modifier = 1.0f;
|
||||
uint8 face = 0;
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user