Class CrossfireMagicmapSkinEvent

  • All Implemented Interfaces:
    SkinEvent

    public class CrossfireMagicmapSkinEvent
    extends java.lang.Object
    implements SkinEvent
    A SkinEvent that executes a CommandList whenever a magicmap protocol command is received.
    • Constructor Detail

      • CrossfireMagicmapSkinEvent

        public CrossfireMagicmapSkinEvent​(@NotNull
                                          @NotNull CommandList commandList,
                                          @NotNull
                                          @NotNull CrossfireServerConnection server)
        Creates a new instance.
        Parameters:
        commandList - the command list to execute
        server - the connection to attach to
    • Method Detail

      • dispose

        public void dispose()
        Description copied from interface: SkinEvent
        Will be called when the skin is disposed. Should release resources.
        Specified by:
        dispose in interface SkinEvent