Class Clan


  • public class Clan
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      Clan()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.util.List<ClanMember> getMembers()
      Gets a list of the clan members in your clan/guild
      static java.lang.String getName()
      Gets clan/guild name
      static int getSize()
      Gets the current size of the clan/guild
      static boolean inChat()
      Checks whether you're in a clan
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Clan

        public Clan()
    • Method Detail

      • inChat

        public static boolean inChat()
        Checks whether you're in a clan
        Returns:
        True if in clan, false if not
      • getMembers

        public static java.util.List<ClanMember> getMembers()
        Gets a list of the clan members in your clan/guild
        Returns:
        List of ClanMember, empty List if not in clan
      • getSize

        public static int getSize()
        Gets the current size of the clan/guild
        Returns:
        0 if not in clan, otherwise count of how many people are currently in clan/guild
      • getName

        public static java.lang.String getName()
        Gets clan/guild name
        Returns:
        Clan/guild name formatted to replace all non-alphabetical/numeric characters with spaces, null if not in chat