📄 net_face.h
字号:
#ifndef NET_FACE
#define NET_FACE
#include "network.h"
#include "CBGame.h"
#include "DDAPI.h"
#define DP_LIUBEI 0
#define DP_SUNQUAN 1
#define DP_CAOCAO 2
#define DP_NOMASTER 3
#define DP_NO_ALLY 0
#define DP_ALLY 1
#define DP_NOBODY 0
#define DP_BODY 1
#define DH_NOPLAY -1
#define DH_PLAY 0
#define DH_NO_TIMEOUT 0
#define DH_TIMEOUT 1
#define DH_NO_CTRL -1
#define DH_CTRL 0
#define DH_ACCEPT_GO 0
#define DH_AGAINST_GO -1
#define DH_ALREADY_RETURN 0
#define DH_NO_RETURN -1
#define DH_NO_SEND_TASK -1
#define DH_ALREADY_SEND_TASK 0
struct DP_NetworkInfor
{
char PlayerName[100];//本地的游戏者的名称
int MasterNO;//本地的游戏者所选的君主号
int Ally_Infor[5];//本地的游戏者与其他玩家的同盟关系
char Map_Name[100];//所选的地图的名称,只对创建游戏的玩家此项才有效。
};
int DH_ServerInit();
int DH_ClientInit();
void DH_NetworkReceive();
void DH_NetworkInit();
void DH_ReceiveInit();
int DH_SendCounterMessage(int Counter);
BOOL GAME_Network_Begin(void);
int Send_Destroy_Me(void);//这个函数是给李海军用的
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -