⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 network3.h

📁 国内著名网络游戏dragon的客户端登陆用完整源码 配套一起上传的服务端部分可开服 无说明文档
💻 H
字号:
#define		CCD_ARIGEMENT							1			//啊摹包 沥焊 夸备
#define		CCD_PLAYSOUND_EVENT1					851			//青荤侩 捞亥飘侩 荤款靛
#define		CCD_PLAYSOUND_EVENT2					853
////////////////////////////// 0803 yjs 眠啊 ///////////////////////////////////
#define		CCD_FIGHT_LOSE							10000		//柳版快
#define		CCD_FIGHT_DRAW							10001		//厚变版快
#define		CCD_FIGHT_LOGOUT						10002		//惑措啊 肺弊酒眶茄 版快

///////////////////// 0810 lhs 眠啊 ////////////////////////
#define		CCD_START_QUEST							15000			//涅胶飘 矫累 瓤苞澜
#define		CCD_END_QUEST							15001
#define		CCD_QUEST_SALUTE						15002			//涅胶飘 绵器 瓤苞
#define		CCD_QUEST_GETSKILL						15003
#define		CCD_QUEST_GETITEM						15004
#define		CCD_QUEST_MONSTER						15005
#define		CCD_START_QUEST_BBS						15006
#define		CCD_END_QUEST_BBS						15007
#define		CCD_COMPLETE_QUEST						15008

#define		CMD_SERVER_MAGIC_POSITION				20000
#define		CMD_SERVER_CHARACTER_CONDITION			20001
#define		CMD_CLIENT_CHARACTER_DEMAND				20002
#define		CMD_SERVER_ARIGEMENT_RESPONSE			20003
#define		CMD_SERVER_MAGICCOMMAND					20004
#define		CMD_SERVER_MAGICTRAP_EXPOSE				20005
#define		CMD_SERVER_MAGICAL_DETECT				20006
#define		CMD_SERVER_MAGICVIEWTYPE				20007
////////////////////// 0802 yjs 眠啊 //////////////////////
#define		CMD_SERVER_FIGHT_STONE					20010		//1:1 搬捧..

////////////////////// 0816 lkh 眠啊 //////////////////////
#define		CMD_HEXAEDITING							20011		//琼荤俊叼泼阑 矫档茄 版快 辑滚俊 舅赴促.

#define		CMD_SERVER_CHARACTER_CONDITION2			20012

///////////////// 0810 lhs 涅胶飘侩 叼颇牢  ///////////////////////////////////
#define		CMD_BBS_QUEST							25000
#define		CMD_QSF_COMMAND							25001
#define		QSF_COMMAND_TELEPORT					1
/////////////////////////////////////////////////////////////////


///////////////////// 0802 yjs 眠啊 ////////////////////
typedef struct fight_stone
{
	BOOL		fight_flag;	//惑怕 敲贰弊..
	int			fight_id;
	short int	x;			//x谅钎.. 
	short int	y;			//y谅钎.. 
}	t_fight_stone;


typedef struct  client_character_demand
{
	short int	command_type;
	short int	target_id;
}   t_client_character_demand;

typedef struct	server_arigement_response
{
	short int	target_id;
	short int	arigement;
}	t_server_arigement_response;

struct t_server_magic_position
{
  BYTE nType; // 免仿且 捞棋飘 锅龋
  WORD idTarget; // 付过阑 荤侩茄 措惑磊
  __int16 nX; // 捞悼且 困摹狼 X谅钎
  __int16 nY; // 捞悼且 困摹狼 Y谅钎
};

struct t_server_character_condition
{
  WORD idTarget;
  __int32 nLife;
  BYTE nState;
};

typedef struct  server_magic_command
{
	//short int	target_id;		//措惑 ID
	short int	command;				//措惑 努扼捞攫飘俊 角力 瓤仿阑 固摹绰 措惑包访 疙飞(slot1)
	short int	sub_command;		//                   "									辑宏 疙飞(slot2)
	short int	sub_term;				//                   "   瓤仿阑 固摹绰 扁埃				(slot3)
}	t_server_magic_command;

typedef struct  server_magictrap_expose
{
	short int	target_id;
	short int	x;
	short int	y;
	short int	trap_Type;
}	t_server_magictrap_expose;

typedef struct	server_magical_detect
{
	short int	tile_X;
	short int	tile_Y;
	short int	type;
}	t_server_magical_detect;

typedef struct	server_magicviewtype
{
	short int	target_id;
	short int	view_Type;
	short int	second_Time;
}	t_server_magicviewtype;

//////////// 0810 lhs //////////////////
typedef struct	qsf_command				//涅胶飘俊辑 裹侩栏肺 荤侩窍扁 困茄 备炼眉
{
	short int	command;
	short int	target_id;
	short int	x;
	short int	y;
}	t_qsf_command;


/////////// 0816 lkh 眠啊 ///////////
typedef struct client_editing_table
{
	short int	type;					//眉农级 俊矾啊 抄 拳老狼 公均牢瘤!
	short int	id;						//绢恫 仇捞 琼荤俊叼泼阑 矫档沁绰瘤!
}	t_client_editing_table;

typedef union	angra_pub
{
	t_server_character_condition		server_character_condition;
	t_server_magic_position				server_magic_position;
	t_client_character_demand			client_character_demand;
	t_server_arigement_response			server_arigement_response;
	t_server_magic_command				server_magic_command;
	t_server_magictrap_expose			server_magictrap_expose;
	t_server_magical_detect				server_magical_detect;
	t_server_magicviewtype				server_magicviewtype;
	////////////////////// 0802 yjs 眠啊 /////////////////////////////
	t_fight_stone						server_fight_stone;	//
	///////////////////// 涅胶飘 侩 哪盖靛... 0810 lhs //////////////////
	t_qsf_command						qsf_command;

	////////////////////// Hexa Edit 矫档茄 版快 辑滚肺 舅府扁 困秦 ////////////////////
	t_client_editing_table				client_editing_table;

}	t_angra;




////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//	                                      KBS
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

#define CMD_RM_CHANGE_WEATHER		26000


// 011212 KBS
typedef struct rm_change_weather
{
	BYTE	bWeather;		//0捞搁 沥惑, 1捞搁 厚, 2捞搁 传 
	BYTE	bStopWeather;
	DWORD	dwAmount;

}t_rm_change_weather;
//


extern void RecvChangeWeather( t_rm_change_weather* p );

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -