mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-17 19:05:42 +00:00
feat(Core/Misc): implement ObjectGuid class (port from TC) (#4885)
This commit is contained in:
@@ -44,7 +44,7 @@ public:
|
||||
{
|
||||
banishTimer = 5000;
|
||||
exileTimer = 8500;
|
||||
playerGUID = 0;
|
||||
playerGUID.Clear();
|
||||
canTeleport = false;
|
||||
}
|
||||
|
||||
@@ -62,7 +62,7 @@ public:
|
||||
temp->CastSpell(temp, SPELL_EXILE, true);
|
||||
temp->CastSpell(temp, SPELL_BANISH_TELEPORT, true);
|
||||
}
|
||||
playerGUID = 0;
|
||||
playerGUID.Clear();
|
||||
exileTimer = 8500;
|
||||
canTeleport = false;
|
||||
}
|
||||
@@ -88,7 +88,7 @@ public:
|
||||
private:
|
||||
uint32 exileTimer;
|
||||
uint32 banishTimer;
|
||||
uint64 playerGUID;
|
||||
ObjectGuid playerGUID;
|
||||
bool canTeleport;
|
||||
};
|
||||
|
||||
@@ -111,7 +111,7 @@ public:
|
||||
{
|
||||
banishTimer = 5000;
|
||||
exileTimer = 8500;
|
||||
playerGUID = 0;
|
||||
playerGUID.Clear();
|
||||
canTeleport = false;
|
||||
}
|
||||
|
||||
@@ -129,7 +129,7 @@ public:
|
||||
temp->CastSpell(temp, SPELL_EXILE, true);
|
||||
temp->CastSpell(temp, SPELL_BANISH_TELEPORT, true);
|
||||
}
|
||||
playerGUID = 0;
|
||||
playerGUID.Clear();
|
||||
exileTimer = 8500;
|
||||
canTeleport = false;
|
||||
}
|
||||
@@ -154,7 +154,7 @@ public:
|
||||
private:
|
||||
uint32 exileTimer;
|
||||
uint32 banishTimer;
|
||||
uint64 playerGUID;
|
||||
ObjectGuid playerGUID;
|
||||
bool canTeleport;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user