#pragma once #ifdef _NA_007086_20140318_MONSTERBOOK #include "uiBaseMan.h" class uiMonsterBookView; class uiMonsterBookDropList; class uiMonsterBookExtract; class MonsterBookInfo; struct IM_MONSTERBOOK_MANAGER { static const DWORD MONSTERBOOK_VIEW; static const DWORD MONSTERBOOK_DROPLIST; //static const DWORD MONSTERBOOK_EXTRACT; }; enum MonsterBookTap { MonsterBookTap_View = 0, MonsterBookTap_DropList, //MonsterBookTap_Extract, MonsterBookTap_Max }; class uiMonsterBookMan : public uiBaseMan { public: typedef STLX_MULTIMAP MonsterBook_Group; // ¼­ºêÄ«Å×°í¸® ¸®½ºÆ® typedef STLX_MAP MonsterBook_Tree;// ¸ÞÀÎÄ«Å×°í¸® ¸®½ºÆ® uiMonsterBookMan(InterfaceManager *pUIMan); ~uiMonsterBookMan(); virtual void OnInitialize(); void toggle_monster_book(BOOL close_window = FALSE); void click_tap_button(BYTE index); MonsterBook_Tree& monsterbook_tree() { return monsterbook_tree_; } MonsterBook_Group& searched_group() { return searched_group_; } int identified_monster_count() { return identified_monster_count_; } int total_monster_count() { return total_monster_count_; } void ActiveMonsterIcon(DWORD monster_code, BOOL is_new); // ¸ó½ºÅ;ÆÀÌÄÜ È°¼ºÈ­ void ActiveMonsterIcon(DWORD monster_code[], int size, BOOL is_new = FALSE); // ¸ó½ºÅ;ÆÀÌÄÜ È°¼ºÈ­ #ifdef _DEV_VER void ActiveMonsterIconAll(BOOL is_bool); // Àӽà ¸ó½ºÅ;ÆÀÌÄÜ ¸ðµÎ Ȱ¼ºÈ­ #endif //_DEV_VER void ResetMonsterBookData(); void OnCharacterConnect(); void Search(TCHAR* search_name); static void HotKeyToggleMonsterBookDialog(); private: void set_current_dialog_key(DWORD dialog_key) { current_dialog_key_ = dialog_key; } DWORD current_dialog_key() { return current_dialog_key_; } void InitMonsterBookTree(); DWORD current_dialog_key_; // ÇöÀç â ¾ÆÀ̵ð uiMonsterBookView* ui_monsterbook_view_; uiMonsterBookDropList* ui_monsterbook_droplist_; //uiMonsterBookExtract* ui_monsterbook_extract_; DWORD tap_dialog_keys[MonsterBookTap_Max]; MonsterBook_Tree monsterbook_tree_; MonsterBook_Group searched_group_; // °Ë»öµÈ ±×·ì BOOL is_searched_; int identified_monster_count_; // È®ÀÎµÈ ¸ó½ºÅÍ ¼ö int total_monster_count_; // ÃÑ ¸ó½ºÅÍ ¼ö }; #endif //_NA_007086_20140318_MONSTERBOOK