mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-15 23:20:36 +01:00
Core/Unit: Make HandleEmoteCommand typesafe (#25249)
* Scripts/ScarletMonastery: Fix wrong emote during Headless Horseman encounter
* Scripts/HoR: Fix wrong emote during escape event
* Core/Unit: Make improve type safety of HandleEmoteCommand
Change argument type to the expected enum type Emote
* Scripts/CoS: Use SetUInt32Value to set UNIT_NPC_EMOTESTATE
UNIT_NPC_EMOTESTATE is no flag field
(cherry picked from commit 6c7837f947)
This commit is contained in:
committed by
Shauren
parent
595e89e02b
commit
2e3c612c80
@@ -79,6 +79,7 @@ struct SceneTemplate;
|
||||
enum BattlegroundTypeId : uint32;
|
||||
enum Difficulty : uint8;
|
||||
enum DuelCompleteType : uint8;
|
||||
enum Emote : uint32;
|
||||
enum QuestStatus : uint8;
|
||||
enum RemoveMethod : uint8;
|
||||
enum ShutdownExitCode : uint32;
|
||||
|
||||
Reference in New Issue
Block a user