diff options
| author | Shauren <shauren.trinity@gmail.com> | 2019-12-26 13:30:32 +0100 |
|---|---|---|
| committer | Shauren <shauren.trinity@gmail.com> | 2022-10-04 00:19:38 +0200 |
| commit | a131542855d23022714a97640be1c8d68a741c31 (patch) | |
| tree | 8248d868b1af0e3a32ec5c261d25a496275353e2 /src/server/game/Groups/GroupInstanceReference.cpp | |
| parent | 17665c929c3a9fb7fe75dd680648129bc1c1f874 (diff) | |
Core/Maps: Check group that owns instance (first group to enter a given instance id owns it)
Diffstat (limited to 'src/server/game/Groups/GroupInstanceReference.cpp')
| -rw-r--r-- | src/server/game/Groups/GroupInstanceReference.cpp | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/src/server/game/Groups/GroupInstanceReference.cpp b/src/server/game/Groups/GroupInstanceReference.cpp new file mode 100644 index 00000000000..2628bb8074c --- /dev/null +++ b/src/server/game/Groups/GroupInstanceReference.cpp @@ -0,0 +1,32 @@ +/* + * This file is part of the TrinityCore Project. See AUTHORS file for Copyright information + * + * This program is free software; you can redistribute it and/or modify it + * under the terms of the GNU General Public License as published by the + * Free Software Foundation; either version 2 of the License, or (at your + * option) any later version. + * + * This program is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for + * more details. + * + * You should have received a copy of the GNU General Public License along + * with this program. If not, see <http://www.gnu.org/licenses/>. + */ + +#include "Group.h" +#include "GroupInstanceReference.h" + +void GroupInstanceReference::targetObjectBuildLink() +{ + getTarget()->LinkOwnedInstance(this); +} + +void GroupInstanceReference::targetObjectDestroyLink() +{ +} + +void GroupInstanceReference::sourceObjectDestroyLink() +{ +} |
