mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-22 15:48:22 +00:00
[Cleanup] Use explicit conversions for enum formatting (#4064)
This is prep for updating to fmt 10 which removed implicit conversions for enums.
This commit is contained in:
@@ -162,6 +162,8 @@ namespace EQ
|
||||
// server profile does not reflect this yet..so, prefixed with 'PACKET_'
|
||||
#define PACKET_SKILL_ARRAY_SIZE 100
|
||||
|
||||
constexpr int format_as(SkillType skill) { return static_cast<int>(skill); }
|
||||
|
||||
bool IsTradeskill(SkillType skill);
|
||||
bool IsSpecializedSkill(SkillType skill);
|
||||
float GetSkillMeleePushForce(SkillType skill);
|
||||
|
||||
Reference in New Issue
Block a user