#pragma once #include //#include #include "FieldPropResource.h" class SFieldPropResourceDB { private: KHash< FieldPropResource*, hashPr_mod_int> m_hashFieldPropResource; void Init(); void Load(); void Destroy(); public: FieldPropResource* GetFieldPropResource( int nQuestPropID ); int GetSkillID( int nQuestPropID ); int GetTerrainCheck( int nQuestPropID ); int getDungeonGateType(int id); /// 2011.07.21 - prodongi KHash< FieldPropResource*, hashPr_mod_int>& GetFieldPropResourceInfo(); const char* GetQuestPropModelName( int nQuestPropID ); public: SFieldPropResourceDB(); ~SFieldPropResourceDB(); static SFieldPropResourceDB* m_pThis; }; SFieldPropResourceDB & GetFieldPropResourceDB();