[Commands] Cleanup #findclass and #findrace Commands. (#2211)

- Cleanup messages and logic.
- Add bitmasks to player race messages.
This commit is contained in:
Kinglykrab
2022-05-27 14:46:53 -04:00
committed by GitHub
parent e6db71e31e
commit 123bc5f19a
4 changed files with 97 additions and 68 deletions
+1
View File
@@ -741,6 +741,7 @@ public:
//Util
static uint32 RandomTimer(int min, int max);
static uint8 GetDefaultGender(uint16 in_race, uint8 in_gender = 0xFF);
static bool IsPlayerClass(uint16 in_class);
static bool IsPlayerRace(uint16 in_race);
EQ::skills::SkillType GetSkillByItemType(int ItemType);
uint8 GetItemTypeBySkill(EQ::skills::SkillType skill);