mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-21 22:41:29 +00:00
Update base repositories to use int as a base to avoid atoi overflow
This commit is contained in:
parent
373fb3f0e7
commit
6409e02aed
@ -45,10 +45,10 @@ public:
|
|||||||
int status;
|
int status;
|
||||||
int type;
|
int type;
|
||||||
int charges;
|
int charges;
|
||||||
int8 grant_only;
|
int grant_only;
|
||||||
int first_rank_id;
|
int first_rank_id;
|
||||||
int8 enabled;
|
int enabled;
|
||||||
int8 reset_on_death;
|
int reset_on_death;
|
||||||
};
|
};
|
||||||
|
|
||||||
static std::string PrimaryKey()
|
static std::string PrimaryKey()
|
||||||
|
|||||||
@ -43,15 +43,15 @@ public:
|
|||||||
int status;
|
int status;
|
||||||
std::string ls_id;
|
std::string ls_id;
|
||||||
int lsaccount_id;
|
int lsaccount_id;
|
||||||
int8 gmspeed;
|
int gmspeed;
|
||||||
int8 revoked;
|
int revoked;
|
||||||
int karma;
|
int karma;
|
||||||
std::string minilogin_ip;
|
std::string minilogin_ip;
|
||||||
int8 hideme;
|
int hideme;
|
||||||
int8 rulesflag;
|
int rulesflag;
|
||||||
std::string suspendeduntil;
|
std::string suspendeduntil;
|
||||||
int time_creation;
|
int time_creation;
|
||||||
int8 expansion;
|
int expansion;
|
||||||
std::string ban_reason;
|
std::string ban_reason;
|
||||||
std::string suspend_reason;
|
std::string suspend_reason;
|
||||||
};
|
};
|
||||||
|
|||||||
@ -36,11 +36,11 @@ class BaseAdventureDetailsRepository {
|
|||||||
public:
|
public:
|
||||||
struct AdventureDetails {
|
struct AdventureDetails {
|
||||||
int id;
|
int id;
|
||||||
int16 adventure_id;
|
int adventure_id;
|
||||||
int instance_id;
|
int instance_id;
|
||||||
int16 count;
|
int count;
|
||||||
int16 assassinate_count;
|
int assassinate_count;
|
||||||
int8 status;
|
int status;
|
||||||
int time_created;
|
int time_created;
|
||||||
int time_zoned;
|
int time_zoned;
|
||||||
int time_completed;
|
int time_completed;
|
||||||
|
|||||||
@ -37,14 +37,14 @@ public:
|
|||||||
struct AdventureTemplate {
|
struct AdventureTemplate {
|
||||||
int id;
|
int id;
|
||||||
std::string zone;
|
std::string zone;
|
||||||
int8 zone_version;
|
int zone_version;
|
||||||
int8 is_hard;
|
int is_hard;
|
||||||
int8 is_raid;
|
int is_raid;
|
||||||
int8 min_level;
|
int min_level;
|
||||||
int8 max_level;
|
int max_level;
|
||||||
int8 type;
|
int type;
|
||||||
int type_data;
|
int type_data;
|
||||||
int16 type_count;
|
int type_count;
|
||||||
float assa_x;
|
float assa_x;
|
||||||
float assa_y;
|
float assa_y;
|
||||||
float assa_z;
|
float assa_z;
|
||||||
@ -52,13 +52,13 @@ public:
|
|||||||
std::string text;
|
std::string text;
|
||||||
int duration;
|
int duration;
|
||||||
int zone_in_time;
|
int zone_in_time;
|
||||||
int16 win_points;
|
int win_points;
|
||||||
int16 lose_points;
|
int lose_points;
|
||||||
int8 theme;
|
int theme;
|
||||||
int16 zone_in_zone_id;
|
int zone_in_zone_id;
|
||||||
float zone_in_x;
|
float zone_in_x;
|
||||||
float zone_in_y;
|
float zone_in_y;
|
||||||
int16 zone_in_object_id;
|
int zone_in_object_id;
|
||||||
float dest_x;
|
float dest_x;
|
||||||
float dest_y;
|
float dest_y;
|
||||||
float dest_z;
|
float dest_z;
|
||||||
|
|||||||
@ -37,7 +37,7 @@ public:
|
|||||||
struct BlockedSpells {
|
struct BlockedSpells {
|
||||||
int id;
|
int id;
|
||||||
int spellid;
|
int spellid;
|
||||||
int8 type;
|
int type;
|
||||||
int zoneid;
|
int zoneid;
|
||||||
float x;
|
float x;
|
||||||
float y;
|
float y;
|
||||||
|
|||||||
@ -42,7 +42,7 @@ public:
|
|||||||
int account_id;
|
int account_id;
|
||||||
int character_id;
|
int character_id;
|
||||||
std::string character_name;
|
std::string character_name;
|
||||||
int8 reporter_spoof;
|
int reporter_spoof;
|
||||||
int category_id;
|
int category_id;
|
||||||
std::string category_name;
|
std::string category_name;
|
||||||
std::string reporter_name;
|
std::string reporter_name;
|
||||||
@ -55,15 +55,15 @@ public:
|
|||||||
int target_id;
|
int target_id;
|
||||||
std::string target_name;
|
std::string target_name;
|
||||||
int optional_info_mask;
|
int optional_info_mask;
|
||||||
int8 _can_duplicate;
|
int _can_duplicate;
|
||||||
int8 _crash_bug;
|
int _crash_bug;
|
||||||
int8 _target_info;
|
int _target_info;
|
||||||
int8 _character_flags;
|
int _character_flags;
|
||||||
int8 _unknown_value;
|
int _unknown_value;
|
||||||
std::string bug_report;
|
std::string bug_report;
|
||||||
std::string system_info;
|
std::string system_info;
|
||||||
std::string report_datetime;
|
std::string report_datetime;
|
||||||
int8 bug_status;
|
int bug_status;
|
||||||
std::string last_review;
|
std::string last_review;
|
||||||
std::string last_reviewer;
|
std::string last_reviewer;
|
||||||
std::string reviewer_notes;
|
std::string reviewer_notes;
|
||||||
|
|||||||
@ -43,11 +43,11 @@ public:
|
|||||||
float y;
|
float y;
|
||||||
float z;
|
float z;
|
||||||
std::string type;
|
std::string type;
|
||||||
int8 flag;
|
int flag;
|
||||||
std::string target;
|
std::string target;
|
||||||
std::string bug;
|
std::string bug;
|
||||||
std::string date;
|
std::string date;
|
||||||
int8 status;
|
int status;
|
||||||
};
|
};
|
||||||
|
|
||||||
static std::string PrimaryKey()
|
static std::string PrimaryKey()
|
||||||
|
|||||||
@ -41,8 +41,8 @@ public:
|
|||||||
int deity;
|
int deity;
|
||||||
int start_zone;
|
int start_zone;
|
||||||
int expansions_req;
|
int expansions_req;
|
||||||
int8 min_expansion;
|
int min_expansion;
|
||||||
int8 max_expansion;
|
int max_expansion;
|
||||||
std::string content_flags;
|
std::string content_flags;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@ -39,7 +39,7 @@ public:
|
|||||||
int taskid;
|
int taskid;
|
||||||
int activityid;
|
int activityid;
|
||||||
int donecount;
|
int donecount;
|
||||||
int8 completed;
|
int completed;
|
||||||
};
|
};
|
||||||
|
|
||||||
static std::string PrimaryKey()
|
static std::string PrimaryKey()
|
||||||
|
|||||||
@ -36,9 +36,9 @@ class BaseCharacterAlternateAbilitiesRepository {
|
|||||||
public:
|
public:
|
||||||
struct CharacterAlternateAbilities {
|
struct CharacterAlternateAbilities {
|
||||||
int id;
|
int id;
|
||||||
int16 aa_id;
|
int aa_id;
|
||||||
int16 aa_value;
|
int aa_value;
|
||||||
int16 charges;
|
int charges;
|
||||||
};
|
};
|
||||||
|
|
||||||
static std::string PrimaryKey()
|
static std::string PrimaryKey()
|
||||||
|
|||||||
@ -36,7 +36,7 @@ class BaseCharacterAurasRepository {
|
|||||||
public:
|
public:
|
||||||
struct CharacterAuras {
|
struct CharacterAuras {
|
||||||
int id;
|
int id;
|
||||||
int8 slot;
|
int slot;
|
||||||
int spell_id;
|
int spell_id;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@ -36,8 +36,8 @@ class BaseCharacterBandolierRepository {
|
|||||||
public:
|
public:
|
||||||
struct CharacterBandolier {
|
struct CharacterBandolier {
|
||||||
int id;
|
int id;
|
||||||
int8 bandolier_id;
|
int bandolier_id;
|
||||||
int8 bandolier_slot;
|
int bandolier_slot;
|
||||||
int item_id;
|
int item_id;
|
||||||
int icon;
|
int icon;
|
||||||
std::string bandolier_name;
|
std::string bandolier_name;
|
||||||
|
|||||||
@ -37,7 +37,7 @@ public:
|
|||||||
struct CharacterBind {
|
struct CharacterBind {
|
||||||
int id;
|
int id;
|
||||||
int slot;
|
int slot;
|
||||||
int16 zone_id;
|
int zone_id;
|
||||||
int instance_id;
|
int instance_id;
|
||||||
float x;
|
float x;
|
||||||
float y;
|
float y;
|
||||||
|
|||||||
@ -36,16 +36,16 @@ class BaseCharacterBuffsRepository {
|
|||||||
public:
|
public:
|
||||||
struct CharacterBuffs {
|
struct CharacterBuffs {
|
||||||
int character_id;
|
int character_id;
|
||||||
int8 slot_id;
|
int slot_id;
|
||||||
int16 spell_id;
|
int spell_id;
|
||||||
int8 caster_level;
|
int caster_level;
|
||||||
std::string caster_name;
|
std::string caster_name;
|
||||||
int ticsremaining;
|
int ticsremaining;
|
||||||
int counters;
|
int counters;
|
||||||
int numhits;
|
int numhits;
|
||||||
int melee_rune;
|
int melee_rune;
|
||||||
int magic_rune;
|
int magic_rune;
|
||||||
int8 persistent;
|
int persistent;
|
||||||
int dot_rune;
|
int dot_rune;
|
||||||
int caston_x;
|
int caston_x;
|
||||||
int caston_y;
|
int caston_y;
|
||||||
|
|||||||
@ -45,7 +45,7 @@ public:
|
|||||||
int aug_4;
|
int aug_4;
|
||||||
int aug_5;
|
int aug_5;
|
||||||
int aug_6;
|
int aug_6;
|
||||||
int16 attuned;
|
int attuned;
|
||||||
};
|
};
|
||||||
|
|
||||||
static std::string PrimaryKey()
|
static std::string PrimaryKey()
|
||||||
|
|||||||
@ -38,18 +38,18 @@ public:
|
|||||||
int id;
|
int id;
|
||||||
int charid;
|
int charid;
|
||||||
std::string charname;
|
std::string charname;
|
||||||
int16 zone_id;
|
int zone_id;
|
||||||
int16 instance_id;
|
int instance_id;
|
||||||
float x;
|
float x;
|
||||||
float y;
|
float y;
|
||||||
float z;
|
float z;
|
||||||
float heading;
|
float heading;
|
||||||
std::string time_of_death;
|
std::string time_of_death;
|
||||||
int guild_consent_id;
|
int guild_consent_id;
|
||||||
int8 is_rezzed;
|
int is_rezzed;
|
||||||
int8 is_buried;
|
int is_buried;
|
||||||
int8 was_at_graveyard;
|
int was_at_graveyard;
|
||||||
int8 is_locked;
|
int is_locked;
|
||||||
int exp;
|
int exp;
|
||||||
int size;
|
int size;
|
||||||
int level;
|
int level;
|
||||||
|
|||||||
@ -47,31 +47,31 @@ public:
|
|||||||
float x;
|
float x;
|
||||||
float z;
|
float z;
|
||||||
float heading;
|
float heading;
|
||||||
int8 gender;
|
int gender;
|
||||||
int16 race;
|
int race;
|
||||||
int8 class;
|
int class;
|
||||||
int level;
|
int level;
|
||||||
int deity;
|
int deity;
|
||||||
int birthday;
|
int birthday;
|
||||||
int last_login;
|
int last_login;
|
||||||
int time_played;
|
int time_played;
|
||||||
int8 level2;
|
int level2;
|
||||||
int8 anon;
|
int anon;
|
||||||
int8 gm;
|
int gm;
|
||||||
int face;
|
int face;
|
||||||
int8 hair_color;
|
int hair_color;
|
||||||
int8 hair_style;
|
int hair_style;
|
||||||
int8 beard;
|
int beard;
|
||||||
int8 beard_color;
|
int beard_color;
|
||||||
int8 eye_color_1;
|
int eye_color_1;
|
||||||
int8 eye_color_2;
|
int eye_color_2;
|
||||||
int drakkin_heritage;
|
int drakkin_heritage;
|
||||||
int drakkin_tattoo;
|
int drakkin_tattoo;
|
||||||
int drakkin_details;
|
int drakkin_details;
|
||||||
int8 ability_time_seconds;
|
int ability_time_seconds;
|
||||||
int8 ability_number;
|
int ability_number;
|
||||||
int8 ability_time_minutes;
|
int ability_time_minutes;
|
||||||
int8 ability_time_hours;
|
int ability_time_hours;
|
||||||
int exp;
|
int exp;
|
||||||
int aa_points_spent;
|
int aa_points_spent;
|
||||||
int aa_exp;
|
int aa_exp;
|
||||||
@ -107,7 +107,7 @@ public:
|
|||||||
int career_tribute_points;
|
int career_tribute_points;
|
||||||
int tribute_points;
|
int tribute_points;
|
||||||
int tribute_active;
|
int tribute_active;
|
||||||
int8 pvp_status;
|
int pvp_status;
|
||||||
int pvp_kills;
|
int pvp_kills;
|
||||||
int pvp_deaths;
|
int pvp_deaths;
|
||||||
int pvp_current_points;
|
int pvp_current_points;
|
||||||
@ -118,18 +118,18 @@ public:
|
|||||||
int pvp2;
|
int pvp2;
|
||||||
int pvp_type;
|
int pvp_type;
|
||||||
int show_helm;
|
int show_helm;
|
||||||
int8 group_auto_consent;
|
int group_auto_consent;
|
||||||
int8 raid_auto_consent;
|
int raid_auto_consent;
|
||||||
int8 guild_auto_consent;
|
int guild_auto_consent;
|
||||||
int8 leadership_exp_on;
|
int leadership_exp_on;
|
||||||
int RestTimer;
|
int RestTimer;
|
||||||
int air_remaining;
|
int air_remaining;
|
||||||
int autosplit_enabled;
|
int autosplit_enabled;
|
||||||
int8 lfp;
|
int lfp;
|
||||||
int8 lfg;
|
int lfg;
|
||||||
std::string mailkey;
|
std::string mailkey;
|
||||||
int8 xtargets;
|
int xtargets;
|
||||||
int8 firstlogon;
|
int firstlogon;
|
||||||
int e_aa_effects;
|
int e_aa_effects;
|
||||||
int e_percent_to_aa;
|
int e_percent_to_aa;
|
||||||
int e_expended_aa_spent;
|
int e_expended_aa_spent;
|
||||||
|
|||||||
@ -36,8 +36,8 @@ class BaseCharacterDisciplinesRepository {
|
|||||||
public:
|
public:
|
||||||
struct CharacterDisciplines {
|
struct CharacterDisciplines {
|
||||||
int id;
|
int id;
|
||||||
int16 slot_id;
|
int slot_id;
|
||||||
int16 disc_id;
|
int disc_id;
|
||||||
};
|
};
|
||||||
|
|
||||||
static std::string PrimaryKey()
|
static std::string PrimaryKey()
|
||||||
|
|||||||
@ -36,7 +36,7 @@ class BaseCharacterItemRecastRepository {
|
|||||||
public:
|
public:
|
||||||
struct CharacterItemRecast {
|
struct CharacterItemRecast {
|
||||||
int id;
|
int id;
|
||||||
int16 recast_type;
|
int recast_type;
|
||||||
int timestamp;
|
int timestamp;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@ -36,8 +36,8 @@ class BaseCharacterLanguagesRepository {
|
|||||||
public:
|
public:
|
||||||
struct CharacterLanguages {
|
struct CharacterLanguages {
|
||||||
int id;
|
int id;
|
||||||
int16 lang_id;
|
int lang_id;
|
||||||
int16 value;
|
int value;
|
||||||
};
|
};
|
||||||
|
|
||||||
static std::string PrimaryKey()
|
static std::string PrimaryKey()
|
||||||
|
|||||||
@ -36,8 +36,8 @@ class BaseCharacterLeadershipAbilitiesRepository {
|
|||||||
public:
|
public:
|
||||||
struct CharacterLeadershipAbilities {
|
struct CharacterLeadershipAbilities {
|
||||||
int id;
|
int id;
|
||||||
int16 slot;
|
int slot;
|
||||||
int16 rank;
|
int rank;
|
||||||
};
|
};
|
||||||
|
|
||||||
static std::string PrimaryKey()
|
static std::string PrimaryKey()
|
||||||
|
|||||||
@ -36,11 +36,11 @@ class BaseCharacterMaterialRepository {
|
|||||||
public:
|
public:
|
||||||
struct CharacterMaterial {
|
struct CharacterMaterial {
|
||||||
int id;
|
int id;
|
||||||
int8 slot;
|
int slot;
|
||||||
int8 blue;
|
int blue;
|
||||||
int8 green;
|
int green;
|
||||||
int8 red;
|
int red;
|
||||||
int8 use_tint;
|
int use_tint;
|
||||||
int color;
|
int color;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@ -36,8 +36,8 @@ class BaseCharacterMemmedSpellsRepository {
|
|||||||
public:
|
public:
|
||||||
struct CharacterMemmedSpells {
|
struct CharacterMemmedSpells {
|
||||||
int id;
|
int id;
|
||||||
int16 slot_id;
|
int slot_id;
|
||||||
int16 spell_id;
|
int spell_id;
|
||||||
};
|
};
|
||||||
|
|
||||||
static std::string PrimaryKey()
|
static std::string PrimaryKey()
|
||||||
|
|||||||
@ -39,13 +39,13 @@ public:
|
|||||||
int pet;
|
int pet;
|
||||||
int slot;
|
int slot;
|
||||||
int spell_id;
|
int spell_id;
|
||||||
int8 caster_level;
|
int caster_level;
|
||||||
std::string castername;
|
std::string castername;
|
||||||
int ticsremaining;
|
int ticsremaining;
|
||||||
int counters;
|
int counters;
|
||||||
int numhits;
|
int numhits;
|
||||||
int rune;
|
int rune;
|
||||||
int8 instrument_mod;
|
int instrument_mod;
|
||||||
};
|
};
|
||||||
|
|
||||||
static std::string PrimaryKey()
|
static std::string PrimaryKey()
|
||||||
|
|||||||
@ -36,7 +36,7 @@ class BaseCharacterPotionbeltRepository {
|
|||||||
public:
|
public:
|
||||||
struct CharacterPotionbelt {
|
struct CharacterPotionbelt {
|
||||||
int id;
|
int id;
|
||||||
int8 potion_id;
|
int potion_id;
|
||||||
int item_id;
|
int item_id;
|
||||||
int icon;
|
int icon;
|
||||||
};
|
};
|
||||||
|
|||||||
@ -36,8 +36,8 @@ class BaseCharacterSkillsRepository {
|
|||||||
public:
|
public:
|
||||||
struct CharacterSkills {
|
struct CharacterSkills {
|
||||||
int id;
|
int id;
|
||||||
int16 skill_id;
|
int skill_id;
|
||||||
int16 value;
|
int value;
|
||||||
};
|
};
|
||||||
|
|
||||||
static std::string PrimaryKey()
|
static std::string PrimaryKey()
|
||||||
|
|||||||
@ -36,8 +36,8 @@ class BaseCharacterSpellsRepository {
|
|||||||
public:
|
public:
|
||||||
struct CharacterSpells {
|
struct CharacterSpells {
|
||||||
int id;
|
int id;
|
||||||
int16 slot_id;
|
int slot_id;
|
||||||
int16 spell_id;
|
int spell_id;
|
||||||
};
|
};
|
||||||
|
|
||||||
static std::string PrimaryKey()
|
static std::string PrimaryKey()
|
||||||
|
|||||||
@ -38,7 +38,7 @@ public:
|
|||||||
int charid;
|
int charid;
|
||||||
int taskid;
|
int taskid;
|
||||||
int slot;
|
int slot;
|
||||||
int8 type;
|
int type;
|
||||||
int acceptedtime;
|
int acceptedtime;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@ -37,7 +37,7 @@ public:
|
|||||||
struct ContentFlags {
|
struct ContentFlags {
|
||||||
int id;
|
int id;
|
||||||
std::string flag_name;
|
std::string flag_name;
|
||||||
int8 enabled;
|
int enabled;
|
||||||
std::string notes;
|
std::string notes;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@ -36,23 +36,23 @@ class BaseDoorsRepository {
|
|||||||
public:
|
public:
|
||||||
struct Doors {
|
struct Doors {
|
||||||
int id;
|
int id;
|
||||||
int16 doorid;
|
int doorid;
|
||||||
std::string zone;
|
std::string zone;
|
||||||
int16 version;
|
int version;
|
||||||
std::string name;
|
std::string name;
|
||||||
float pos_y;
|
float pos_y;
|
||||||
float pos_x;
|
float pos_x;
|
||||||
float pos_z;
|
float pos_z;
|
||||||
float heading;
|
float heading;
|
||||||
int16 opentype;
|
int opentype;
|
||||||
int16 guild;
|
int guild;
|
||||||
int16 lockpick;
|
int lockpick;
|
||||||
int keyitem;
|
int keyitem;
|
||||||
int8 nokeyring;
|
int nokeyring;
|
||||||
int16 triggerdoor;
|
int triggerdoor;
|
||||||
int16 triggertype;
|
int triggertype;
|
||||||
int8 disable_timer;
|
int disable_timer;
|
||||||
int16 doorisopen;
|
int doorisopen;
|
||||||
int door_param;
|
int door_param;
|
||||||
std::string dest_zone;
|
std::string dest_zone;
|
||||||
int dest_instance;
|
int dest_instance;
|
||||||
@ -62,12 +62,12 @@ public:
|
|||||||
float dest_heading;
|
float dest_heading;
|
||||||
int invert_state;
|
int invert_state;
|
||||||
int incline;
|
int incline;
|
||||||
int16 size;
|
int size;
|
||||||
float buffer;
|
float buffer;
|
||||||
int client_version_mask;
|
int client_version_mask;
|
||||||
int16 is_ldon_door;
|
int is_ldon_door;
|
||||||
int8 min_expansion;
|
int min_expansion;
|
||||||
int8 max_expansion;
|
int max_expansion;
|
||||||
std::string content_flags;
|
std::string content_flags;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@ -35,12 +35,12 @@
|
|||||||
class BaseFactionBaseDataRepository {
|
class BaseFactionBaseDataRepository {
|
||||||
public:
|
public:
|
||||||
struct FactionBaseData {
|
struct FactionBaseData {
|
||||||
int16 client_faction_id;
|
int client_faction_id;
|
||||||
int16 min;
|
int min;
|
||||||
int16 max;
|
int max;
|
||||||
int16 unk_hero1;
|
int unk_hero1;
|
||||||
int16 unk_hero2;
|
int unk_hero2;
|
||||||
int16 unk_hero3;
|
int unk_hero3;
|
||||||
};
|
};
|
||||||
|
|
||||||
static std::string PrimaryKey()
|
static std::string PrimaryKey()
|
||||||
|
|||||||
@ -37,7 +37,7 @@ public:
|
|||||||
struct FactionListMod {
|
struct FactionListMod {
|
||||||
int id;
|
int id;
|
||||||
int faction_id;
|
int faction_id;
|
||||||
int16 mod;
|
int mod;
|
||||||
std::string mod_name;
|
std::string mod_name;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@ -37,7 +37,7 @@ public:
|
|||||||
struct FactionList {
|
struct FactionList {
|
||||||
int id;
|
int id;
|
||||||
std::string name;
|
std::string name;
|
||||||
int16 base;
|
int base;
|
||||||
};
|
};
|
||||||
|
|
||||||
static std::string PrimaryKey()
|
static std::string PrimaryKey()
|
||||||
|
|||||||
@ -37,8 +37,8 @@ public:
|
|||||||
struct FactionValues {
|
struct FactionValues {
|
||||||
int char_id;
|
int char_id;
|
||||||
int faction_id;
|
int faction_id;
|
||||||
int16 current_value;
|
int current_value;
|
||||||
int8 temp;
|
int temp;
|
||||||
};
|
};
|
||||||
|
|
||||||
static std::string PrimaryKey()
|
static std::string PrimaryKey()
|
||||||
|
|||||||
@ -38,12 +38,12 @@ public:
|
|||||||
int id;
|
int id;
|
||||||
int zoneid;
|
int zoneid;
|
||||||
int Itemid;
|
int Itemid;
|
||||||
int16 skill_level;
|
int skill_level;
|
||||||
int16 chance;
|
int chance;
|
||||||
int npc_id;
|
int npc_id;
|
||||||
int npc_chance;
|
int npc_chance;
|
||||||
int8 min_expansion;
|
int min_expansion;
|
||||||
int8 max_expansion;
|
int max_expansion;
|
||||||
std::string content_flags;
|
std::string content_flags;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@ -38,10 +38,10 @@ public:
|
|||||||
int id;
|
int id;
|
||||||
int zoneid;
|
int zoneid;
|
||||||
int Itemid;
|
int Itemid;
|
||||||
int16 level;
|
int level;
|
||||||
int16 chance;
|
int chance;
|
||||||
int8 min_expansion;
|
int min_expansion;
|
||||||
int8 max_expansion;
|
int max_expansion;
|
||||||
std::string content_flags;
|
std::string content_flags;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@ -36,7 +36,7 @@ class BaseFriendsRepository {
|
|||||||
public:
|
public:
|
||||||
struct Friends {
|
struct Friends {
|
||||||
int charid;
|
int charid;
|
||||||
int8 type;
|
int type;
|
||||||
std::string name;
|
std::string name;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@ -38,18 +38,18 @@ public:
|
|||||||
int id;
|
int id;
|
||||||
std::string description;
|
std::string description;
|
||||||
int loottable_id;
|
int loottable_id;
|
||||||
int8 enabled;
|
int enabled;
|
||||||
int min_level;
|
int min_level;
|
||||||
int max_level;
|
int max_level;
|
||||||
int8 rare;
|
int rare;
|
||||||
int8 raid;
|
int raid;
|
||||||
std::string race;
|
std::string race;
|
||||||
std::string class;
|
std::string class;
|
||||||
std::string bodytype;
|
std::string bodytype;
|
||||||
std::string zone;
|
std::string zone;
|
||||||
int8 hot_zone;
|
int hot_zone;
|
||||||
int8 min_expansion;
|
int min_expansion;
|
||||||
int8 max_expansion;
|
int max_expansion;
|
||||||
std::string content_flags;
|
std::string content_flags;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@ -37,7 +37,7 @@ public:
|
|||||||
struct GroundSpawns {
|
struct GroundSpawns {
|
||||||
int id;
|
int id;
|
||||||
int zoneid;
|
int zoneid;
|
||||||
int16 version;
|
int version;
|
||||||
float max_x;
|
float max_x;
|
||||||
float max_y;
|
float max_y;
|
||||||
float max_z;
|
float max_z;
|
||||||
@ -49,8 +49,8 @@ public:
|
|||||||
int max_allowed;
|
int max_allowed;
|
||||||
std::string comment;
|
std::string comment;
|
||||||
int respawn_timer;
|
int respawn_timer;
|
||||||
int8 min_expansion;
|
int min_expansion;
|
||||||
int8 max_expansion;
|
int max_expansion;
|
||||||
std::string content_flags;
|
std::string content_flags;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@ -38,7 +38,7 @@ public:
|
|||||||
int groupid;
|
int groupid;
|
||||||
int charid;
|
int charid;
|
||||||
std::string name;
|
std::string name;
|
||||||
int8 ismerc;
|
int ismerc;
|
||||||
};
|
};
|
||||||
|
|
||||||
static std::string PrimaryKey()
|
static std::string PrimaryKey()
|
||||||
|
|||||||
@ -37,13 +37,13 @@ public:
|
|||||||
struct GuildMembers {
|
struct GuildMembers {
|
||||||
int char_id;
|
int char_id;
|
||||||
int guild_id;
|
int guild_id;
|
||||||
int8 rank;
|
int rank;
|
||||||
int8 tribute_enable;
|
int tribute_enable;
|
||||||
int total_tribute;
|
int total_tribute;
|
||||||
int last_tribute;
|
int last_tribute;
|
||||||
int8 banker;
|
int banker;
|
||||||
std::string public_note;
|
std::string public_note;
|
||||||
int8 alt;
|
int alt;
|
||||||
};
|
};
|
||||||
|
|
||||||
static std::string PrimaryKey()
|
static std::string PrimaryKey()
|
||||||
|
|||||||
@ -36,16 +36,16 @@ class BaseGuildRanksRepository {
|
|||||||
public:
|
public:
|
||||||
struct GuildRanks {
|
struct GuildRanks {
|
||||||
int guild_id;
|
int guild_id;
|
||||||
int8 rank;
|
int rank;
|
||||||
std::string title;
|
std::string title;
|
||||||
int8 can_hear;
|
int can_hear;
|
||||||
int8 can_speak;
|
int can_speak;
|
||||||
int8 can_invite;
|
int can_invite;
|
||||||
int8 can_remove;
|
int can_remove;
|
||||||
int8 can_promote;
|
int can_promote;
|
||||||
int8 can_demote;
|
int can_demote;
|
||||||
int8 can_motd;
|
int can_motd;
|
||||||
int8 can_warpeace;
|
int can_warpeace;
|
||||||
};
|
};
|
||||||
|
|
||||||
static std::string PrimaryKey()
|
static std::string PrimaryKey()
|
||||||
|
|||||||
@ -37,7 +37,7 @@ public:
|
|||||||
struct GuildRelations {
|
struct GuildRelations {
|
||||||
int guild1;
|
int guild1;
|
||||||
int guild2;
|
int guild2;
|
||||||
int8 relation;
|
int relation;
|
||||||
};
|
};
|
||||||
|
|
||||||
static std::string PrimaryKey()
|
static std::string PrimaryKey()
|
||||||
|
|||||||
@ -38,7 +38,7 @@ public:
|
|||||||
int id;
|
int id;
|
||||||
std::string name;
|
std::string name;
|
||||||
int leader;
|
int leader;
|
||||||
int16 minstatus;
|
int minstatus;
|
||||||
std::string motd;
|
std::string motd;
|
||||||
int tribute;
|
int tribute;
|
||||||
std::string motd_setter;
|
std::string motd_setter;
|
||||||
|
|||||||
@ -37,11 +37,11 @@ public:
|
|||||||
struct InstanceList {
|
struct InstanceList {
|
||||||
int id;
|
int id;
|
||||||
int zone;
|
int zone;
|
||||||
int8 version;
|
int version;
|
||||||
int8 is_global;
|
int is_global;
|
||||||
int start_time;
|
int start_time;
|
||||||
int duration;
|
int duration;
|
||||||
int8 never_expires;
|
int never_expires;
|
||||||
};
|
};
|
||||||
|
|
||||||
static std::string PrimaryKey()
|
static std::string PrimaryKey()
|
||||||
|
|||||||
@ -38,7 +38,7 @@ public:
|
|||||||
int charid;
|
int charid;
|
||||||
int slotid;
|
int slotid;
|
||||||
int itemid;
|
int itemid;
|
||||||
int16 charges;
|
int charges;
|
||||||
int color;
|
int color;
|
||||||
int augslot1;
|
int augslot1;
|
||||||
int augslot2;
|
int augslot2;
|
||||||
@ -46,7 +46,7 @@ public:
|
|||||||
int augslot4;
|
int augslot4;
|
||||||
int augslot5;
|
int augslot5;
|
||||||
int augslot6;
|
int augslot6;
|
||||||
int8 instnodrop;
|
int instnodrop;
|
||||||
std::string custom_data;
|
std::string custom_data;
|
||||||
int ornamenticon;
|
int ornamenticon;
|
||||||
int ornamentidfile;
|
int ornamentidfile;
|
||||||
|
|||||||
@ -39,7 +39,7 @@ public:
|
|||||||
int charid;
|
int charid;
|
||||||
int slotid;
|
int slotid;
|
||||||
int itemid;
|
int itemid;
|
||||||
int16 charges;
|
int charges;
|
||||||
int color;
|
int color;
|
||||||
int augslot1;
|
int augslot1;
|
||||||
int augslot2;
|
int augslot2;
|
||||||
@ -47,7 +47,7 @@ public:
|
|||||||
int augslot4;
|
int augslot4;
|
||||||
int augslot5;
|
int augslot5;
|
||||||
int augslot6;
|
int augslot6;
|
||||||
int8 instnodrop;
|
int instnodrop;
|
||||||
std::string custom_data;
|
std::string custom_data;
|
||||||
int ornamenticon;
|
int ornamenticon;
|
||||||
int ornamentidfile;
|
int ornamentidfile;
|
||||||
|
|||||||
@ -40,7 +40,7 @@ public:
|
|||||||
int it_level;
|
int it_level;
|
||||||
int it_id;
|
int it_id;
|
||||||
std::string it_qglobal;
|
std::string it_qglobal;
|
||||||
int8 it_bagslot;
|
int it_bagslot;
|
||||||
};
|
};
|
||||||
|
|
||||||
static std::string PrimaryKey()
|
static std::string PrimaryKey()
|
||||||
|
|||||||
@ -36,7 +36,7 @@ class BaseItemsRepository {
|
|||||||
public:
|
public:
|
||||||
struct Items {
|
struct Items {
|
||||||
int id;
|
int id;
|
||||||
int16 minstatus;
|
int minstatus;
|
||||||
std::string Name;
|
std::string Name;
|
||||||
int aagi;
|
int aagi;
|
||||||
int ac;
|
int ac;
|
||||||
@ -44,23 +44,23 @@ public:
|
|||||||
int acha;
|
int acha;
|
||||||
int adex;
|
int adex;
|
||||||
int aint;
|
int aint;
|
||||||
int8 artifactflag;
|
int artifactflag;
|
||||||
int asta;
|
int asta;
|
||||||
int astr;
|
int astr;
|
||||||
int attack;
|
int attack;
|
||||||
int augrestrict;
|
int augrestrict;
|
||||||
int8 augslot1type;
|
int augslot1type;
|
||||||
int8 augslot1visible;
|
int augslot1visible;
|
||||||
int8 augslot2type;
|
int augslot2type;
|
||||||
int8 augslot2visible;
|
int augslot2visible;
|
||||||
int8 augslot3type;
|
int augslot3type;
|
||||||
int8 augslot3visible;
|
int augslot3visible;
|
||||||
int8 augslot4type;
|
int augslot4type;
|
||||||
int8 augslot4visible;
|
int augslot4visible;
|
||||||
int8 augslot5type;
|
int augslot5type;
|
||||||
int8 augslot5visible;
|
int augslot5visible;
|
||||||
int8 augslot6type;
|
int augslot6type;
|
||||||
int8 augslot6visible;
|
int augslot6visible;
|
||||||
int augtype;
|
int augtype;
|
||||||
int avoidance;
|
int avoidance;
|
||||||
int awis;
|
int awis;
|
||||||
@ -134,7 +134,7 @@ public:
|
|||||||
int mr;
|
int mr;
|
||||||
int nodrop;
|
int nodrop;
|
||||||
int norent;
|
int norent;
|
||||||
int8 pendingloreflag;
|
int pendingloreflag;
|
||||||
int pr;
|
int pr;
|
||||||
int procrate;
|
int procrate;
|
||||||
int races;
|
int races;
|
||||||
@ -152,7 +152,7 @@ public:
|
|||||||
int spellshield;
|
int spellshield;
|
||||||
int strikethrough;
|
int strikethrough;
|
||||||
int stunresist;
|
int stunresist;
|
||||||
int8 summonedflag;
|
int summonedflag;
|
||||||
int tradeskills;
|
int tradeskills;
|
||||||
int favor;
|
int favor;
|
||||||
int weight;
|
int weight;
|
||||||
@ -260,42 +260,42 @@ public:
|
|||||||
std::string wornname;
|
std::string wornname;
|
||||||
std::string focusname;
|
std::string focusname;
|
||||||
std::string scrollname;
|
std::string scrollname;
|
||||||
int16 dsmitigation;
|
int dsmitigation;
|
||||||
int16 heroic_str;
|
int heroic_str;
|
||||||
int16 heroic_int;
|
int heroic_int;
|
||||||
int16 heroic_wis;
|
int heroic_wis;
|
||||||
int16 heroic_agi;
|
int heroic_agi;
|
||||||
int16 heroic_dex;
|
int heroic_dex;
|
||||||
int16 heroic_sta;
|
int heroic_sta;
|
||||||
int16 heroic_cha;
|
int heroic_cha;
|
||||||
int16 heroic_pr;
|
int heroic_pr;
|
||||||
int16 heroic_dr;
|
int heroic_dr;
|
||||||
int16 heroic_fr;
|
int heroic_fr;
|
||||||
int16 heroic_cr;
|
int heroic_cr;
|
||||||
int16 heroic_mr;
|
int heroic_mr;
|
||||||
int16 heroic_svcorrup;
|
int heroic_svcorrup;
|
||||||
int16 healamt;
|
int healamt;
|
||||||
int16 spelldmg;
|
int spelldmg;
|
||||||
int16 clairvoyance;
|
int clairvoyance;
|
||||||
int16 backstabdmg;
|
int backstabdmg;
|
||||||
std::string created;
|
std::string created;
|
||||||
int16 elitematerial;
|
int elitematerial;
|
||||||
int16 ldonsellbackrate;
|
int ldonsellbackrate;
|
||||||
int16 scriptfileid;
|
int scriptfileid;
|
||||||
int16 expendablearrow;
|
int expendablearrow;
|
||||||
int16 powersourcecapacity;
|
int powersourcecapacity;
|
||||||
int16 bardeffect;
|
int bardeffect;
|
||||||
int16 bardeffecttype;
|
int bardeffecttype;
|
||||||
int16 bardlevel2;
|
int bardlevel2;
|
||||||
int16 bardlevel;
|
int bardlevel;
|
||||||
int16 bardunk1;
|
int bardunk1;
|
||||||
int16 bardunk2;
|
int bardunk2;
|
||||||
int16 bardunk3;
|
int bardunk3;
|
||||||
int16 bardunk4;
|
int bardunk4;
|
||||||
int16 bardunk5;
|
int bardunk5;
|
||||||
std::string bardname;
|
std::string bardname;
|
||||||
int16 bardunk7;
|
int bardunk7;
|
||||||
int16 UNK214;
|
int UNK214;
|
||||||
int UNK219;
|
int UNK219;
|
||||||
int UNK220;
|
int UNK220;
|
||||||
int UNK221;
|
int UNK221;
|
||||||
|
|||||||
@ -36,10 +36,10 @@ class BaseLdonTrapTemplatesRepository {
|
|||||||
public:
|
public:
|
||||||
struct LdonTrapTemplates {
|
struct LdonTrapTemplates {
|
||||||
int id;
|
int id;
|
||||||
int8 type;
|
int type;
|
||||||
int16 spell_id;
|
int spell_id;
|
||||||
int16 skill;
|
int skill;
|
||||||
int8 locked;
|
int locked;
|
||||||
};
|
};
|
||||||
|
|
||||||
static std::string PrimaryKey()
|
static std::string PrimaryKey()
|
||||||
|
|||||||
@ -35,11 +35,11 @@
|
|||||||
class BaseLfguildRepository {
|
class BaseLfguildRepository {
|
||||||
public:
|
public:
|
||||||
struct Lfguild {
|
struct Lfguild {
|
||||||
int8 type;
|
int type;
|
||||||
std::string name;
|
std::string name;
|
||||||
std::string comment;
|
std::string comment;
|
||||||
int8 fromlevel;
|
int fromlevel;
|
||||||
int8 tolevel;
|
int tolevel;
|
||||||
int classes;
|
int classes;
|
||||||
int aacount;
|
int aacount;
|
||||||
int timezone;
|
int timezone;
|
||||||
|
|||||||
@ -37,9 +37,9 @@ public:
|
|||||||
struct LogsysCategories {
|
struct LogsysCategories {
|
||||||
int log_category_id;
|
int log_category_id;
|
||||||
std::string log_category_description;
|
std::string log_category_description;
|
||||||
int16 log_to_console;
|
int log_to_console;
|
||||||
int16 log_to_file;
|
int log_to_file;
|
||||||
int16 log_to_gmsay;
|
int log_to_gmsay;
|
||||||
};
|
};
|
||||||
|
|
||||||
static std::string PrimaryKey()
|
static std::string PrimaryKey()
|
||||||
|
|||||||
@ -37,13 +37,13 @@ public:
|
|||||||
struct LootdropEntries {
|
struct LootdropEntries {
|
||||||
int lootdrop_id;
|
int lootdrop_id;
|
||||||
int item_id;
|
int item_id;
|
||||||
int16 item_charges;
|
int item_charges;
|
||||||
int8 equip_item;
|
int equip_item;
|
||||||
float chance;
|
float chance;
|
||||||
float disabled_chance;
|
float disabled_chance;
|
||||||
int8 minlevel;
|
int minlevel;
|
||||||
int8 maxlevel;
|
int maxlevel;
|
||||||
int8 multiplier;
|
int multiplier;
|
||||||
};
|
};
|
||||||
|
|
||||||
static std::string PrimaryKey()
|
static std::string PrimaryKey()
|
||||||
|
|||||||
@ -37,8 +37,8 @@ public:
|
|||||||
struct Lootdrop {
|
struct Lootdrop {
|
||||||
int id;
|
int id;
|
||||||
std::string name;
|
std::string name;
|
||||||
int8 min_expansion;
|
int min_expansion;
|
||||||
int8 max_expansion;
|
int max_expansion;
|
||||||
std::string content_flags;
|
std::string content_flags;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@ -37,9 +37,9 @@ public:
|
|||||||
struct LoottableEntries {
|
struct LoottableEntries {
|
||||||
int loottable_id;
|
int loottable_id;
|
||||||
int lootdrop_id;
|
int lootdrop_id;
|
||||||
int8 multiplier;
|
int multiplier;
|
||||||
int8 droplimit;
|
int droplimit;
|
||||||
int8 mindrop;
|
int mindrop;
|
||||||
float probability;
|
float probability;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@ -40,9 +40,9 @@ public:
|
|||||||
int mincash;
|
int mincash;
|
||||||
int maxcash;
|
int maxcash;
|
||||||
int avgcoin;
|
int avgcoin;
|
||||||
int8 done;
|
int done;
|
||||||
int8 min_expansion;
|
int min_expansion;
|
||||||
int8 max_expansion;
|
int max_expansion;
|
||||||
std::string content_flags;
|
std::string content_flags;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@ -42,7 +42,7 @@ public:
|
|||||||
std::string subject;
|
std::string subject;
|
||||||
std::string body;
|
std::string body;
|
||||||
std::string to;
|
std::string to;
|
||||||
int8 status;
|
int status;
|
||||||
};
|
};
|
||||||
|
|
||||||
static std::string PrimaryKey()
|
static std::string PrimaryKey()
|
||||||
|
|||||||
@ -38,13 +38,13 @@ public:
|
|||||||
int merchantid;
|
int merchantid;
|
||||||
int slot;
|
int slot;
|
||||||
int item;
|
int item;
|
||||||
int16 faction_required;
|
int faction_required;
|
||||||
int8 level_required;
|
int level_required;
|
||||||
int16 alt_currency_cost;
|
int alt_currency_cost;
|
||||||
int classes_required;
|
int classes_required;
|
||||||
int probability;
|
int probability;
|
||||||
int8 min_expansion;
|
int min_expansion;
|
||||||
int8 max_expansion;
|
int max_expansion;
|
||||||
std::string content_flags;
|
std::string content_flags;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@ -36,7 +36,7 @@ class BaseMerchantlistTempRepository {
|
|||||||
public:
|
public:
|
||||||
struct MerchantlistTemp {
|
struct MerchantlistTemp {
|
||||||
int npcid;
|
int npcid;
|
||||||
int8 slot;
|
int slot;
|
||||||
int itemid;
|
int itemid;
|
||||||
int charges;
|
int charges;
|
||||||
};
|
};
|
||||||
|
|||||||
@ -37,8 +37,8 @@ public:
|
|||||||
struct NpcEmotes {
|
struct NpcEmotes {
|
||||||
int id;
|
int id;
|
||||||
int emoteid;
|
int emoteid;
|
||||||
int8 event_;
|
int event_;
|
||||||
int8 type;
|
int type;
|
||||||
std::string text;
|
std::string text;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@ -38,8 +38,8 @@ public:
|
|||||||
int npc_faction_id;
|
int npc_faction_id;
|
||||||
int faction_id;
|
int faction_id;
|
||||||
int value;
|
int value;
|
||||||
int8 npc_value;
|
int npc_value;
|
||||||
int8 temp;
|
int temp;
|
||||||
};
|
};
|
||||||
|
|
||||||
static std::string PrimaryKey()
|
static std::string PrimaryKey()
|
||||||
|
|||||||
@ -38,7 +38,7 @@ public:
|
|||||||
int id;
|
int id;
|
||||||
std::string name;
|
std::string name;
|
||||||
int primaryfaction;
|
int primaryfaction;
|
||||||
int8 ignore_primary_assist;
|
int ignore_primary_assist;
|
||||||
};
|
};
|
||||||
|
|
||||||
static std::string PrimaryKey()
|
static std::string PrimaryKey()
|
||||||
|
|||||||
@ -37,9 +37,9 @@ public:
|
|||||||
struct NpcSpellsEffectsEntries {
|
struct NpcSpellsEffectsEntries {
|
||||||
int id;
|
int id;
|
||||||
int npc_spells_effects_id;
|
int npc_spells_effects_id;
|
||||||
int16 spell_effect_id;
|
int spell_effect_id;
|
||||||
int8 minlevel;
|
int minlevel;
|
||||||
int8 maxlevel;
|
int maxlevel;
|
||||||
int se_base;
|
int se_base;
|
||||||
int se_limit;
|
int se_limit;
|
||||||
int se_max;
|
int se_max;
|
||||||
|
|||||||
@ -37,16 +37,16 @@ public:
|
|||||||
struct NpcSpellsEntries {
|
struct NpcSpellsEntries {
|
||||||
int id;
|
int id;
|
||||||
int npc_spells_id;
|
int npc_spells_id;
|
||||||
int16 spellid;
|
int spellid;
|
||||||
int type;
|
int type;
|
||||||
int8 minlevel;
|
int minlevel;
|
||||||
int8 maxlevel;
|
int maxlevel;
|
||||||
int16 manacost;
|
int manacost;
|
||||||
int recast_delay;
|
int recast_delay;
|
||||||
int16 priority;
|
int priority;
|
||||||
int resist_adjust;
|
int resist_adjust;
|
||||||
int16 min_hp;
|
int min_hp;
|
||||||
int16 max_hp;
|
int max_hp;
|
||||||
};
|
};
|
||||||
|
|
||||||
static std::string PrimaryKey()
|
static std::string PrimaryKey()
|
||||||
|
|||||||
@ -38,24 +38,24 @@ public:
|
|||||||
int id;
|
int id;
|
||||||
std::string name;
|
std::string name;
|
||||||
int parent_list;
|
int parent_list;
|
||||||
int16 attack_proc;
|
int attack_proc;
|
||||||
int8 proc_chance;
|
int proc_chance;
|
||||||
int16 range_proc;
|
int range_proc;
|
||||||
int16 rproc_chance;
|
int rproc_chance;
|
||||||
int16 defensive_proc;
|
int defensive_proc;
|
||||||
int16 dproc_chance;
|
int dproc_chance;
|
||||||
int fail_recast;
|
int fail_recast;
|
||||||
int engaged_no_sp_recast_min;
|
int engaged_no_sp_recast_min;
|
||||||
int engaged_no_sp_recast_max;
|
int engaged_no_sp_recast_max;
|
||||||
int8 engaged_b_self_chance;
|
int engaged_b_self_chance;
|
||||||
int8 engaged_b_other_chance;
|
int engaged_b_other_chance;
|
||||||
int8 engaged_d_chance;
|
int engaged_d_chance;
|
||||||
int pursue_no_sp_recast_min;
|
int pursue_no_sp_recast_min;
|
||||||
int pursue_no_sp_recast_max;
|
int pursue_no_sp_recast_max;
|
||||||
int8 pursue_d_chance;
|
int pursue_d_chance;
|
||||||
int idle_no_sp_recast_min;
|
int idle_no_sp_recast_min;
|
||||||
int idle_no_sp_recast_max;
|
int idle_no_sp_recast_max;
|
||||||
int8 idle_b_chance;
|
int idle_b_chance;
|
||||||
};
|
};
|
||||||
|
|
||||||
static std::string PrimaryKey()
|
static std::string PrimaryKey()
|
||||||
|
|||||||
@ -38,15 +38,15 @@ public:
|
|||||||
int id;
|
int id;
|
||||||
std::string name;
|
std::string name;
|
||||||
std::string lastname;
|
std::string lastname;
|
||||||
int8 level;
|
int level;
|
||||||
int16 race;
|
int race;
|
||||||
int8 class;
|
int class;
|
||||||
int bodytype;
|
int bodytype;
|
||||||
int hp;
|
int hp;
|
||||||
int mana;
|
int mana;
|
||||||
int8 gender;
|
int gender;
|
||||||
int8 texture;
|
int texture;
|
||||||
int8 helmtexture;
|
int helmtexture;
|
||||||
int herosforgemodel;
|
int herosforgemodel;
|
||||||
float size;
|
float size;
|
||||||
int hp_regen_rate;
|
int hp_regen_rate;
|
||||||
@ -61,7 +61,7 @@ public:
|
|||||||
int trap_template;
|
int trap_template;
|
||||||
int mindmg;
|
int mindmg;
|
||||||
int maxdmg;
|
int maxdmg;
|
||||||
int16 attack_count;
|
int attack_count;
|
||||||
std::string npcspecialattks;
|
std::string npcspecialattks;
|
||||||
std::string special_abilities;
|
std::string special_abilities;
|
||||||
int aggroradius;
|
int aggroradius;
|
||||||
@ -77,32 +77,32 @@ public:
|
|||||||
int drakkin_tattoo;
|
int drakkin_tattoo;
|
||||||
int drakkin_details;
|
int drakkin_details;
|
||||||
int armortint_id;
|
int armortint_id;
|
||||||
int8 armortint_red;
|
int armortint_red;
|
||||||
int8 armortint_green;
|
int armortint_green;
|
||||||
int8 armortint_blue;
|
int armortint_blue;
|
||||||
int d_melee_texture1;
|
int d_melee_texture1;
|
||||||
int d_melee_texture2;
|
int d_melee_texture2;
|
||||||
std::string ammo_idfile;
|
std::string ammo_idfile;
|
||||||
int8 prim_melee_type;
|
int prim_melee_type;
|
||||||
int8 sec_melee_type;
|
int sec_melee_type;
|
||||||
int8 ranged_type;
|
int ranged_type;
|
||||||
float runspeed;
|
float runspeed;
|
||||||
int16 MR;
|
int MR;
|
||||||
int16 CR;
|
int CR;
|
||||||
int16 DR;
|
int DR;
|
||||||
int16 FR;
|
int FR;
|
||||||
int16 PR;
|
int PR;
|
||||||
int16 Corrup;
|
int Corrup;
|
||||||
int16 PhR;
|
int PhR;
|
||||||
int16 see_invis;
|
int see_invis;
|
||||||
int16 see_invis_undead;
|
int see_invis_undead;
|
||||||
int qglobal;
|
int qglobal;
|
||||||
int16 AC;
|
int AC;
|
||||||
int8 npc_aggro;
|
int npc_aggro;
|
||||||
int8 spawn_limit;
|
int spawn_limit;
|
||||||
float attack_speed;
|
float attack_speed;
|
||||||
int8 attack_delay;
|
int attack_delay;
|
||||||
int8 findable;
|
int findable;
|
||||||
int STR;
|
int STR;
|
||||||
int STA;
|
int STA;
|
||||||
int DEX;
|
int DEX;
|
||||||
@ -110,53 +110,53 @@ public:
|
|||||||
int _INT;
|
int _INT;
|
||||||
int WIS;
|
int WIS;
|
||||||
int CHA;
|
int CHA;
|
||||||
int8 see_hide;
|
int see_hide;
|
||||||
int8 see_improved_hide;
|
int see_improved_hide;
|
||||||
int8 trackable;
|
int trackable;
|
||||||
int8 isbot;
|
int isbot;
|
||||||
int8 exclude;
|
int exclude;
|
||||||
int ATK;
|
int ATK;
|
||||||
int Accuracy;
|
int Accuracy;
|
||||||
int Avoidance;
|
int Avoidance;
|
||||||
int16 slow_mitigation;
|
int slow_mitigation;
|
||||||
int16 version;
|
int version;
|
||||||
int8 maxlevel;
|
int maxlevel;
|
||||||
int scalerate;
|
int scalerate;
|
||||||
int8 private_corpse;
|
int private_corpse;
|
||||||
int8 unique_spawn_by_name;
|
int unique_spawn_by_name;
|
||||||
int8 underwater;
|
int underwater;
|
||||||
int8 isquest;
|
int isquest;
|
||||||
int emoteid;
|
int emoteid;
|
||||||
float spellscale;
|
float spellscale;
|
||||||
float healscale;
|
float healscale;
|
||||||
int8 no_target_hotkey;
|
int no_target_hotkey;
|
||||||
int8 raid_target;
|
int raid_target;
|
||||||
int8 armtexture;
|
int armtexture;
|
||||||
int8 bracertexture;
|
int bracertexture;
|
||||||
int8 handtexture;
|
int handtexture;
|
||||||
int8 legtexture;
|
int legtexture;
|
||||||
int8 feettexture;
|
int feettexture;
|
||||||
int8 light;
|
int light;
|
||||||
int8 walkspeed;
|
int walkspeed;
|
||||||
int peqid;
|
int peqid;
|
||||||
int8 unique_;
|
int unique_;
|
||||||
int8 fixed;
|
int fixed;
|
||||||
int8 ignore_despawn;
|
int ignore_despawn;
|
||||||
int8 show_name;
|
int show_name;
|
||||||
int8 untargetable;
|
int untargetable;
|
||||||
int16 charm_ac;
|
int charm_ac;
|
||||||
int charm_min_dmg;
|
int charm_min_dmg;
|
||||||
int charm_max_dmg;
|
int charm_max_dmg;
|
||||||
int8 charm_attack_delay;
|
int charm_attack_delay;
|
||||||
int charm_accuracy_rating;
|
int charm_accuracy_rating;
|
||||||
int charm_avoidance_rating;
|
int charm_avoidance_rating;
|
||||||
int charm_atk;
|
int charm_atk;
|
||||||
int8 skip_global_loot;
|
int skip_global_loot;
|
||||||
int8 rare_spawn;
|
int rare_spawn;
|
||||||
int8 stuck_behavior;
|
int stuck_behavior;
|
||||||
int16 model;
|
int model;
|
||||||
int8 flymode;
|
int flymode;
|
||||||
int8 always_aggro;
|
int always_aggro;
|
||||||
};
|
};
|
||||||
|
|
||||||
static std::string PrimaryKey()
|
static std::string PrimaryKey()
|
||||||
|
|||||||
@ -37,33 +37,33 @@ public:
|
|||||||
struct NpcTypesTint {
|
struct NpcTypesTint {
|
||||||
int id;
|
int id;
|
||||||
std::string tint_set_name;
|
std::string tint_set_name;
|
||||||
int8 red1h;
|
int red1h;
|
||||||
int8 grn1h;
|
int grn1h;
|
||||||
int8 blu1h;
|
int blu1h;
|
||||||
int8 red2c;
|
int red2c;
|
||||||
int8 grn2c;
|
int grn2c;
|
||||||
int8 blu2c;
|
int blu2c;
|
||||||
int8 red3a;
|
int red3a;
|
||||||
int8 grn3a;
|
int grn3a;
|
||||||
int8 blu3a;
|
int blu3a;
|
||||||
int8 red4b;
|
int red4b;
|
||||||
int8 grn4b;
|
int grn4b;
|
||||||
int8 blu4b;
|
int blu4b;
|
||||||
int8 red5g;
|
int red5g;
|
||||||
int8 grn5g;
|
int grn5g;
|
||||||
int8 blu5g;
|
int blu5g;
|
||||||
int8 red6l;
|
int red6l;
|
||||||
int8 grn6l;
|
int grn6l;
|
||||||
int8 blu6l;
|
int blu6l;
|
||||||
int8 red7f;
|
int red7f;
|
||||||
int8 grn7f;
|
int grn7f;
|
||||||
int8 blu7f;
|
int blu7f;
|
||||||
int8 red8x;
|
int red8x;
|
||||||
int8 grn8x;
|
int grn8x;
|
||||||
int8 blu8x;
|
int blu8x;
|
||||||
int8 red9x;
|
int red9x;
|
||||||
int8 grn9x;
|
int grn9x;
|
||||||
int8 blu9x;
|
int blu9x;
|
||||||
};
|
};
|
||||||
|
|
||||||
static std::string PrimaryKey()
|
static std::string PrimaryKey()
|
||||||
|
|||||||
@ -39,7 +39,7 @@ public:
|
|||||||
int parentid;
|
int parentid;
|
||||||
int bagidx;
|
int bagidx;
|
||||||
int itemid;
|
int itemid;
|
||||||
int16 charges;
|
int charges;
|
||||||
std::string droptime;
|
std::string droptime;
|
||||||
int augslot1;
|
int augslot1;
|
||||||
int augslot2;
|
int augslot2;
|
||||||
|
|||||||
@ -37,13 +37,13 @@ public:
|
|||||||
struct Object {
|
struct Object {
|
||||||
int id;
|
int id;
|
||||||
int zoneid;
|
int zoneid;
|
||||||
int16 version;
|
int version;
|
||||||
float xpos;
|
float xpos;
|
||||||
float ypos;
|
float ypos;
|
||||||
float zpos;
|
float zpos;
|
||||||
float heading;
|
float heading;
|
||||||
int itemid;
|
int itemid;
|
||||||
int16 charges;
|
int charges;
|
||||||
std::string objectname;
|
std::string objectname;
|
||||||
int type;
|
int type;
|
||||||
int icon;
|
int icon;
|
||||||
|
|||||||
@ -37,11 +37,11 @@ public:
|
|||||||
struct PerlEventExportSettings {
|
struct PerlEventExportSettings {
|
||||||
int event_id;
|
int event_id;
|
||||||
std::string event_description;
|
std::string event_description;
|
||||||
int16 export_qglobals;
|
int export_qglobals;
|
||||||
int16 export_mob;
|
int export_mob;
|
||||||
int16 export_zone;
|
int export_zone;
|
||||||
int16 export_item;
|
int export_item;
|
||||||
int16 export_event;
|
int export_event;
|
||||||
};
|
};
|
||||||
|
|
||||||
static std::string PrimaryKey()
|
static std::string PrimaryKey()
|
||||||
|
|||||||
@ -49,7 +49,7 @@ public:
|
|||||||
int charlevel;
|
int charlevel;
|
||||||
int checkouts;
|
int checkouts;
|
||||||
int unavailables;
|
int unavailables;
|
||||||
int8 ischeckedout;
|
int ischeckedout;
|
||||||
int senttime;
|
int senttime;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@ -38,10 +38,10 @@ public:
|
|||||||
std::string type;
|
std::string type;
|
||||||
int petpower;
|
int petpower;
|
||||||
int npcID;
|
int npcID;
|
||||||
int8 temp;
|
int temp;
|
||||||
int8 petcontrol;
|
int petcontrol;
|
||||||
int8 petnaming;
|
int petnaming;
|
||||||
int8 monsterflag;
|
int monsterflag;
|
||||||
int equipmentset;
|
int equipmentset;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@ -37,7 +37,7 @@ public:
|
|||||||
struct RaidDetails {
|
struct RaidDetails {
|
||||||
int raidid;
|
int raidid;
|
||||||
int loottype;
|
int loottype;
|
||||||
int8 locked;
|
int locked;
|
||||||
std::string motd;
|
std::string motd;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@ -38,12 +38,12 @@ public:
|
|||||||
int raidid;
|
int raidid;
|
||||||
int charid;
|
int charid;
|
||||||
int groupid;
|
int groupid;
|
||||||
int8 _class;
|
int _class;
|
||||||
int8 level;
|
int level;
|
||||||
std::string name;
|
std::string name;
|
||||||
int8 isgroupleader;
|
int isgroupleader;
|
||||||
int8 israidleader;
|
int israidleader;
|
||||||
int8 islooter;
|
int islooter;
|
||||||
};
|
};
|
||||||
|
|
||||||
static std::string PrimaryKey()
|
static std::string PrimaryKey()
|
||||||
|
|||||||
@ -38,7 +38,7 @@ public:
|
|||||||
int id;
|
int id;
|
||||||
int start;
|
int start;
|
||||||
int duration;
|
int duration;
|
||||||
int16 instance_id;
|
int instance_id;
|
||||||
};
|
};
|
||||||
|
|
||||||
static std::string PrimaryKey()
|
static std::string PrimaryKey()
|
||||||
|
|||||||
@ -35,7 +35,7 @@
|
|||||||
class BaseRuleSetsRepository {
|
class BaseRuleSetsRepository {
|
||||||
public:
|
public:
|
||||||
struct RuleSets {
|
struct RuleSets {
|
||||||
int8 ruleset_id;
|
int ruleset_id;
|
||||||
std::string name;
|
std::string name;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@ -35,7 +35,7 @@
|
|||||||
class BaseRuleValuesRepository {
|
class BaseRuleValuesRepository {
|
||||||
public:
|
public:
|
||||||
struct RuleValues {
|
struct RuleValues {
|
||||||
int8 ruleset_id;
|
int ruleset_id;
|
||||||
std::string rule_name;
|
std::string rule_name;
|
||||||
std::string rule_value;
|
std::string rule_value;
|
||||||
std::string notes;
|
std::string notes;
|
||||||
|
|||||||
@ -35,11 +35,11 @@
|
|||||||
class BaseSkillCapsRepository {
|
class BaseSkillCapsRepository {
|
||||||
public:
|
public:
|
||||||
struct SkillCaps {
|
struct SkillCaps {
|
||||||
int8 skillID;
|
int skillID;
|
||||||
int8 class;
|
int class;
|
||||||
int8 level;
|
int level;
|
||||||
int cap;
|
int cap;
|
||||||
int8 class_;
|
int class_;
|
||||||
};
|
};
|
||||||
|
|
||||||
static std::string PrimaryKey()
|
static std::string PrimaryKey()
|
||||||
|
|||||||
@ -38,7 +38,7 @@ public:
|
|||||||
int id;
|
int id;
|
||||||
int spawngroupID;
|
int spawngroupID;
|
||||||
std::string zone;
|
std::string zone;
|
||||||
int16 version;
|
int version;
|
||||||
float x;
|
float x;
|
||||||
float y;
|
float y;
|
||||||
float z;
|
float z;
|
||||||
@ -48,8 +48,8 @@ public:
|
|||||||
int pathgrid;
|
int pathgrid;
|
||||||
int _condition;
|
int _condition;
|
||||||
int cond_value;
|
int cond_value;
|
||||||
int8 enabled;
|
int enabled;
|
||||||
int8 animation;
|
int animation;
|
||||||
};
|
};
|
||||||
|
|
||||||
static std::string PrimaryKey()
|
static std::string PrimaryKey()
|
||||||
|
|||||||
@ -36,7 +36,7 @@ class BaseSpawnConditionValuesRepository {
|
|||||||
public:
|
public:
|
||||||
struct SpawnConditionValues {
|
struct SpawnConditionValues {
|
||||||
int id;
|
int id;
|
||||||
int8 value;
|
int value;
|
||||||
std::string zone;
|
std::string zone;
|
||||||
int instance_id;
|
int instance_id;
|
||||||
};
|
};
|
||||||
|
|||||||
@ -38,7 +38,7 @@ public:
|
|||||||
std::string zone;
|
std::string zone;
|
||||||
int id;
|
int id;
|
||||||
int value;
|
int value;
|
||||||
int8 onchange;
|
int onchange;
|
||||||
std::string name;
|
std::string name;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@ -40,15 +40,15 @@ public:
|
|||||||
int cond_id;
|
int cond_id;
|
||||||
std::string name;
|
std::string name;
|
||||||
int period;
|
int period;
|
||||||
int8 next_minute;
|
int next_minute;
|
||||||
int8 next_hour;
|
int next_hour;
|
||||||
int8 next_day;
|
int next_day;
|
||||||
int8 next_month;
|
int next_month;
|
||||||
int next_year;
|
int next_year;
|
||||||
int8 enabled;
|
int enabled;
|
||||||
int8 action;
|
int action;
|
||||||
int argument;
|
int argument;
|
||||||
int8 strict;
|
int strict;
|
||||||
};
|
};
|
||||||
|
|
||||||
static std::string PrimaryKey()
|
static std::string PrimaryKey()
|
||||||
|
|||||||
@ -37,7 +37,7 @@ public:
|
|||||||
struct Spawnentry {
|
struct Spawnentry {
|
||||||
int spawngroupID;
|
int spawngroupID;
|
||||||
int npcID;
|
int npcID;
|
||||||
int16 chance;
|
int chance;
|
||||||
int condition_value_filter;
|
int condition_value_filter;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@ -37,7 +37,7 @@ public:
|
|||||||
struct Spawngroup {
|
struct Spawngroup {
|
||||||
int id;
|
int id;
|
||||||
std::string name;
|
std::string name;
|
||||||
int8 spawn_limit;
|
int spawn_limit;
|
||||||
float dist;
|
float dist;
|
||||||
float max_x;
|
float max_x;
|
||||||
float min_x;
|
float min_x;
|
||||||
@ -45,9 +45,9 @@ public:
|
|||||||
float min_y;
|
float min_y;
|
||||||
int delay;
|
int delay;
|
||||||
int mindelay;
|
int mindelay;
|
||||||
int8 despawn;
|
int despawn;
|
||||||
int despawn_timer;
|
int despawn_timer;
|
||||||
int8 wp_spawns;
|
int wp_spawns;
|
||||||
};
|
};
|
||||||
|
|
||||||
static std::string PrimaryKey()
|
static std::string PrimaryKey()
|
||||||
|
|||||||
@ -49,9 +49,9 @@ public:
|
|||||||
float bind_x;
|
float bind_x;
|
||||||
float bind_y;
|
float bind_y;
|
||||||
float bind_z;
|
float bind_z;
|
||||||
int8 select_rank;
|
int select_rank;
|
||||||
int8 min_expansion;
|
int min_expansion;
|
||||||
int8 max_expansion;
|
int max_expansion;
|
||||||
std::string content_flags;
|
std::string content_flags;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@ -41,11 +41,11 @@ public:
|
|||||||
int deityid;
|
int deityid;
|
||||||
int zoneid;
|
int zoneid;
|
||||||
int itemid;
|
int itemid;
|
||||||
int8 item_charges;
|
int item_charges;
|
||||||
int8 gm;
|
int gm;
|
||||||
int slot;
|
int slot;
|
||||||
int8 min_expansion;
|
int min_expansion;
|
||||||
int8 max_expansion;
|
int max_expansion;
|
||||||
std::string content_flags;
|
std::string content_flags;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@ -38,7 +38,7 @@ public:
|
|||||||
int taskid;
|
int taskid;
|
||||||
int activityid;
|
int activityid;
|
||||||
int step;
|
int step;
|
||||||
int8 activitytype;
|
int activitytype;
|
||||||
std::string target_name;
|
std::string target_name;
|
||||||
std::string item_list;
|
std::string item_list;
|
||||||
std::string skill_list;
|
std::string skill_list;
|
||||||
@ -49,7 +49,7 @@ public:
|
|||||||
int goalcount;
|
int goalcount;
|
||||||
int delivertonpc;
|
int delivertonpc;
|
||||||
std::string zones;
|
std::string zones;
|
||||||
int8 optional;
|
int optional;
|
||||||
};
|
};
|
||||||
|
|
||||||
static std::string PrimaryKey()
|
static std::string PrimaryKey()
|
||||||
|
|||||||
@ -36,19 +36,19 @@ class BaseTasksRepository {
|
|||||||
public:
|
public:
|
||||||
struct Tasks {
|
struct Tasks {
|
||||||
int id;
|
int id;
|
||||||
int8 type;
|
int type;
|
||||||
int duration;
|
int duration;
|
||||||
int8 duration_code;
|
int duration_code;
|
||||||
std::string title;
|
std::string title;
|
||||||
std::string description;
|
std::string description;
|
||||||
std::string reward;
|
std::string reward;
|
||||||
int rewardid;
|
int rewardid;
|
||||||
int cashreward;
|
int cashreward;
|
||||||
int xpreward;
|
int xpreward;
|
||||||
int8 rewardmethod;
|
int rewardmethod;
|
||||||
int8 minlevel;
|
int minlevel;
|
||||||
int8 maxlevel;
|
int maxlevel;
|
||||||
int8 repeatable;
|
int repeatable;
|
||||||
int faction_reward;
|
int faction_reward;
|
||||||
std::string completion_emote;
|
std::string completion_emote;
|
||||||
};
|
};
|
||||||
|
|||||||
@ -39,7 +39,7 @@ public:
|
|||||||
int type;
|
int type;
|
||||||
int start;
|
int start;
|
||||||
int duration;
|
int duration;
|
||||||
int8 enable;
|
int enable;
|
||||||
};
|
};
|
||||||
|
|
||||||
static std::string PrimaryKey()
|
static std::string PrimaryKey()
|
||||||
|
|||||||
@ -36,21 +36,21 @@ class BaseTitlesRepository {
|
|||||||
public:
|
public:
|
||||||
struct Titles {
|
struct Titles {
|
||||||
int id;
|
int id;
|
||||||
int8 skill_id;
|
int skill_id;
|
||||||
int min_skill_value;
|
int min_skill_value;
|
||||||
int max_skill_value;
|
int max_skill_value;
|
||||||
int min_aa_points;
|
int min_aa_points;
|
||||||
int max_aa_points;
|
int max_aa_points;
|
||||||
int8 class;
|
int class;
|
||||||
int8 gender;
|
int gender;
|
||||||
int char_id;
|
int char_id;
|
||||||
int status;
|
int status;
|
||||||
int item_id;
|
int item_id;
|
||||||
std::string prefix;
|
std::string prefix;
|
||||||
std::string suffix;
|
std::string suffix;
|
||||||
int title_set;
|
int title_set;
|
||||||
int8 min_expansion;
|
int min_expansion;
|
||||||
int8 max_expansion;
|
int max_expansion;
|
||||||
std::string content_flags;
|
std::string content_flags;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@ -40,7 +40,7 @@ public:
|
|||||||
int serialnumber;
|
int serialnumber;
|
||||||
int charges;
|
int charges;
|
||||||
int item_cost;
|
int item_cost;
|
||||||
int8 slot_id;
|
int slot_id;
|
||||||
};
|
};
|
||||||
|
|
||||||
static std::string PrimaryKey()
|
static std::string PrimaryKey()
|
||||||
|
|||||||
@ -38,11 +38,11 @@ public:
|
|||||||
int id;
|
int id;
|
||||||
int recipe_id;
|
int recipe_id;
|
||||||
int item_id;
|
int item_id;
|
||||||
int8 successcount;
|
int successcount;
|
||||||
int8 failcount;
|
int failcount;
|
||||||
int8 componentcount;
|
int componentcount;
|
||||||
int8 salvagecount;
|
int salvagecount;
|
||||||
int8 iscontainer;
|
int iscontainer;
|
||||||
};
|
};
|
||||||
|
|
||||||
static std::string PrimaryKey()
|
static std::string PrimaryKey()
|
||||||
|
|||||||
@ -37,17 +37,17 @@ public:
|
|||||||
struct TradeskillRecipe {
|
struct TradeskillRecipe {
|
||||||
int id;
|
int id;
|
||||||
std::string name;
|
std::string name;
|
||||||
int16 tradeskill;
|
int tradeskill;
|
||||||
int16 skillneeded;
|
int skillneeded;
|
||||||
int16 trivial;
|
int trivial;
|
||||||
int8 nofail;
|
int nofail;
|
||||||
int8 replace_container;
|
int replace_container;
|
||||||
std::string notes;
|
std::string notes;
|
||||||
int8 must_learn;
|
int must_learn;
|
||||||
int8 quest;
|
int quest;
|
||||||
int8 enabled;
|
int enabled;
|
||||||
int8 min_expansion;
|
int min_expansion;
|
||||||
int8 max_expansion;
|
int max_expansion;
|
||||||
std::string content_flags;
|
std::string content_flags;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@ -37,11 +37,11 @@ public:
|
|||||||
struct Traps {
|
struct Traps {
|
||||||
int id;
|
int id;
|
||||||
std::string zone;
|
std::string zone;
|
||||||
int16 version;
|
int version;
|
||||||
int x;
|
int x;
|
||||||
int y;
|
int y;
|
||||||
int z;
|
int z;
|
||||||
int8 chance;
|
int chance;
|
||||||
float maxzdiff;
|
float maxzdiff;
|
||||||
float radius;
|
float radius;
|
||||||
int effect;
|
int effect;
|
||||||
@ -52,12 +52,12 @@ public:
|
|||||||
int level;
|
int level;
|
||||||
int respawn_time;
|
int respawn_time;
|
||||||
int respawn_var;
|
int respawn_var;
|
||||||
int8 triggered_number;
|
int triggered_number;
|
||||||
int8 group;
|
int group;
|
||||||
int8 despawn_when_triggered;
|
int despawn_when_triggered;
|
||||||
int8 undetectable;
|
int undetectable;
|
||||||
int8 min_expansion;
|
int min_expansion;
|
||||||
int8 max_expansion;
|
int max_expansion;
|
||||||
std::string content_flags;
|
std::string content_flags;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@ -39,7 +39,7 @@ public:
|
|||||||
int unknown;
|
int unknown;
|
||||||
std::string name;
|
std::string name;
|
||||||
std::string descr;
|
std::string descr;
|
||||||
int8 isguild;
|
int isguild;
|
||||||
};
|
};
|
||||||
|
|
||||||
static std::string PrimaryKey()
|
static std::string PrimaryKey()
|
||||||
|
|||||||
@ -38,8 +38,8 @@ public:
|
|||||||
int claim_id;
|
int claim_id;
|
||||||
std::string name;
|
std::string name;
|
||||||
int item_id;
|
int item_id;
|
||||||
int16 charges;
|
int charges;
|
||||||
int8 reward_slot;
|
int reward_slot;
|
||||||
};
|
};
|
||||||
|
|
||||||
static std::string PrimaryKey()
|
static std::string PrimaryKey()
|
||||||
|
|||||||
@ -38,7 +38,7 @@ public:
|
|||||||
int id;
|
int id;
|
||||||
std::string zone;
|
std::string zone;
|
||||||
int version;
|
int version;
|
||||||
int16 number;
|
int number;
|
||||||
float y;
|
float y;
|
||||||
float x;
|
float x;
|
||||||
float z;
|
float z;
|
||||||
@ -47,13 +47,13 @@ public:
|
|||||||
float target_x;
|
float target_x;
|
||||||
float target_z;
|
float target_z;
|
||||||
float target_heading;
|
float target_heading;
|
||||||
int16 zoneinst;
|
int zoneinst;
|
||||||
int target_zone_id;
|
int target_zone_id;
|
||||||
int target_instance;
|
int target_instance;
|
||||||
float buffer;
|
float buffer;
|
||||||
int client_version_mask;
|
int client_version_mask;
|
||||||
int8 min_expansion;
|
int min_expansion;
|
||||||
int8 max_expansion;
|
int max_expansion;
|
||||||
std::string content_flags;
|
std::string content_flags;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user