Interface OnlineMessageContext

All Superinterfaces:
MessageContext

public interface OnlineMessageContext extends MessageContext
The answer of the online command. Builds on MessageContext.
  • Method Details

    • builder

      static net.flectone.pulse.module.command.online.model.OnlineMessageContextImpl.OnlineMessageContextImplBuilder builder()
      Starts building this context.
      Returns:
      a new builder
    • type

      @NonNull String type()
      Which player count was asked for.
      Returns:
      which player count was asked for
    • withType

      OnlineMessageContext withType(@NonNull String type)
      Returns a copy carrying a different value.
      Parameters:
      type - which player count was asked for
      Returns:
      the copy