Package games.stendhal.server.events

Examples of games.stendhal.server.events.PlayerLoggedOutEvent


   * @param playerToNotifyAbout
   */
  private void updatePlayerNameListForPlayersOnLogout(final Player playerToNotifyAbout) {
    SingletonRepository.getRuleProcessor().getOnlinePlayers().forAllPlayersExecute(new Task<Player>() {
      public void execute(final Player player) {
        player.addEvent(new PlayerLoggedOutEvent(playerToNotifyAbout.getName()));
      }
    });
  }
View Full Code Here

TOP

Related Classes of games.stendhal.server.events.PlayerLoggedOutEvent

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.