注册登录Demo

注册登录Demo
This commit is contained in:
ALEXTANG
2023-07-16 00:57:20 +08:00
parent c178f8bb75
commit c6ecb48944
17 changed files with 350 additions and 22 deletions

View File

@@ -0,0 +1,19 @@
namespace TEngine.Logic
{
public static partial class ErrorCode
{
public const int ERR_SignError = 10000;
public const int ERR_Disconnect = 210000;
public const int ERR_LoginError = 210005;
//300000开始自定义错误
public const int ERR_AccountAlreadyRegisted = 300001;
public const int ERR_AccountOrPasswordError = 300002;
public const int ERR_UserNotOnline = 300003;
public const int ERR_ConnectGateKeyError = 300004;
public const int ERR_CreateNewCharacter = 300007;
public const int ERR_CannotCreateMoreCharacter = 300008;
public const int ERR_CharacterAlreadyRegisted = 300009;
public const int ERR_AccountIsForbid = 300010;
}
}

View File

@@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: 6977010e71da47eaaf96a40a1db7c021
timeCreated: 1689435709