mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-22 18:15:31 +01:00
Core/PacketIO: Updated TutorialAction enum for 6.2.0 and fix typo
This commit is contained in:
@@ -146,7 +146,9 @@ WorldPacket const* WorldPackets::Misc::TutorialFlags::Write()
|
||||
void WorldPackets::Misc::TutorialSetFlag::Read()
|
||||
{
|
||||
Action = _worldPacket.ReadBits(2);
|
||||
_worldPacket >> TutorialBit;
|
||||
|
||||
if (Action == TUTORIAL_ACTION_UPDATE)
|
||||
_worldPacket >> TutorialBit;
|
||||
}
|
||||
|
||||
WorldPacket const* WorldPackets::Misc::WorldServerInfo::Write()
|
||||
|
||||
@@ -619,11 +619,11 @@ enum AccountDataType
|
||||
|
||||
#define REGISTERED_ADDON_PREFIX_SOFTCAP 64
|
||||
|
||||
enum TutorialAction
|
||||
enum TutorialAction : uint8
|
||||
{
|
||||
TUTORIAL_ACTION_RESET = 0,
|
||||
TUTORIAL_ACTION_UPDATE = 1,
|
||||
TUTORIAL_ACTION_CLEAR = 2
|
||||
TUTORIAL_ACTION_RESET = 1,
|
||||
TUTORIAL_ACTION_CLEAR = 2,
|
||||
TUTORIAL_ACTION_UPDATE = 3
|
||||
};
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user