Class NotInGameResponse


  • public class NotInGameResponse
    extends java.lang.Object
    NotInGameResponse is the response of NotInGame message, from the bot to the game. This messages have to be send with in a second.
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  NotInGameResponse.Type
      Type of a NotInGameResponse.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.json.JSONObject serialize()
      serializes this object to json.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • NotInGameResponse

        public NotInGameResponse​(NotInGameResponse.Type type)
        Create a NotInGameResponse with a type.
        Parameters:
        type - type of the NotInGameResponse
    • Method Detail

      • serialize

        public org.json.JSONObject serialize()
        serializes this object to json.
        Returns:
        json object