Class SpongePlatform

java.lang.Object
dev.rollczi.litecommands.platform.AbstractPlatform<org.spongepowered.api.command.CommandCause,LiteSpongeSettings>
dev.rollczi.litecommands.sponge.SpongePlatform
All Implemented Interfaces:
dev.rollczi.litecommands.platform.Platform<org.spongepowered.api.command.CommandCause,LiteSpongeSettings>

public class SpongePlatform extends dev.rollczi.litecommands.platform.AbstractPlatform<org.spongepowered.api.command.CommandCause,LiteSpongeSettings>
  • Field Summary

    Fields inherited from class dev.rollczi.litecommands.platform.AbstractPlatform

    commandRoutes, senderFactory, settings
  • Constructor Summary

    Constructors
    Constructor
    Description
    SpongePlatform(org.spongepowered.plugin.PluginContainer plugin, LiteSpongeSettings settings)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    hook(dev.rollczi.litecommands.command.CommandRoute<org.spongepowered.api.command.CommandCause> commandRoute, dev.rollczi.litecommands.platform.PlatformInvocationListener<org.spongepowered.api.command.CommandCause> invocationHook, dev.rollczi.litecommands.platform.PlatformSuggestionListener<org.spongepowered.api.command.CommandCause> suggestionHook)
     
    void
    onRegisterRawCommands(org.spongepowered.api.event.lifecycle.RegisterCommandEvent<org.spongepowered.api.command.Command.Raw> event)
     
    protected void
    unhook(dev.rollczi.litecommands.command.CommandRoute<org.spongepowered.api.command.CommandCause> commandRoute)
     

    Methods inherited from class dev.rollczi.litecommands.platform.AbstractPlatform

    createSender, getConfiguration, getSenderFactory, register, setConfiguration, unregister, unregisterAll

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface dev.rollczi.litecommands.platform.Platform

    register, start, stop
  • Constructor Details

    • SpongePlatform

      public SpongePlatform(org.spongepowered.plugin.PluginContainer plugin, LiteSpongeSettings settings)
  • Method Details

    • hook

      protected void hook(dev.rollczi.litecommands.command.CommandRoute<org.spongepowered.api.command.CommandCause> commandRoute, dev.rollczi.litecommands.platform.PlatformInvocationListener<org.spongepowered.api.command.CommandCause> invocationHook, dev.rollczi.litecommands.platform.PlatformSuggestionListener<org.spongepowered.api.command.CommandCause> suggestionHook)
      Specified by:
      hook in class dev.rollczi.litecommands.platform.AbstractPlatform<org.spongepowered.api.command.CommandCause,LiteSpongeSettings>
    • unhook

      protected void unhook(dev.rollczi.litecommands.command.CommandRoute<org.spongepowered.api.command.CommandCause> commandRoute)
      Specified by:
      unhook in class dev.rollczi.litecommands.platform.AbstractPlatform<org.spongepowered.api.command.CommandCause,LiteSpongeSettings>
    • onRegisterRawCommands

      public void onRegisterRawCommands(org.spongepowered.api.event.lifecycle.RegisterCommandEvent<org.spongepowered.api.command.Command.Raw> event)