Class ModerationListSender
java.lang.Object
net.flectone.pulse.platform.sender.ModerationListSender
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionModerationListSender(FPlayerService fPlayerService, ModuleCommandController moduleCommandController, MessageDispatcher messageDispatcher, MessagePipeline messagePipeline, ModerationMessageFormatter moderationMessageFormatter, ModerationService moderationService, EventDispatcher eventDispatcher, SoundPlayer soundPlayer) -
Method Summary
Modifier and TypeMethodDescriptiongetListArgument(ModuleCommand<?> command, org.incendo.cloud.context.CommandContext<FPlayer> commandContext, int startIndex) <L extends LocalizationSetting & ModerationListLocalizationSetting>
voidsend(ModuleCommand<L> module, FPlayer fPlayer, org.incendo.cloud.context.CommandContext<FPlayer> commandContext, Moderation.Type type, int firstArgumentIndex, int perPage, String nextPageCommand, Function<FPlayer, String> unmoderationCommand)
-
Constructor Details
-
ModerationListSender
@Inject public ModerationListSender(FPlayerService fPlayerService, ModuleCommandController moduleCommandController, MessageDispatcher messageDispatcher, MessagePipeline messagePipeline, ModerationMessageFormatter moderationMessageFormatter, ModerationService moderationService, EventDispatcher eventDispatcher, SoundPlayer soundPlayer)
-
-
Method Details
-
send
public <L extends LocalizationSetting & ModerationListLocalizationSetting> void send(ModuleCommand<L> module, FPlayer fPlayer, org.incendo.cloud.context.CommandContext<FPlayer> commandContext, Moderation.Type type, int firstArgumentIndex, int perPage, String nextPageCommand, Function<FPlayer, String> unmoderationCommand) -
getListArgument
public Optional<ModerationListSender.ListArgument> getListArgument(ModuleCommand<?> command, org.incendo.cloud.context.CommandContext<FPlayer> commandContext, int startIndex)
-