java.lang.Objectcom.realtime.crossfire.jxclient.main.PlayerNameTracker
public class PlayerNameTracker
Tracks a GuiStateManager and updates a JXCConnection's
character name.
| Field Summary | |
|---|---|
private JXCConnection |
connection
The JXCConnection to track. |
private GuiStateListener |
guiStateListener
The GuiStateListener for detecting established or dropped
connections. |
private ItemSet |
itemSet
The ItemSet to track. |
private ItemSetListener |
itemSetListener
The listener to detect a changed player name. |
| Constructor Summary | |
|---|---|
PlayerNameTracker(GuiStateManager guiStateManager,
JXCConnection connection,
ItemSet itemSet)
Creates a new instance. |
|
| Method Summary |
|---|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
@NotNull private final JXCConnection connection
JXCConnection to track.
@NotNull private final GuiStateListener guiStateListener
GuiStateListener for detecting established or dropped
connections.
@NotNull private final ItemSet itemSet
ItemSet to track.
@NotNull private final ItemSetListener itemSetListener
| Constructor Detail |
|---|
public PlayerNameTracker(@NotNull
GuiStateManager guiStateManager,
@NotNull
JXCConnection connection,
@NotNull
ItemSet itemSet)
guiStateManager - the gui state manager to trackconnection - the connection to trackitemSet - the item set to track