Class Request

java.lang.Object
net.sacredlabyrinth.phaed.simpleclans.Request

public final class Request extends Object
Author:
phaed
  • Constructor Details

  • Method Details

    • getType

      public ClanRequest getType()
      Returns:
      the type
    • setType

      public void setType(ClanRequest type)
      Parameters:
      type - the type to set
    • getAcceptors

      public List<ClanPlayer> getAcceptors()
      Returns:
      the acceptors
    • setAcceptors

      public void setAcceptors(List<ClanPlayer> acceptors)
      Parameters:
      acceptors - the acceptors to set
    • getClan

      public Clan getClan()
      Returns:
      the clan
    • setClan

      public void setClan(Clan clan)
      Parameters:
      clan - the clan to set
    • getMsg

      public String getMsg()
      Returns:
      the msg
    • setMsg

      public void setMsg(String msg)
      Parameters:
      msg - the msg to set
    • getTarget

      public String getTarget()
      Returns:
      the target
    • setTarget

      public void setTarget(String target)
      Parameters:
      target - the target to set
    • vote

      public void vote(String playerName, VoteResult vote)
    • votingFinished

      public boolean votingFinished()
    • getDenies

      public List<String> getDenies()
    • getAccepts

      public List<String> getAccepts()
    • cleanVotes

      public void cleanVotes()
      Cleans votes
    • getRequester

      public ClanPlayer getRequester()
      Returns:
      the requester
    • setRequester

      public void setRequester(ClanPlayer requester)
      Parameters:
      requester - the requester to set
    • incrementAskCount

      public void incrementAskCount()
    • reachedRequestLimit

      public boolean reachedRequestLimit()