diff options
| author | Jeremy <Golrag@users.noreply.github.com> | 2019-08-25 12:59:21 +0200 |
|---|---|---|
| committer | Shauren <shauren.trinity@gmail.com> | 2019-08-25 12:59:21 +0200 |
| commit | 51d6ad401479991edf0ee1213819bb7fc67906dd (patch) | |
| tree | 30f16479e4ce829fafabd1bc4ca1428cd0fbc26c /src/server/game | |
| parent | 11ebe36e57cd0ad299ce12bcaca4d98c73ac49d4 (diff) | |
Scripts/OrderHall: Spawn some Warrior Order Hall NPC's and script some of them (#19902)
Diffstat (limited to 'src/server/game')
| -rw-r--r-- | src/server/game/Entities/Unit/Unit.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/server/game/Entities/Unit/Unit.h b/src/server/game/Entities/Unit/Unit.h index d22a4fdbb72..e5400cc082c 100644 --- a/src/server/game/Entities/Unit/Unit.h +++ b/src/server/game/Entities/Unit/Unit.h @@ -1426,6 +1426,8 @@ class TC_GAME_API Unit : public WorldObject void SetCritterGUID(ObjectGuid guid) { SetUpdateFieldValue(m_values.ModifyValue(&Unit::m_unitData).ModifyValue(&UF::UnitData::Critter), guid); } ObjectGuid GetBattlePetCompanionGUID() const { return m_unitData->BattlePetCompanionGUID; } void SetBattlePetCompanionGUID(ObjectGuid guid) { SetUpdateFieldValue(m_values.ModifyValue(&Unit::m_unitData).ModifyValue(&UF::UnitData::BattlePetCompanionGUID), guid); } + ObjectGuid GetDemonCreatorGUID() const { return m_unitData->DemonCreator; } + void SetDemonCreatorGUID(ObjectGuid guid) { SetUpdateFieldValue(m_values.ModifyValue(&Unit::m_unitData).ModifyValue(&UF::UnitData::DemonCreator), guid); } bool IsControlledByPlayer() const { return m_ControlledByPlayer; } ObjectGuid GetCharmerOrOwnerGUID() const; |
