📄 brewdefine.h
字号:
#ifndef BREWDEFINE_H
#define BREWDEFINE_H
#include "global.h"
struct HintStruct{
AECHAR hint[32 + 1];
UINT8 len;
boolean showFlag;
UINT8 who;
UINT16 type;
INT16 currentX;
INT16 x;
INT16 y;
UINT32 timeMS;
};
struct GeneralDataStruct{
UINT8 userNameLength;
UINT8 userName[32 + 2];
UINT8 userPassLength;
UINT8 userPass[32 + 2];
UINT32 serverIp;
UINT16 serverPort;
UINT8 serverDomainName[32 + 2];
};
struct GameDataStruct{
UINT8 userNameLength;
UINT8 userName[32 + 2];
UINT8 userPassLength;
UINT8 userPass[32 + 2];
UINT32 serverIp;
UINT16 serverId;
UINT16 serverPort;
UINT16 serverMaxPerson;
UINT8 serverDomainName[32 + 2];
UINT8 serverName[32 + 2];
UINT8 serverNameLength;
UINT16 roomMaxPerson;
UINT16 roomCurrentPerson;
UINT8 roomId;
UINT8 roomTableNum;
UINT8 roomSeatNumPerTable;
UINT8 roomNameLength;
UINT8 roomName[32 + 2];
UINT8 roomParam[64 + 2];
UINT32 loginParam;
UINT32 hallParam;
UINT32 gameParam;
UINT32 commonParam;
};
struct GameStruct{
UINT16 gameId;
UINT8 gameNameLength;
UINT8 kindNameLength;
UINT8 gameName[32 + 2];
UINT8 kindName[32 + 2];
UINT8 currentVersion[8 + 2];
UINT8 minVersion[8 + 2];
UINT8 gameType;
};
struct ServerStruct{
UINT16 serverId;
UINT16 serverPort;
UINT16 maxPerson;
UINT8 serverNameLength;
UINT32 serverIp;
UINT8 serverDomainName[32 + 2];
UINT8 serverName[32 + 2];
};
struct ServerItemStruct{
struct ServerStruct serverItem;
struct ServerItemStruct *serverNext;
};
struct GameItemStruct{
struct GameStruct gameItem;
struct GameItemStruct *gameNext;
UINT16 serverCount;
struct ServerItemStruct *serverNext;
};
struct InviteStruct{
UINT8 tableId;
UINT8 userLength;
UINT8 userName[32 + 2];
};
struct InviteItemStruct{
struct InviteStruct inviteItem;
struct InviteItemStruct *inviteNext;
};
struct ChatStruct{
UINT8 chatType;
UINT32 chatColor;
UINT8 fromLength;
UINT8 toLength;
UINT8 infoLength;
UINT8 from[32 + 2];
UINT8 to[32 + 2];
UINT8 info[100 + 2];
};
struct ChatItemStruct{
struct ChatStruct chatItem;
struct ChatItemStruct *chatNext;
};
struct MessageStruct{
UINT32 color;
UINT8 choice;
UINT8 who;
UINT8 sno;
UINT32 mode;
boolean first;
UINT8 currentLine;
UINT8 totalLine;
UINT32 timeMS;
AECHAR msg[256 + 1];
UINT16 w[64];
UINT16 width;
UINT8 len;
};
struct MessageItemStruct{
struct MessageStruct messageItem;
struct MessageItemStruct *messageNext;
};
struct ConfigItemStruct{
AECHAR title[6 + 1];
UINT8 count;
AECHAR value[32 + 1];
UINT8 initIndex;
UINT8 currentIndex;
UINT16 width;
};
struct ConfigStruct{
UINT8 who;
UINT8 sno;
boolean first;
UINT8 currentLine;
UINT8 totalLine;
UINT16 maxWidth;
struct ConfigItemStruct item[16];
};
struct RoomStruct{
UINT16 maxPerson;
UINT16 currentPerson;
UINT8 roomId;
UINT8 tableNum;
UINT8 seatNumPerTable;
UINT8 roomNameLength;
UINT8 roomName[32 + 2];
UINT8 roomParam[64 + 2];
};
struct RoomItemStruct{
struct RoomStruct roomItem;
struct RoomItemStruct *roomNext;
};
struct SeatInfoStruct{
UINT16 tableId;
UINT16 seatId;
UINT8 state;
UINT8 figure;
boolean isLocked;
boolean isMobile;
boolean isMale;
};
struct SeatItemStruct{
struct SeatInfoStruct seatItem;
struct SeatItemStruct *seatNext;
};
struct UserInfoStruct{
UINT32 totalPointHigh;
UINT32 totalPointLow;
UINT32 moneyHigh;
UINT32 moneyLow;
UINT32 userId;
UINT32 facade;
UINT32 exp;
UINT32 fleeCount;
UINT32 winCount;
UINT32 loseCount;
UINT32 drawCount;
UINT16 speed;
UINT8 userName[32 + 2];
UINT8 nickName[32 + 2];
UINT8 lvName[32 + 2];
UINT8 schoolName[32 + 2];
UINT8 rankName[32 + 2];
UINT8 userNameLength;
UINT8 nickNameLength;
UINT8 lvNameLength;
UINT8 schoolNameLength;
UINT8 rankNameLength;
UINT8 roomId;
UINT8 tableId;
UINT8 seatId;
UINT8 state;
UINT8 userInfo;
boolean isLocked;
};
struct UserItemStruct{
struct UserInfoStruct userItem;
struct UserItemStruct *userNext;
};
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -