📄 outerclass.cs
字号:
using System;
using System.Collections.Generic;
using System.Text;
namespace gobang
{
class MessageDefine
{
public const byte COMM_MSG_DONOTHING = 0;
public const byte COMM_MSG_REJECTED = 1;
public const byte COMM_MSG_ACCEPT = 2;
public const byte COMM_MSG_FIRST = 3;
public const byte COMM_MSG_SECOND = 4;
public const byte COMM_MSG_GAME_REQUIRE_START = 5;
public const byte COMM_MSG_GAME_START = 6;
public const byte COMM_MSG_CHESS = 7;
public const byte COMM_MSG_TIMEOUT = 8;
public const byte COMM_MSG_WIN = 9;
public const byte COMM_MSG_LOSE = 10;
public const byte COMM_MSG_DRAW = 11;
public const byte REJECT_REASON_UNKNOW = 1;
public const byte REJECT_REASON_INVALID_CHESS = 2;
public const byte SOLUTION_NOACTION = 1;
public const byte SOLUTION_ACTION_REPEAT = 1;
}
enum chess_color
{
Chess_Clr_Black = 1,
Chess_Clr_White = 2,
};
enum log_type
{
log_chess = 0,
log_result = 1,
};
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -