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

📄 network4.h

📁 国内著名网络游戏dragon的服务端完整源码 内附完整数据库结构
💻 H
📖 第 1 页 / 共 3 页
字号:
	char	WarfieldNo;		// 0 : 5991, 1 : 5992, 2 : 5993
	char	Status;			// 1 : 乞拳, 2 : 捧钎, 3 : 傈里霖厚, 4 : 傈里 
	char	Active;			// 0 : 吝瘤, 1 : 角青, 2 : 努府绢 
}	t_WarControl;

typedef struct WarLoopTime_				// 011025 LTS
{
	char	Type;			// 0 : Set,  1 : View	
	char	WarfieldNo;		// 0 : 5991, 1 : 5992, 2 : 5993
	char	Status;			// 1 : 乞拳, 2 : 捧钎, 3 : 傈里霖厚, 4 : 傈里 
	DWORD	LoopTime;		// SetLoopTime, CurrentLoopTime			//矫埃窜困
}	t_WarLoopTime;

typedef struct SecretOpen_				// 011025 LTS
{
	char	WarfieldNo;
	char	isOpen;
}	t_SecretOpen;

typedef	struct	CheckNationMemberCount_
{
	char	WarfieldNo;
	char	Nation;
}	t_CheckNationMemberCount;
typedef	struct	CheckNationMemberCountR_
{
	char	WarfieldNo;
	char	Result;
}	t_CheckNationMemberCountR;

typedef struct	FameExpChange_			// 020115 LTS
{
	short int	GainedFame;
	DWORD		GainedExp;
}	t_FameExpChange;

struct WAR_RESULT
{
	int			BYCount;
	int			ZYCount;
	int			YLBYCount;
	int			YLZYCount;
	int			BYDeathCount;
	int			ZYDeathCount;
	WORD		WarfieldPort;   // 030509 kyo char阑 盖 关栏肺.
	char		VictoryTeam;	// 030509 kyo char阑 盖 关栏肺.
};

struct DONT_DATA
{
	int			Size;
	int			DontNo[MAX_DONT_DATA];
	int			Status[MAX_DONT_DATA];
};

struct DONT_CHANGE
{
	int DontNo;
	int Status;
};

struct GUARD_KILLER
{
	int KillerID;
	int GuardID;
};

struct NEW_WARFIELD_STATUS
{
	char	Status[MAX_NEW_WARFIELD];
};

struct NEW_WARFIELD_DATA1
{
	DWORD	RemainTime;
	int		TeamCount[2]; // 030509 kyo char阑 盖 关栏肺.
	char	GuardStatus[2][5];
};

struct NOTICE_WAR_PEACE
{
	char	Type;
	int     WarNo;					// 泅犁 傈里锅龋
	char    RemainTime[3][2];		// 老馆傈里磐 2俺 , 汲盔傈里磐 1俺
	char	SOpenWarfieldNo;		// 厚剐瘤开捞 凯赴 傈里磐
};

struct NEWWAR_START
{
	char			WarfieldNo;
	unsigned char	LevelMin;
	unsigned char	LevelMax;
};

struct GUARD_BROKE
{
	char			BrokeTeamNo;
	char			Type;							// 0 : 己巩 1 : 荐龋籍
	char			GuardNo;
	short			X;
	short			Y;
};

