18 lines
452 B
C#
18 lines
452 B
C#
namespace Server.Networking.Messages;
|
|
|
|
public static class OpCodes
|
|
{
|
|
public const int ECHO = 1;
|
|
|
|
public const int AUTH_REGISTER = 100;
|
|
public const int AUTH_REGISTER_RESULT = 101;
|
|
|
|
public const int AUTH_LOGIN = 110;
|
|
public const int AUTH_LOGIN_RESULT = 111;
|
|
|
|
public const int AUTH_WITH_TOKEN = 112;
|
|
public const int AUTH_WITH_TOKEN_RESULT = 113;
|
|
|
|
public const int ERROR = 900; // generic error envelope if you want
|
|
}
|