#pragma once #pragma pack( 1 ) struct FieldPropResource { FieldPropResource() { id = 0; text_id = 0; tooltip_id = 0; type = 0; local_flag = 0; casting_time = 0; use_count = 0; regen_time = 0; life_time = 0; casting_range = 0.0f; target_fx_size = 0.0f; limit_min_level = 0; limit_max_level = 0; limit_deva = 0; limit_asura = 0; limit_gaia = 0; limit_fighter = 0; limit_hunter = 0; limit_magician = 0; limit_summoner = 0; limit_job = 0; activation_condition = 0; activation_value1 = 0; activation_value2 = 0; activation2_condition = 0; activation2_value1 = 0; activation2_value2 = 0; activate_id = 0; drop_item_id_00 = 0; drop_item_ratio_00 = 0; drop_item_count_min_00 = 0; drop_item_count_max_00 = 0; drop_item_level_min_00 = 0; drop_item_level_max_00 = 0; drop_item_id_01 = 0; drop_item_ratio_01 = 0; drop_item_count_min_01 = 0; drop_item_count_max_01 = 0; drop_item_level_min_01 = 0; drop_item_level_max_01 = 0; memset( script_text, 0, sizeof(script_text) ); memset( file_name, 0, sizeof(file_name) ); terrain_check = 0; worldmap_check_type = 0; /// 2011.07.21 - prodongi } int id; ///< INT NOT NULL, -- 1 int text_id; ///< INT NOT NULL, -- 2 int tooltip_id; ///< INT NOT NULL, -- 3 int type; ///< INT NOT NULL, -- 4 int local_flag; ///< INT NOT NULL, -- 5 int casting_time; ///< INT NOT NULL, -- 6 int use_count; ///< INT NOT NULL, -- 7 int regen_time; ///< INT NOT NULL, -- 8 int life_time; ///< INT NOT NULL, -- 9 float casting_range; ///< DECIMAL( 10, 2 ) NOT NULL, -- 10 float target_fx_size; ///< DECIMAL( 10, 2 ) NOT NULL, -- 11 int limit_min_level; ///< INT NOT NULL, -- 12 int limit_max_level; ///< INT NOT NULL, -- 13 char limit_deva; ///< CHAR NOT NULL, -- 14 char limit_asura; ///< CHAR NOT NULL, -- 15 char limit_gaia; ///< CHAR NOT NULL, -- 16 char limit_fighter; ///< CHAR NOT NULL, -- 17 char limit_hunter; ///< CHAR NOT NULL, -- 18 char limit_magician; ///< CHAR NOT NULL, -- 19 char limit_summoner; ///< CHAR NOT NULL, -- 20 int limit_job; ///< INT NOT NULL, -- 21 int activation_condition; ///< INT NOT NULL, -- 22 int activation_value1; ///< INT NOT NULL, -- 23 int activation_value2; ///< INT NOT NULL, -- 24 int activation2_condition; ///< INT NOT NULL, -- 25 int activation2_value1; ///< INT NOT NULL, -- 26 int activation2_value2; ///< INT NOT NULL, -- 27 int activate_id; ///< INT NOT NULL, -- 28 int drop_item_id_00; ///< INT NOT NULL, -- 29 int drop_item_ratio_00; ///< INT NOT NULL, -- 30 int drop_item_count_min_00; ///< INT NOT NULL, -- 31 int drop_item_count_max_00; ///< INT NOT NULL, -- 32 int drop_item_level_min_00; ///< INT NOT NULL, -- 33 int drop_item_level_max_00; ///< INT NOT NULL, -- 34 int drop_item_id_01; ///< INT NOT NULL, -- 35 int drop_item_ratio_01; ///< INT NOT NULL, -- 36 int drop_item_count_min_01; ///< INT NOT NULL, -- 37 int drop_item_count_max_01; ///< INT NOT NULL, -- 38 int drop_item_level_min_01; ///< INT NOT NULL, -- 39 int drop_item_level_max_01; ///< INT NOT NULL, -- 40 char script_text[256]; ///< VARCHAR(255), -- 41 char file_name[256]; ///< VARCHAR(255), -- 42 int terrain_check; //INT NOT NULL, -- 43 short worldmap_check_type; /// 2011.07.21 던전 입구 타입 - prodongi }; #pragma pack()