📄 network2.h
字号:
#define CMD_GET_GUILD_ITEM_FIRST 10420
#define CMD_GET_GUILD_ITEM 10421
#define CMD_PUT_GUILD_ITEM 10422
#define CMD_GET_GUILD_ITEM_CLIENT 10423
#define CMD_GET_GUILD_BOX_MONEY 10425
#define CMD_CHECK_GUILD_BOX_MONEY 10426 // 瘤阂
#define CMD_GET_GUILD_ITEM_COUNT 10428 // 醚 荐樊父 啊廉柯促.
#define CMD_CHANGE_GUILD_MASTER 10429
#define CMD_CHANGE_GUILD_MASTER_SUB 10431 // 何辨付啊 辨靛 付胶磐 磊府甫 畴赴促.
#define CMD_REGIST_SUB_GUILD_MASTER 10432
#define CMD_CHECK_CHANGE_GUILD_INFO 10433
#define CMD_GET_NATION_ITEM 10434
#define CMD_BUY_NATION_ITEM 10435
#define CMD_BUY_NATION_ITEM_OK 10436
#define CMD_CHECK_COLOSSUS_MAP 10437
#define CMD_CHECK_COLOSSUS_MAP_REPLY 10438
#define CMD_INVITE_COLOSSUS 10439
#define CMD_INVITE_COLOSSUS_REPLY 10440
#define CMD_JOIN_COLOSSUS_MAP 10441
#define CMD_ATTACK_COLOSSUS_STONE 10442
#define CMD_ATTACK_COLOSSUS_STONE_RESULT 10443
#define CMD_REVIVAL_COLOSSUS 10444
#define CMD_CALL_MAIN_MENU 10445
#define CMD_GUILD_HOUSE_INFO 10446
#define CMD_CHANGE_GUILDHOUSE_INFO 10447
#define CMD_BUY_GUILD_HOUSE 10448
#define CMD_CHECK_GUILD_HOUSE 10449
#define CMD_PK_ON_OFF 10451
#define CMD_GET_PK_ON_OFF 10452
#define CMD_FAIL_ATTACK_BY_PK_MODE 10453
#define CMD_DIRECT_MAP_MOVE 10455
#define CMD_SEACH_OTHER_CHAR 10456
#define CMD_USE_GM_TOOL 10458
// new acer
#define CMD_SEND_EVENT_NO 10459
#define CMD_SETTING_MAP_TILE_EVENT 10460
#define CMD_DELETE_MAP_TILE_EVENT 10461
#define CMD_GET_SCENARIO_INFO 10462
#define CMD_SCENARIO_MESSAGE 10466
#define CMD_CHECK_EVENT_MOVE_MAP 10468
#define KEIN_FUNCTIONS_START 10600
#define CMD_TRAP_INFO 10603 // 矫唱府坷 技何 沥焊
#define CMD_SCENARIO_TRAP_KEY 10605
#define CMD_DRAGONROAD_VOTE 10606
#define CMD_SCENARIO_TIME_INFO 10607 // CSD-030306
#define CMD_CHANGE_SCENARIO_TIME 10608 // 020830 YGI
#define CMD_MOVEMAP_FOR_LIGHT_VERSION 10609 // 021007 YGI // 021008 YGI
#define CMD_EVENT_MOVE_MAP 10611
// 040105 YGI
#define CMD_CHECK_TREASURE_XY 10621
#define CMD_GET_TREASURE_MAP_DETAIL 10622 // 焊拱 瘤档狼 磊技茄 蔼阑 啊廉柯促.
#define CMD_TEST 14999 // 抛胶飘侩 菩哦
//////////////////// protocal of team battle /////////////
#define CMD_ALL_TEAM_MEMBER_VIEW 11200 // 评硅撇俊 曼咯茄 葛电 某腐磐狼 沥焊甫 焊郴霖促.
#define CMD_ADD_TEAM_MEMBER 11201 // 评俊 殿废茄促.
#define CMD_ADD_TEAM_MEMBER_INFO 11202 // 殿废等 仇狼 沥焊甫 焊辰促.
#define CMD_SV_SEND_MESSAGE_ALL 12003
//////////////////////////////////////////////////////////////////////////
// 040105 YGI
struct k_get_treasure_map_detail_to_map
{
POS pos;
short int cn;
short int map_number;
short int x;
short int y;
};
struct k_check_treasure_xy
{
short x;
short y;
};
//////////////////////////
struct k_event_move_map_req // 努扼捞攫飘啊 叼厚俊霸 夸没
{
char sex; // 己喊 咯磊 0, 巢磊 1
char class_num; // 努贰胶 锅龋 ClassType 阑 蝶弗促.
char nation; // 惫啊 锅龋 define阑 蝶弗促.
};
struct k_event_move_map_rep // 捞亥飘 甘捞 乐栏搁 舅妨霖促.
{
int event_no;
char map_name[20];
};
struct k_event_sound
{
char active;
int sound;
};
struct k_event_object_sound
{
char active;
char object_toi[30];
char object_b[30];
int sound;
};
struct k_event_object
{
char active;
char object_toi[30];
char object_b[30];
};
struct k_new_server_change_map
{
t_server_change_map data1;
k_event_object data2;
};
struct k_new_server_change_map2
{
t_server_change_map data1;
k_event_object_sound data2;
};
struct k_new_server_change_map3
{
t_server_change_map data1;
k_event_sound data2;
};
struct k_server_connect_info_kein
{
server_connect_info data1;
k_event_object data2;
};
struct k_map_move
{
short int x;
short int y;
char mapname[20];
};
struct k_client_scenario_time_info
{ //< CSD-030306
int nPort; // 府涅胶飘茄 器飘锅龋啊 甸绢 埃促// 蜡历啊 弊甘俊 乐阑锭绰. 弊甘 器飘 摆瘤.ぱぱ;
int nServer_Id; // 努扼捞捞攫飘狼 辑滚 酒捞叼啊 甸绢埃促. 努扼捞攫飘俊辑绰 寸楷洒 臼静捞瘤.ぱぱ;
DWORD idDungeon;
}; //> CSD-030306
struct k_server_scenario_time_info
{ //< CSD-030306
DWORD idStartUp;
DWORD idDungeon;
int nApplyDay;
int nStartHour;
int nStartMinute;
int nEndHour;
int nEndMinute;
}; //> CSD-030306
struct k_scenario_time_change
{ //< CSD-030306
DWORD idStartUp;
DWORD idDungeon;
int nApplyDay;
int nStartHour;
int nStartMinute;
int nEndHour;
int nEndMinute;
}; //> CSD-030306
// 020830 YGI
struct k_scenario_trap_key
{
char sum;
char qube[7];
};
struct k_scenario_detail_info
{
char type;
int time;
char total_trap;
char active_trap;
};
struct k_scenario_message
{
char type;
WORD port;
};
const int MAX_START_UP_INFO = 30;//030321 lsw
struct k_get_scenario_info_basic
{
char day;
char SHour;
char SMin;
char type;
char layer;
char EHour;
char EMin;
char dungeon_map[20];
};
struct k_get_scenario_info
{
char count;
k_get_scenario_info_basic data[MAX_START_UP_INFO];
};
struct k_setting_map_tile
{
char index; // 眠啊 函版 加己狼 牢郸胶
char type; // 鸥老 加己
char number; // 0篮 加己阑 绝举锭 荤侩, 弊寇绰 event 鸥老狼 锅龋甫 瘤沥
short int x;
short int y; // 瘤沥且 吝缴 鸥老 锅龋
char range; // 瘤沥且 裹困 // x+y 狼 鸥老 蔼阑 瘤沥
};
struct k_char_info
{
short int x;
short int y;
BYTE btLevel; // CSD-030806
DWORD name_status;
short int nk;
char curr_tactic_kind;
char curr_tactic_lv;
short int map_number;
short int guild_code; // thai2 YGI
char name[20];
};
//acer
struct k_direct_map_move
{
char map_number;
int x, y;
char name[20];
};
struct k_guild_house_info_unit
{
char id; // 锅龋
char lv; // 殿鞭
short int guild_code; // 家蜡辨靛
char time; // 巢篮 扁埃 // 朝磊
short int red;
short int blue;
char map_name[20]; // 困摹
};
struct k_guild_house_info
{
char count;
k_guild_house_info_unit data[30];
};
struct k_attack_colossus_stone_result
{
short int server_id;
short int item_id;
DWORD attr;
};
struct k_invite_colossus_map
{
WORD port; // 檬措甫 盔窍绰 甘
char name[20]; // 规厘
};
struct k_direct_map_req // 促弗 甘栏肺 沥焊 夸备
{
WORD port;
short int server_id;
};
struct k_colossus_info_map_reply // 努扼捞攫飘肺 焊郴淋
{
WORD port; // 弊 甘狼 器飘 锅龋
short int ch_count; // 泅犁 牢盔
char name[20]; // 规厘
};
struct k_nation_item
{
short int item_no;
char give_type; // 扁何 鸥涝 // 捣牢瘤, fame 牢瘤
int give_much; // 弊 剧
void clear()
{
item_no = 0;
}
};
struct k_check_guild_change
{
char type;
char ret;
};
struct k_chanage_guild_degree
{
short int server_id;
short int guild_code;
char degree;
};
struct k_req_guild_item
{
short int guild_code;
DWORD index;
};
struct k_get_guild_item
{
char count; // 啊廉柯 酒捞袍狼 肮荐
DWORD index[15];
ItemAttr item[15];
};
struct k_get_guild_item_first
{
BYTE max;
DWORD item_index[200];
};
struct k_set_time
{
char hour;
char minute;
};
struct k_today_gamble_item
{
ItemAttr item;
char nation;
char name[20];
};
struct k_delete_friend
{
char name1[20];
char name2[20];
};
struct k_add_friend
{
char login;
char name[20];
};
struct k_get_friend
{
char name[30][20];
};
struct k_regist_friend
{
char nation;
char name1[20];
char name2[20];
};
struct k_guild_notice
{
short int guild_code;
char msg[1024];
};
struct k_get_guild_member_list_req // 努扼捞攫飘俊辑 夸没且锭
{
short int guild_code;
char degree;
};
struct k_get_guild_memeber_list_name
{
char name[20];
char is_connect;
};
struct k_get_guild_memeber_list // 叼厚俊辑 努扼捞攫飘肺 焊郴临锭..
{
char degree;
char count;
k_get_guild_memeber_list_name name[100]; // 霉硅凯篮 立加 咯何 钎矫 2捞搁 立加 1捞搁 立加 救窃
};
struct k_gamble_item_result
{
char result_type;
short int item_no;
char name[20];
};
struct k_gamble_item
{
char count;
POS pos[20];
};
struct k_nation_money
{
char nation_type;
DWORD nation_money[3];
};
struct k_change_color_map2client
{
short int server_id;
char type;
BYTE r;
BYTE g;
BYTE b;
};
struct k_change_color
{
DWORD type1 : 4;
DWORD type2 : 4;
DWORD r : 8;
DWORD g : 8;
DWORD b : 8;
};
struct k_reset_ability
{
short int Str;
short int Con;
short int Dex;
short int Wis;
short int Int;
short int MoveP;
short int Char;
short int Endu;
short int Moral;
short int Luck;
short int wsps;
short int reserved_point;
};
struct k_guild_chat
{
char name[20];
char msg[1024];
};
struct k_put_menu_string
{
char type;
short int str_num;
};
struct k_req_guild_master_and_sub_master
{
short int guild_code;
char type;
char name1[20];
char name2[20];
};
struct k_guild_mail_id
{
DWORD guild_mail_id;
char name[20];
};
struct k_guild_instroduction_basic
{
short int guild_code;
char guild_name[20];
};
struct k_guild_instroduction
{ //< CSD-030324
short int count;
k_guild_instroduction_basic guild[101]; // thai2 YGI
}; //> CSD-030324
struct k_guild_degree_info
{
short int guild_code;
char info_num;
char guild_degree[5][20];
};
struct k_guild_regist
{
short int guild_code;
char sub_name[20];
char guild_degree[5][20];
};
struct k_guild_change_degree
{
short int guild_code;
char guild_degree[5][20];
};
#define IMAGE_UNIT_SIZE 1000
struct k_guild_image
{
short int guild_code;
char mark_num;
char total;
char sub_count;
char img[IMAGE_UNIT_SIZE];
};
struct k_regist_guild_mark
{
short int guild_code;
char total; // 割锅俊 吧媚辑 焊尘巴牢啊?
DWORD size; // 捞固瘤 醚 荤捞令绰 倔付牢啊
char xl; // 农扁啊 50 * 50 篮 逞绢辑 救等促.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -