public LoginSession(GameServer server, Channel channel) { super(server, channel); this.service = server.getLoginService(); init(); }
/** * Shortcut method to get the GameServer instance of this dispatcher. * * @return the GameServer instance of the ButtonDispatcher */ public static ButtonDispatcher getInstance() { return GameServer.getInstance().getMessageDispatcher().getButtonDispatcher(); }