typedef union NationWar_P
{
	t_CommonDataC				CommonDataC;
	t_CommonDataDw				CommonDataDw;
	t_CheckVote					CheckVote;
	t_WarfieldStatusChange		WarfieldStatusChange;
	t_WarBBS					WarBBS;
	t_WarfieldStatus			WarfieldStatus;
	t_WarfieldStatusM			WarfieldStatusM;
	t_VoteData					VoteData;
	t_RequestSquadInfo			RequestSquadInfo;
	t_SquadInfo					SquadInfo;
	t_SquadInfo2				SquadInfo2;
	t_RequestCommanderVoteData	RequestCommanderVoteData;
	t_RequestCommanderRegData	RequestCommanderRegData;
	t_CommanderVoteData			CommanderVoteData;
	t_CommanderVoteData2		CommanderVoteData2;
	t_CommanderVotingResult		CommanderVotingResult;
	t_ChangeSquad				ChangeSquad;
	t_JoinSquad					JoinSquad;
	t_SetLoadingPoint			SetLoadingPoint;
	t_FameData					FameData;
	t_Delivery_R				Delivery_R;
	t_Delivery_A				Delivery_A;
	t_NWMapMove					NWMapMove;
	t_TileDont					TileDont;
	t_SquadChat					SquadChat;
	t_WarfieldInfo				WarfieldInfo;
	t_RegSquadLeader			RegSquadLeader;			//辑滚埃 菩哦 
	t_WarfieldPossession		WarfieldPossession;
	t_WarfieldData1				WarfieldData1;
	t_WarfieldData2				WarfieldData2;
	t_WarfieldData3				WarfieldData3;
	t_RequestCheckWarNo			RequestCheckWarNo;
	t_AnswerCheckWarNo			AnswerCheckWarNo;
	t_SetCommander				SetCommander;
	t_RequestWarfieldWarData	RequestWarfieldWarData;
	t_SWarfieldPossession		SWarfieldPossession;
	t_RequestSubstractMoney		RequestSubstractMoney;
	t_AnswerSubstractMoney		AnswerSubstractMoney;
	t_SquadLoadingPoint			SquadLoadingPoint;
	t_NWSquadRare				NWSquadRare;
	t_NoticeJoinVoteA			NoticeJoinVoteA;
	t_NoticeJoinVoteD			NoticeJoinVoteD;
	t_NoticePrepare1			NoticePrepare1;
	t_NoticePrepare1Reinforce	NoticePrepare1Reinforce;
	t_NoticePrepare2			NoticePrepare2;
	t_NoticePrepare2Reinforce	NoticePrepare2Reinforce;
	t_NoticePrepare3			NoticePrepare3;
	t_NoticePrepare3Reinforce	NoticePrepare3Reinforce;
	t_NoticePrepare4			NoticePrepare4;
	t_NoticePrepare4Reinforce	NoticePrepare4Reinforce;
	t_NoticeWar1A				NoticeWar1A;
	t_NoticeWar1D				NoticeWar1D;
	t_NoticeWar1Reinforce		NoticeWar1Reinforce;
	t_NoticeWar2A				NoticeWar2A;
	t_NoticeWar2D				NoticeWar2D;
	t_NoticeWar2Reinforce		NoticeWar2Reinforce;
	t_NoticeWarPeace1V			NoticeWarPeace1V;
	t_NoticeWarPeace1D			NoticeWarPeace1D;
	t_NoticeWarPeace1Reinforce	NoticeWarPeace1Reinforce;
	t_NoticeWarPeace2			NoticeWarPeace2;
	t_Delivery_Notice			Delivery_Notice;
	t_RemainTime				RemainTime;
	t_WarControl				WarControl;			
	t_WarLoopTime				WarLoopTime;			// 011025 LTS
	t_SecretOpen				SecretOpen;
	t_CheckNationMemberCount	CheckNationMemberCount;
	t_CheckNationMemberCountR	CheckNationMemberCountR;
	t_FameExpChange				FameExpCahnge;			// 020115 LTS
	WAR_RESULT					WarResult;
	DONT_DATA					DontData;
	DONT_CHANGE					DontChange;
	GUARD_KILLER				GuardKiller;
	NEW_WARFIELD_STATUS			NWStatus;
	NEW_WARFIELD_DATA1			NWarfieldData1;
	NOTICE_WAR_PEACE			NoticeWarPeace;
	NEWWAR_START				NewWarStart;
	NOTICE_SOPEN				NoticeSOpen;
	GUARD_BROKE					GuardBroke;
} t_NationWar;

typedef struct LocalWarInfo1_							// LTS LOCALWAR
{
	short	ManCount[NW_NATION_COUNT];
	char	Index;				// MapIndex		
	char	tmp; // 030518 kyo
}	t_LocalWarInfo1;

typedef struct LocalWarInfo2_
{
	char	SealStoneInfo[NW_NATION_COUNT][9];
	char	tmp[5]; // 030518 kyo
}	t_LocalWarInfo2;

typedef struct LocalWarPointChanged_
{
	__int64	RemainTime;		// 020115 LTS
	unsigned short	Point[3];				// 020130 LTS
	char tmp[2];// 030518 kyo
}	t_LocalWarPointChanged;


typedef struct LocalWarInfo_
{
	t_LocalWarInfo1				LocalWarInfo1[7];			// 弥厩狼 规过
	t_LocalWarInfo2				LocalWarInfo2;
	t_LocalWarPointChanged		LocalWarPointChanged;	
	char						LocalWarDefencePoint[3];
}	t_LocalWarInfo;


typedef struct LocarWarUserAdd_
{
	char	Index;				// LocalWarfieldServer Index
	char	Nation;
}	t_LocalWarUserAdd;

typedef struct UserJoinLocalWar_ 
{
	unsigned int	ServerID;
}	t_UserJoinLocalWar;

typedef struct SealStoneBroked_
{
	WORD	MapNumber;
	char	Nation;
	WORD	LocateX;
	WORD	LocateY;
}	t_SealStoneBroked;

typedef struct SealStoneAttacked_
{
	WORD	MapNumber;
	char	Nation;
	WORD	LocateX;
	WORD	LocateY;
}	t_SealStoneAttacked;

typedef struct NationPointChaned_
{
	unsigned short	NationPoint[3];		// 020130 LTS
}	t_NationPointChanged;

typedef struct ActionStatus_
{
	int		ServerID;
	char	Direction;
	char	nCurrentAction;
	char	ChairNum;						// LTS SITDOWN BUG
}	t_ActionStatus;

