/* ========================================================================== * ÆÄ ÀÏ : GatheringScript.h * ¸ñ Àû : * ÀÛ ¼º ÀÚ : ¹Ú°æÈñ * ÀÛ ¼º ÀÏ : 2008-12-11 * ÁÖÀÇ»çÇ× : *===========================================================================*/ #pragma once struct sGatheringList; struct sGatheringRegenHeader; class cGatheringScript { public: static cGatheringScript* mpGatheringScript; public: /// »ý¼º ¼Ò¸ê cGatheringScript(void); ~cGatheringScript(void) {} bool Init(); bool StageInit( unsigned short mapNumber, unsigned char levelMode ); void Release(); bool LoadGatheringList(); sGatheringList* GetGatheringInfo( unsigned long gatheringIdx ); bool LoadGatheringRegen( unsigned short mapnum, unsigned char levelMode, tPointerHashMap* pGatheringRegenMap ); const sGatheringRegenHeader* GetGatheringRegen( unsigned char levelMode, unsigned long regenIdx ); /// ¸®Á¨ ¸®½ºÆ® ÇØ½¬¸Ê Æ÷ÀÎÅ͸¦ ³Ñ±è tPointerHashMap* GetRegenGatheringMap( unsigned char levelMode ) { return (tPointerHashMap*)mGatheringRegenMap.GetAt( levelMode ); } private: typedef tArray cArray; typedef tArray cAryVoid; typedef tPointerHashSet cHashSet; typedef tPointerHashMap cPointHashMap; /// ¸ó½ºÅÍ ¸®½ºÆ® ÇØ½¬¸Ê // typedef tPointerHashMap cGatheringMap; cPointHashMap mGatheringMap; /// ¸®Á¨ ¸ó½ºÅÍ ÇØ½¬¸Ê // typedef tPointerHashMap cGatheringRegenMap; cPointHashMap mGatheringRegenMap; }; #define GATHERINGSCRIPT cGatheringScript::mpGatheringScript