java.lang.Objectcom.realtime.crossfire.jxclient.skin.events.CrossfireMagicmapSkinEvent
public class CrossfireMagicmapSkinEvent
A SkinEvent that executes a CommandList whenever a magicmap
protocol command is received.
| Field Summary | |
|---|---|
private CommandList |
commandList
The CommandList to execute. |
private CrossfireMagicmapListener |
crossfireMagicmapListener
The CrossfireMagicmapListener attached to server. |
private CrossfireServerConnection |
server
The CrossfireServerConnection for tracking magicmap commands. |
| Constructor Summary | |
|---|---|
CrossfireMagicmapSkinEvent(CommandList commandList,
CrossfireServerConnection server)
Creates a new instance. |
|
| Method Summary | |
|---|---|
void |
dispose()
Will be called when the skin is disposed. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
@NotNull private final CommandList commandList
CommandList to execute.
@NotNull private final CrossfireMagicmapListener crossfireMagicmapListener
CrossfireMagicmapListener attached to server.
@NotNull private final CrossfireServerConnection server
CrossfireServerConnection for tracking magicmap commands.
| Constructor Detail |
|---|
public CrossfireMagicmapSkinEvent(@NotNull
CommandList commandList,
@NotNull
CrossfireServerConnection server)
commandList - the command list to executeserver - the connection to attach to| Method Detail |
|---|
public void dispose()
dispose in interface SkinEvent