mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 01:37:00 +00:00
[8154] Export only needed method from TemporarySummon class instead of whole class.
Change suggested by Vladimir Signed-off-by: ApoC <apoc@nymfe.net>
This commit is contained in:
parent
394cf9264d
commit
c703ce8bfd
2 changed files with 3 additions and 3 deletions
|
|
@ -22,14 +22,14 @@
|
|||
#include "Creature.h"
|
||||
#include "ObjectAccessor.h"
|
||||
|
||||
class MANGOS_DLL_SPEC TemporarySummon : public Creature
|
||||
class TemporarySummon : public Creature
|
||||
{
|
||||
public:
|
||||
explicit TemporarySummon(uint64 summoner = 0);
|
||||
virtual ~TemporarySummon(){};
|
||||
void Update(uint32 time);
|
||||
void Summon(TempSummonType type, uint32 lifetime);
|
||||
void UnSummon();
|
||||
void MANGOS_DLL_SPEC UnSummon();
|
||||
void SaveToDB();
|
||||
Unit* GetSummoner() const { return m_summoner ? ObjectAccessor::GetUnit(*this, m_summoner) : NULL; }
|
||||
private:
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#ifndef __REVISION_NR_H__
|
||||
#define __REVISION_NR_H__
|
||||
#define REVISION_NR "8153"
|
||||
#define REVISION_NR "8154"
|
||||
#endif // __REVISION_NR_H__
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue