94 lines
2.9 KiB
C
94 lines
2.9 KiB
C
#pragma once
|
|
#pragma pack( 1 )
|
|
|
|
struct DungeonResource
|
|
{
|
|
DungeonResource()
|
|
{
|
|
id = 0;
|
|
local_flag = 0;
|
|
dungeon_level = 0;
|
|
start_pos_x = 0;
|
|
start_pos_y = 0;
|
|
defence_pos_x = 0;
|
|
defence_pos_y = 0;
|
|
connector_id = 0;
|
|
connector_pos_x = 0;
|
|
connector_pos_y = 0;
|
|
connector_direction = 0;
|
|
core_id = 0;
|
|
core_pos_x = 0;
|
|
core_pos_y = 0;
|
|
|
|
core_offset_x = 0;
|
|
core_offset_y = 0;
|
|
core_offset_z = 0;
|
|
core_around_x = 0;
|
|
core_around_y = 0;
|
|
core_around_z = 0;
|
|
|
|
scale_x = 1.0f;
|
|
scale_y = 1.0f;
|
|
scale_z = 1.0f;
|
|
is_height_locked = 0;
|
|
lock_height = 1.0f;
|
|
|
|
|
|
boss01_id = 0;
|
|
boss02_id = 0;
|
|
|
|
raid_opening_time = 0;
|
|
raid_closing_time = 0;
|
|
siege_opening_time = 0;
|
|
siege_closing_time = 0;
|
|
|
|
seamless_x = 0;
|
|
seamless_y = 0;
|
|
num_party_guild = 0;
|
|
num_party_mercenary = 0;
|
|
num_party_raid = 0;
|
|
}
|
|
|
|
int id; ///< INT NOT NULL, -- 01
|
|
int local_flag; ///< INT NOT NULL, -- 02
|
|
int dungeon_level; ///< INT NOT NULL, -- 03
|
|
int start_pos_x; ///< INT NOT NULL, -- 04
|
|
int start_pos_y; ///< INT NOT NULL, -- 05
|
|
int defence_pos_x; ///< INT NOT NULL, -- 06
|
|
int defence_pos_y; ///< INT NOT NULL, -- 07
|
|
int connector_id; ///< INT NOT NULL, -- 08
|
|
int connector_pos_x; ///< INT NOT NULL, -- 09
|
|
int connector_pos_y; ///< INT NOT NULL, -- 10
|
|
int connector_direction; ///< INT NOT NULL, -- 11
|
|
int core_id; ///< INT NOT NULL, -- 12
|
|
int core_pos_x; ///< INT NOT NULL, -- 13
|
|
int core_pos_y; ///< INT NOT NULL, -- 14
|
|
|
|
float core_offset_x; ///< DECIMAL(10,8) NOT NULL, -- 15
|
|
float core_offset_y; ///< DECIMAL(10,8) NOT NULL, -- 16
|
|
float core_offset_z; ///< DECIMAL(10,8) NOT NULL, -- 17
|
|
float core_around_x; ///< DECIMAL(10,8) NOT NULL, -- 18
|
|
float core_around_y; ///< DECIMAL(10,8) NOT NULL, -- 19
|
|
float core_around_z; ///< DECIMAL(10,8) NOT NULL, -- 20
|
|
|
|
float scale_x; ///< DECIMAL(10,8) NOT NULL, -- 21
|
|
float scale_y; ///< DECIMAL(10,8) NOT NULL, -- 22
|
|
float scale_z; ///< DECIMAL(10,8) NOT NULL, -- 23
|
|
char is_height_locked; ///< CHAR(1) NOT NULL, -- 24
|
|
float lock_height; ///< DECIMAL(10,8) NOT NULL, -- 25
|
|
|
|
int boss01_id; ///< INT NOT NULL, -- 26
|
|
int boss02_id; ///< INT NOT NULL, -- 27
|
|
int raid_opening_time; ///< INT NOT NULL, -- 28
|
|
int raid_closing_time; ///< INT NOT NULL, -- 29
|
|
int siege_opening_time; ///< INT NOT NULL, -- 30
|
|
int siege_closing_time; ///< INT NOT NULL, -- 31
|
|
|
|
int seamless_x; ///< INT NOT NULL, -- 32
|
|
int seamless_y; ///< INT NOT NULL, -- 33
|
|
int num_party_guild; ///< INT NOT NULL, -- 34
|
|
int num_party_mercenary; ///< INT NOT NULL -- 35
|
|
int num_party_raid; ///< INT NOT NULL -- 36
|
|
};
|
|
|
|
#pragma pack() |