22 package com.realtime.crossfire.jxclient.skin.events;
27 import org.jetbrains.annotations.NotNull;
55 public void commandMagicmapReceived() {
Interface for events attached to skins.
void dispose()
Will be called when the skin is disposed.Should release resources.
CrossfireMagicmapSkinEvent(@NotNull final CommandList commandList, @NotNull final CrossfireServerConnection server)
Creates a new instance.
A SkinEvent that executes a CommandList whenever a magicmap protocol command is received.
final CommandList commandList
The CommandList to execute.
final CrossfireMagicmapListener crossfireMagicmapListener
The CrossfireMagicmapListener attached to server.
final CrossfireServerConnection server
The CrossfireServerConnection for tracking magicmap commands.
void removeCrossfireMagicmapListener(@NotNull CrossfireMagicmapListener listener)
Removes a listener from the list of objects listening to magicmap messages.
void addCrossfireMagicmapListener(@NotNull CrossfireMagicmapListener listener)
Adds a listener from the list of objects listening to magicmap messages.
Interface for listeners interested in magicmap messages received from the Crossfire server...
Adds encoding/decoding of crossfire protocol packets to a ServerConnection.
A list of GUICommand instances.
void execute()
Execute the command list by calling GUICommand#execute() for each command in order.