[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:
ApoC 2009-07-09 13:06:42 +02:00
parent 394cf9264d
commit c703ce8bfd
2 changed files with 3 additions and 3 deletions

View file

@ -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:

View file

@ -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__