Interface LogoutListener

All Known Implementing Classes:
ArcheryRange, PlayerVsPlayerChallengeManager, TrainingArea, TutorialRunner, UpdatePlayerOnlineLogoutListener, WizardBank

public interface LogoutListener
Implementing classes can be notified that a player has logged out. After registering at the LoginNotifier, the LoginNotifier will notify it about each player who logs out. It is the responsibility of the LogoutListener to determine which players are of interest for it, and to store this information persistently.
Author:
markus
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onLoggedOut​(Player player)
    Called when a player has logged out.
  • Method Details

    • onLoggedOut

      void onLoggedOut(Player player)
      Called when a player has logged out.
      Parameters:
      player - The player having logged out.