Interface GeolocateMessageContext

All Superinterfaces:
MessageContext

public interface GeolocateMessageContext extends MessageContext
The location looked up for a player's address. Builds on MessageContext.
  • Method Details

    • builder

      static net.flectone.pulse.module.command.geolocate.model.GeolocateMessageContextImpl.GeolocateMessageContextImplBuilder builder()
      Starts building this context.
      Returns:
      a new builder
    • response

      @NonNull IpResponse response()
      The answer from the geolocation service.
      Returns:
      the answer from the geolocation service
    • withResponse

      GeolocateMessageContext withResponse(@NonNull IpResponse response)
      Returns a copy carrying a different value.
      Parameters:
      response - the answer from the geolocation service
      Returns:
      the copy