/* ==================================================================== * ÆÄ ÀÏ : PartyJoinPool.h * ¸ñ Àû : * ÀÛ ¼º ÀÚ : °ûöÁß * ÀÛ ¼º ÀÏ : 09/01/19 * ÁÖÀÇ»çÇ× : * =================================================================== */ #ifndef __PARTY_JOIN_POOL_H__ #define __PARTY_JOIN_POOL_H__ //#ifndef WINVER //#define WINVER 0x0500 //#endif // //#ifndef _WIN32_WINNT //#define _WIN32_WINNT 0x0500 //#endif #pragma once #include "memorypool.h" #include "player_common.h" #include "party_common.h" struct PartyJoin : PerNode { wchar_t name[MAX_NAME_BUFFER_SIZE]; // ij¸¯ÅÍ À̸§ unsigned long partyIdx; // ÆÄƼÀ妽º sPartyUserData playerDat; // ij¸¯ÅÍ µ¥ÀÌŸ DWORD delay; // ÀÀ´ä´ë±â }; struct PartyJoinRoot : NodeRoot {}; class cPartyJoinPool { private: PartyJoin* mNonPagedPoolUsage; // ÆäÀÌÁö ¾ÈµÈ Ç®. PartyJoinRoot mPartyJoinRoot; public: cPartyJoinPool( ); void Shutdown ( ); PartyJoinRoot* GetRoot ( ) { return &mPartyJoinRoot; } PartyJoin* Search ( wchar_t* name ); PartyJoin* Get ( wchar_t* name ); void Release ( PartyJoin* join ); public: virtual ~cPartyJoinPool(void); public: static cPartyJoinPool* mpPartyJoinPool; }; #define PARTYJOINPOOL cPartyJoinPool::mpPartyJoinPool #endif // __PARTY_JOIN_POOL_H__