typedef struct SDChanged_
{
	int		ServerID;
	char	Direction;
}	t_SDChanged;

typedef struct EventLocalWarMessage_
{
	char			EventStep;
	char			EventStatus;
	unsigned char	MinLevel;
	unsigned char	MaxLevel;
	POINTS			EventJoinLocation[3];			
}	t_EventLocalWarMessage;

typedef	struct EventJoin_
{
	char			Nation;
	unsigned char	Level;
}	t_EventJoin;

typedef struct DeleteEventJoin_				// DB单阁俊绰 NationWar俊 沥狼 登绢乐栏唱 惑包绝促.	// 020115 LTS
{
	char	UserName[20];
	char	EventNo;
}	t_DeleteEventJoin;

typedef	struct	EventPoint_
{
	int		Point;
}	t_EventPoint;

typedef struct EventRemainTime_				// LTS BUG
{
	DWORD	RemainTime;
}	t_EventRemainTime;

typedef struct AI_Status_					// LTS AI2 TEMP			// 叼滚弊侩
{
	int		ID;
	int		PatternType;
}	t_AI_Status;	

typedef struct EVMonster_					// LTS AI2 TEMP
{
	int		Start;
	int		GroupNo;
}	t_EVMonster;

typedef struct CommunityAction_				// LTS ACTION
{
	int		ID;
	char	Action;
	char	Direction;						
	char	Result;
}	t_CommunityAction;

typedef struct CommunityActionS_			// LTS ACTION
{
	char	Action;
	char	Direction;
}	t_CommunityActionS;

typedef struct LocalWarResult_				// LTS NEW LOCALWAR
{
	char	NationIndex;
	char	Result;
}	t_LocalWarResult;


typedef struct LocalWarChat_				// LTS NEW LOCALWAR	
{
	char	NationIndex;
	char	Message[MAX_PATH];
}	t_LocalWarChat;

typedef struct LocalWarDefencePoint_		// LTS NEW LOCALWAR
{
	int		Point[3];
}	t_LocalWarDefencePoint;

typedef struct AIFog_						// LTS NEW AI
{
	char	Type;
	DWORD	Delay;
	POINTS	Location[FOG_MAX];					
}	t_AIFog;

typedef struct AIActionTest_
{
	char	Action[3];
}	t_ActionTest;

typedef struct AIMove_						// LTS NEW AI
{
	int		ID;
	int		X;
	int		Y;
}	t_AIMove;

typedef struct AINPCAction_					// LTS DRAGON MODIFY
{
	int		ID;
	char	Action;
}	t_AINPCAction;

typedef struct LordWarTeamChange_
{
	int		ID;
	char	TeamNo;
}	t_LordWarTeamChange;


typedef union LocalWar_
{
	t_LocalWarInfo				LocalWarInfo;
	t_Delivery_R				Delivery_R;
	t_Delivery_A				Delivery_A;
	t_CommonDataC				CommonDataC;
	t_CommonDataDw				CommonDataDw;
	t_LocalWarUserAdd			LocalWarUserAdd;
	t_UserJoinLocalWar			UserJoinLocalWar;
	t_SealStoneBroked			SealStoneBroked;
	t_SealStoneAttacked			SealStoneAttacked;
	t_LocalWarPointChanged		LocalWarPointChanged;
	t_NationPointChanged		NationPointChanged;
	t_ActionStatus				ActionStatus;
	t_SDChanged					SDChanged;
	t_EventLocalWarMessage		EventLocalWarMessage;
	t_EventJoin					EventJoin; 
	t_DeleteEventJoin			DeleteEventJoin;		// 020115 LTS
	t_EventPoint				EventPoint;				// 020115 LTS
	t_EventRemainTime			EventRemainTime;		// LTS BUG
	t_AI_Status					AI_Status;				// LTS AI2 TEMP				// 叼滚弊侩
	t_EVMonster					EVMonster;				// LTS AI2 TEMP
	t_CommunityAction			CommunityAction;		// LTS ACTION
	t_CommunityActionS			CommunityActionS;		// LTS ACTION
	t_LocalWarResult			LocalWarResult;			// LTS NEW LOCALWAR
	t_LocalWarChat				LocalWarChat;			// LTS NEW LOCALWAR
	t_FameExpChange				FameExpChange;			// LTS NEW LOCALWAR
	t_LocalWarDefencePoint		LocalWarDefencePoint;	// LTS NEW LOCALWAR
	t_AIFog						AIFog;					// LTS NEW AI
	t_AIMove					AIMove;					// LTS NEW AI
	t_ActionTest				ActionTest;				// LTS NEW AI
	t_AINPCAction				AINPCAction;			// LTS DRAGON MODIFY
	t_LordWarTeamChange			LordWarTeamChange;

} t_LocalWar;

#endif

⌨️ 快捷键说明

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