📄 routingservertypes.h
字号:
#ifndef ROUTINGSERVERTYPES_H
#define ROUTINGSERVERTYPES_H
#include "common/won.h"
namespace WONMsg {
typedef unsigned short ClientId;
typedef unsigned short GroupId;
typedef unsigned short ClientOrGroupId;
typedef WONCommon::RawBuffer ClientName;
typedef std::string GroupName;
typedef std::wstring Password;
typedef std::list<ClientName> ClientNameList;
// used by ClientChangeEx and GetClientListReply
enum { OPTIONALFIELD_IP = 0x01, OPTIONALFIELD_AUTHINFO = 0x02 };
enum { INCLUDE_IPS = 0x01, INCLUDE_AUTHINFO = 0x02 };
enum { NOT_INCLUDE_IPS = 0xFE, NOT_INCLUDE_AUTHINFO = 0xFD };
// used by ClientChangeEx and GetClientListReply
struct FieldInfo {
unsigned char mType;
unsigned char mSize;
FieldInfo() : mType(0), mSize(0) {}
FieldInfo(unsigned char theType, unsigned char theSize) : mType(theType), mSize(theSize) {}
};
// used by SendChat messages
enum ChatType { CHATTYPE_UNKNOWN = 0, CHATTYPE_ASCII = 1, CHATTYPE_ASCII_EMOTE = 2, CHATTYPE_UNICODE = 3, CHATTYPE_UNICODE_EMOTE = 4 };
}; // namespace WONMsg
#endif // ROUTINGSERVERTYPES_H
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -