62 lines
1.7 KiB
C#
62 lines
1.7 KiB
C#
namespace AyCode.Core.Consts
|
|
{
|
|
public enum AcErrorCode : byte
|
|
{
|
|
Unset = 255,
|
|
|
|
//[DisplayName("Unknown error")]
|
|
UnknownError = 0,
|
|
InvalidMessage = 1,
|
|
SessionOpenFailed = 2,
|
|
ServerSideSessionOpenFailed = 3,
|
|
SessionNotFound = 4,
|
|
ServerSideSessionNotFound = 5,
|
|
DatabaseError = 6,
|
|
UserNameInUse = 7,
|
|
EmailInUse = 8,
|
|
UserAlreadyLoggedIn = 9,
|
|
WrongLoginData = 10,
|
|
UserWasntLoggedIn = 11,
|
|
NotAllowedMethod = 12,
|
|
EmailSendError = 13,
|
|
RoomFullOrHasStarted = 14,
|
|
UserIsLockOut = 15,
|
|
ClientVersionNotValid = 16,
|
|
PermissionTagDenied = 17,
|
|
RequestedGetItemNotfound = 18,
|
|
RequestedPostError = 19,
|
|
RequestedEditError = 20,
|
|
RequestedDeleteError = 21,
|
|
NotAllowedUserId = 22,
|
|
NotAllowedPlayerId = 23,
|
|
IdIsNullOrEmpty = 24,
|
|
IdNotFound = 25,
|
|
EntityIsNull = 26,
|
|
UserNameIsTooShort = 27,
|
|
PasswordIsTooShort = 28,
|
|
EmailFormatIsNotValid = 29,
|
|
UserTokenIsNotValid = 30,
|
|
ConsentNotAccepted = 31,
|
|
UserNameNotFound = 32,
|
|
PlayerNotFoundForUser = 33,
|
|
MarketItemExistsWithSameName = 34,
|
|
PlayerNameInUse = 35,
|
|
PlayerNameIsTooShort = 36,
|
|
ConfirmationPasswordNotValid = 37,
|
|
|
|
RegionPlayerMaxLimit = 38,
|
|
OwnerIsNotSpawnedInRegion = 39,
|
|
RegionDataNotFound = 40,
|
|
RegionNotFound = 41,
|
|
|
|
BrandIdNotFound = 42,
|
|
DomainIdNotFound = 43,
|
|
|
|
DisableAddUser = 44,
|
|
PhoneNumberFormatIsNotValid = 45,
|
|
RefreshTokenUpdateError = 50,
|
|
|
|
EmailIsNullOrEmpty = 55,
|
|
}
|
|
}
|