Class Clan
- java.lang.Object
-
- org.dreambot.api.methods.clan.guild.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/guildstatic java.lang.String
getName()
Gets clan/guild namestatic int
getSize()
Gets the current size of the clan/guildstatic boolean
inChat()
Checks whether you're in a 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
-
-