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 seat
    static int invalidGameName
    ErrorCode sent by the server when Bot attempts to enter a game which does not exist on the server
    static int invalidLocation
    Error code sent by the server when Bot attempts to getRooms from a location which does not exist on the server
    static 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 exist
    static int noRoomJoined
    ErrorCode sent by the server when Bot has not joined a room and attempts to leaveSeat or playAction or refresh room data
    static int roomDestroyed
    ErrorCode sent by the server when Bot attempts to join a room which is destroyed
    static int roomIdDoesNotExist
    ErrorCode sent by the server when Bot attempts to join or take seat in a room which does not exist on the server
    static 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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • invalidLoginData

      public static final int invalidLoginData
      ErrorCode 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 invalidGameName
      ErrorCode 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 invalidLocation
      Error 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 seatNotFree
      ErrorCode 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 noRoomJoined
      ErrorCode 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 roomIdDoesNotExist
      ErrorCode 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 roomDestroyed
      ErrorCode sent by the server when Bot attempts to join a room which is destroyed
      See Also:
      Constant Field Values
    • invalidSeatNo

      public static final int invalidSeatNo
      ErrorCode 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 inElligibleToTakeSeat
      ErrorCode sent by the server when Bot attempts to take seat and is not eligible to take seat
      See Also:
      Constant Field Values
  • Constructor Details