Tracks a GuiStateManager and updates a JXCConnection's character name.
final JXCConnection connection
The JXCConnection to track.
final ItemSetListener itemSetListener
The listener to detect a changed player name.
PlayerNameTracker(@NotNull final GuiStateManager guiStateManager, @NotNull final JXCConnection connection, @NotNull final ItemSet itemSet)
Creates a new instance.
final GuiStateListener guiStateListener
The GuiStateListener for detecting established or dropped connections.