Class OnAcceptedSafehouseInviteEvent

java.lang.Object
com.avrix.events.Event
com.avrix.events.OnAcceptedSafehouseInviteEvent

public abstract class OnAcceptedSafehouseInviteEvent extends Event
Triggered when a safehouse invite has been accepted.
  • Constructor Details

    • OnAcceptedSafehouseInviteEvent

      public OnAcceptedSafehouseInviteEvent()
  • Method Details

    • getEventName

      public String getEventName()
      Getting the event name
      Specified by:
      getEventName in class Event
      Returns:
      name of the event being implemented
    • handleEvent

      public abstract void handleEvent(String safehouseName, String playerName)
      Called Event Handling Method
      Parameters:
      safehouseName - The name of the safehouse the player accepted to join.
      playerName - The name of the player who accepted the invitation.