Class Clan


  • @Deprecated
    public class Clan
    extends java.lang.Object
    Deprecated.
    • Method Summary

      All Methods Static Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      static java.lang.String getChatName()
      Deprecated.
      Gets clan chat name
      static java.lang.String getChatOwner()
      Deprecated.
      Gets clan chat owner's name
      static int getClanSize()
      Deprecated.
      Gets the current size of the clan chat
      static java.util.List<ClanMember> getMembers()
      Deprecated.
      static boolean inChat()
      Deprecated.
      Checks whether you're in a clan chat
      static boolean joinChat​(java.lang.String clanChat)
      Deprecated.
      Joins a clan chat specified by the name
      static boolean leaveChat()
      Deprecated.
      Leaves the current clan chat you're in
      • Methods inherited from class java.lang.Object

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

      • joinChat

        public static boolean joinChat​(java.lang.String clanChat)
        Deprecated.
        Joins a clan chat specified by the name
        Parameters:
        clanChat - Name of the chat owner to join
        Returns:
        True if successfully joined chat or already in chat, false if failed to join chat
      • leaveChat

        public static boolean leaveChat()
        Deprecated.
        Leaves the current clan chat you're in
        Returns:
        True if not in chat or successfully leave chat, false if failed to leave chat
      • inChat

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

        public static int getClanSize()
        Deprecated.
        Gets the current size of the clan chat
        Returns:
        0 if not in chat, otherwise count of how many people are in clan chat
      • getChatName

        public static java.lang.String getChatName()
        Deprecated.
        Gets clan chat name
        Returns:
        Clan chat name formatted with _'s instead of spaces, null if not in chat
      • getChatOwner

        public static java.lang.String getChatOwner()
        Deprecated.
        Gets clan chat owner's name
        Returns:
        Clan chat owner's name formatted with _'s instead of spaces, null if not in chat