TrinityCoreCustomChanges icon indicating copy to clipboard operation
TrinityCoreCustomChanges copied to clipboard

Get Roles

Open qyh214 opened this issue 2 years ago • 1 comments

Description:

in 4.x, we can get roles like tank,heal and dps.but in 3.3.5 this API is lacking.we should add this feature

e.g: like https://github.com/azerothcore/azerothcore-wotlk/blob/master/src/server/game/Entities/Player/Player.cpp#L15939

Branch(es):

3.3.5

qyh214 avatar Jan 05 '23 09:01 qyh214

You can look into Trinity::Helpers::Entity::GetPlayerSpecialization() for something easier to implement

ckegg avatar Sep 24 '23 03:09 ckegg