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 "Creature.h"
|
||||||
#include "ObjectAccessor.h"
|
#include "ObjectAccessor.h"
|
||||||
|
|
||||||
class MANGOS_DLL_SPEC TemporarySummon : public Creature
|
class TemporarySummon : public Creature
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
explicit TemporarySummon(uint64 summoner = 0);
|
explicit TemporarySummon(uint64 summoner = 0);
|
||||||
virtual ~TemporarySummon(){};
|
virtual ~TemporarySummon(){};
|
||||||
void Update(uint32 time);
|
void Update(uint32 time);
|
||||||
void Summon(TempSummonType type, uint32 lifetime);
|
void Summon(TempSummonType type, uint32 lifetime);
|
||||||
void UnSummon();
|
void MANGOS_DLL_SPEC UnSummon();
|
||||||
void SaveToDB();
|
void SaveToDB();
|
||||||
Unit* GetSummoner() const { return m_summoner ? ObjectAccessor::GetUnit(*this, m_summoner) : NULL; }
|
Unit* GetSummoner() const { return m_summoner ? ObjectAccessor::GetUnit(*this, m_summoner) : NULL; }
|
||||||
private:
|
private:
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "8153"
|
#define REVISION_NR "8154"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue