mirror of
https://github.com/Alex-Rachel/TEngine.git
synced 2025-08-07 16:45:10 +00:00
注册登录Demo
注册登录Demo
This commit is contained in:
19
Assets/GameScripts/DotNet/Logic/ErrorCode.cs
Normal file
19
Assets/GameScripts/DotNet/Logic/ErrorCode.cs
Normal 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;
|
||||
}
|
||||
}
|
3
Assets/GameScripts/DotNet/Logic/ErrorCode.cs.meta
Normal file
3
Assets/GameScripts/DotNet/Logic/ErrorCode.cs.meta
Normal file
@@ -0,0 +1,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 6977010e71da47eaaf96a40a1db7c021
|
||||
timeCreated: 1689435709
|
Reference in New Issue
Block a user