📄 network4.h
字号:
typedef struct Delivery_Notice_
{
WORD Port;
DWORD UserID;
char Nation;
WORD Size;
char Data[MAX_STRING_PK];
} t_Delivery_Notice;
typedef struct WarControl_ // 011025 LTS
{
char Type; // 0 : Set, 1 : View
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 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 VictoryTeam; // 030509 kyo //困摹 函拳
};
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];
char Status[MAX_NEW_WARFIELD + 1]; // LTH-040226-KO 瘤窍 傈里磐 眠啊
};
struct NEW_WARFIELD_DATA1
{
DWORD RemainTime;
int nWarfieldNo; // LTH-040311-KO. 变窍霸 镜老捞 乐促聪鳖...
int TeamCount[2]; // 030509 kyo
char GuardStatus[2][5];
//int TeamCount[2];
};
struct NOTICE_WAR_PEACE
{
char Type;
int WarNo;
//char RemainTime[3][2];
char RemainTime[4][2]; // LTH-040226-KO 瘤窍傈里磐 眠啊
char SOpenWarfieldNo;
int aLocalWarPoint[3]; // LTH-040316-KO 惫瘤傈 器牢飘
};
struct NEWWAR_START
{
DWORD dwTerm; // LTH-040313-KO 割盒悼救 凯府绰瘤
char WarfieldNo;
unsigned char LevelMin;
unsigned char LevelMax;
unsigned char btNationPoint; // LTH-040313-KO 惫瘤傈 惫啊 器牢飘 力茄 蔼
};
struct GUARD_BROKE
{
int nWarfieldNo; // LTH-040303-KO 1.4 Patch. 傈里磐 锅龋 眠啊.
int aRemainGuard[2][4]; // LTH-040314-KO 巢篮 啊靛甸狼 沥焊 免仿阑 困秦
char BrokeTeamNo;
char Type; // 己巩牢啊? 荐龋籍牢啊?
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_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_NWMapMove NWMapMove;
t_TileDont TileDont;
t_SquadChat SquadChat;
t_WarfieldInfo WarfieldInfo;
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_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_WarControl WarControl;
t_WarLoopTime WarLoopTime; // 011025 LTS
t_FameExpChange FameExpChange; // 020115 LTS
WAR_RESULT WarResult;
DONT_DATA DontData;
GUARD_KILLER GuardKiller;
DONT_CHANGE DontChange;
NEW_WARFIELD_STATUS NWStatus;
NEW_WARFIELD_DATA1 NWarfieldData1;
NEO_WARFIELD_DATA NeoWarfieldData; // LTH-040302-KO 1.4 Patch. 傈里磐 单捞磐 傈价侩.
NEO_WAR_RESULT NeoWarResult; // LTH-040303-KO 1.4 Patch. 货 傈里磐 搬苞 沥焊.
GUARD_CAN_NOT_BROKE GuardCanNotBroke; // LTH-040317-KO 1.4 Patch. 啊靛甫 何贱荐 绝绰 捞蜡 傈价.
REMAIN_GUARD RemainGuard; // LTH-040318-KO 1.4 Patch. 巢篮 啊靛狼 荐甫 馆券
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; // 03518 kyo
} t_LocalWarInfo1;
typedef struct LocalWarInfo2_
{
char SealStoneInfo[NW_NATION_COUNT][9];
char tmp[5];// 03518 kyo
} t_LocalWarInfo2;
typedef struct LocalWarPointChanged_
{
__int64 RemainTime; // 020115 LTS
unsigned short Point[3]; // 020130 LTS
char tmp[2];// 03518 kyo
} t_LocalWarPointChanged;
typedef struct LocalWarInfo_
{
t_LocalWarInfo1 LocalWarInfo1[7]; // 弥厩狼 规过
t_LocalWarInfo2 LocalWarInfo2;
t_LocalWarPointChanged LocalWarPointChanged;
char LocalWarDefencePoint[3]; // LTS NEW LOCALWAR
} t_LocalWarInfo;
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 ActionStatus_
{
int ServerID;
char Direction;
char nCurrentAction;
} 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 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 ActionTest_ // LTS NEW AI
{
char Action[3];
} t_ActionTest;
typedef struct AIMove_ // LTS NEW AI
{
int ID;
int X;
int Y;
} t_AIMove;
typedef struct AINPCAction_ // LTS NEW AI
{
int ID;
char Action;
} t_AINPCAction;
typedef struct LordWarTeamChange_
{
int ID;
char TeamNo;
} t_LordWarTeamChange;
typedef union LocalWar_
{
t_LocalWarInfo LocalWarInfo;
t_CommonDataC CommonDataC;
t_CommonDataDw CommonDataDw;
t_UserJoinLocalWar UserJoinLocalWar;
t_SealStoneBroked SealStoneBroked;
t_SealStoneAttacked SealStoneAttacked;
t_LocalWarPointChanged LocalWarPointChanged;
t_ActionStatus ActionStatus;
t_SDChanged SDChanged;
t_EventLocalWarMessage EventLocalWarMessage;
t_EventPoint EventPoint;
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_ActionTest ActionTest; // LTS NEW AI
t_AIMove AIMove; // LTS NEW AI
t_AINPCAction AINPCAction; // LTS NEW AI
t_LordWarTeamChange LordWarTeamChange;
} t_LocalWar;
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -