29 lines
844 B
Objective-C
29 lines
844 B
Objective-C
// sonador 10.2.1 팻 시스템 구현
|
|
#pragma once
|
|
|
|
#include "SGamePet.h"
|
|
|
|
/**------------------------------------------------------------------
|
|
@class SGameOtherPet
|
|
@brief Avatar class for other player's pet
|
|
@author sonador
|
|
-------------------------------------------------------------------*/
|
|
class SGameOtherPet : public SGamePet
|
|
{
|
|
public:
|
|
|
|
SGameOtherPet( int nPetID );
|
|
virtual ~SGameOtherPet();
|
|
/// process other player's pet
|
|
virtual bool Process( DWORD time, unsigned long procBitSet = 0 );
|
|
|
|
private:
|
|
|
|
// internal method
|
|
virtual const char* getClassName() { return "SGameOtherPet"; } ///< for type identification
|
|
|
|
// member variables
|
|
class SGameAvatarEx* m_pMasterPlayer; ///< 주인님
|
|
AR_HANDLE m_hMaster; ///< 주인님 핸들
|
|
DWORD m_dwOldTime; ///< old time value for rarely processing
|
|
}; |