Package io.sockit.gameserver.bot
Class ErrorCodes
java.lang.Object
io.sockit.gameserver.bot.ErrorCodes
public class ErrorCodes extends Object
List of Error codes sent by the server
-
Field Summary
Fields Modifier and Type Field Description static int
inElligibleToTakeSeat
ErrorCode sent by the server when Bot attempts to take seat and is not eligible to take seatstatic int
invalidGameName
ErrorCode sent by the server when Bot attempts to enter a game which does not exist on the serverstatic int
invalidLocation
Error code sent by the server when Bot attempts to getRooms from a location which does not exist on the serverstatic int
invalidLoginData
ErrorCode sent by the server when the data sent by the Bot with the login message is not valid.static int
invalidSeatNo
ErrorCode sent by the server when Bot attempts to sit a a seat which does not existstatic int
noRoomJoined
ErrorCode sent by the server when Bot has not joined a room and attempts to leaveSeat or playAction or refresh room datastatic int
roomDestroyed
ErrorCode sent by the server when Bot attempts to join a room which is destroyedstatic int
roomIdDoesNotExist
ErrorCode sent by the server when Bot attempts to join or take seat in a room which does not exist on the serverstatic int
seatNotFree
ErrorCode sent by the server when Bot attempts to sit on a seat which is not free -
Constructor Summary
Constructors Constructor Description ErrorCodes()
-
Method Summary
-
Field Details
-
invalidLoginData
public static final int invalidLoginDataErrorCode sent by the server when the data sent by the Bot with the login message is not valid. For e.g. emailId or password is null- See Also:
- Constant Field Values
-
invalidGameName
public static final int invalidGameNameErrorCode sent by the server when Bot attempts to enter a game which does not exist on the server- See Also:
- Constant Field Values
-
invalidLocation
public static final int invalidLocationError code sent by the server when Bot attempts to getRooms from a location which does not exist on the server- See Also:
- Constant Field Values
-
seatNotFree
public static final int seatNotFreeErrorCode sent by the server when Bot attempts to sit on a seat which is not free- See Also:
- Constant Field Values
-
noRoomJoined
public static final int noRoomJoinedErrorCode sent by the server when Bot has not joined a room and attempts to leaveSeat or playAction or refresh room data- See Also:
- Constant Field Values
-
roomIdDoesNotExist
public static final int roomIdDoesNotExistErrorCode sent by the server when Bot attempts to join or take seat in a room which does not exist on the server- See Also:
- Constant Field Values
-
roomDestroyed
public static final int roomDestroyedErrorCode sent by the server when Bot attempts to join a room which is destroyed- See Also:
- Constant Field Values
-
invalidSeatNo
public static final int invalidSeatNoErrorCode sent by the server when Bot attempts to sit a a seat which does not exist- See Also:
- Constant Field Values
-
inElligibleToTakeSeat
public static final int inElligibleToTakeSeatErrorCode sent by the server when Bot attempts to take seat and is not eligible to take seat- See Also:
- Constant Field Values
-
-
Constructor Details
-
ErrorCodes
public ErrorCodes()
-