 |
Crossfire JXClient, Trunk
|
Go to the documentation of this file.
23 package com.realtime.crossfire.jxclient.skin.events;
28 import org.jetbrains.annotations.NotNull;
56 public void commandMagicmapReceived() {
Interface for events attached to skins.
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.
final CrossfireMagicmapListener crossfireMagicmapListener
The CrossfireMagicmapListener attached to server.
CrossfireMagicmapSkinEvent(@NotNull final CommandList commandList, @NotNull final CrossfireServerConnection server)
Creates a new instance.
void dispose()
Will be called when the skin is disposed.
final CommandList commandList
The CommandList to execute.
void removeCrossfireMagicmapListener(@NotNull CrossfireMagicmapListener listener)
Removes a listener from the list of objects listening to magicmap messages.
A SkinEvent that executes a CommandList whenever a magicmap protocol command is received.
void execute()
Execute the command list by calling GUICommand#execute() for each command in order.
A list of GUICommand instances.
final CrossfireServerConnection server
The CrossfireServerConnection for tracking magicmap commands.