feat(Core/Misc): implement ObjectGuid class (port from TC) (#4885)
This commit is contained in:
parent
91081f4ad8
commit
f4c226423d
568 changed files with 10655 additions and 11019 deletions
|
|
@ -1294,7 +1294,7 @@ public:
|
|||
class CorpseExplosionCheck
|
||||
{
|
||||
public:
|
||||
explicit CorpseExplosionCheck(uint64 casterGUID, bool allowGhoul) : _casterGUID(casterGUID), _allowGhoul(allowGhoul) { }
|
||||
explicit CorpseExplosionCheck(ObjectGuid casterGUID, bool allowGhoul) : _casterGUID(casterGUID), _allowGhoul(allowGhoul) { }
|
||||
|
||||
bool operator()(WorldObject* obj) const
|
||||
{
|
||||
|
|
@ -1310,7 +1310,7 @@ public:
|
|||
}
|
||||
|
||||
private:
|
||||
uint64 _casterGUID;
|
||||
ObjectGuid _casterGUID;
|
||||
bool _allowGhoul;
|
||||
};
|
||||
|
||||
|
|
@ -2373,12 +2373,12 @@ public:
|
|||
{
|
||||
PrepareSpellScript(spell_dk_scourge_strike_SpellScript);
|
||||
float multiplier;
|
||||
uint64 guid;
|
||||
ObjectGuid guid;
|
||||
|
||||
bool Load() override
|
||||
{
|
||||
multiplier = 1.0f;
|
||||
guid = 0;
|
||||
guid.Clear();
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue