Class OnAcceptedFactionInviteEvent

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

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

    • OnAcceptedFactionInviteEvent

      public OnAcceptedFactionInviteEvent()
  • 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 factionName, String playerName)
      Called Event Handling Method
      Parameters:
      factionName - The name of the faction the player accepted to join.
      playerName - The name of the player who accepted the invitation.