Class ClanStateCallback
- java.lang.Object
-
- in.dragonbra.javasteam.steam.steamclient.callbackmgr.CallbackMsg
-
- in.dragonbra.javasteam.steam.handlers.steamfriends.callback.ClanStateCallback
-
- All Implemented Interfaces:
ICallbackMsg
public class ClanStateCallback extends CallbackMsg
This callback is posted when a clan's state has been changed.
-
-
Constructor Summary
Constructors Constructor Description ClanStateCallback(in.dragonbra.javasteam.protobufs.steamclient.SteammessagesClientserver.CMsgClientClanState.Builder msg)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.EnumSet<EAccountFlags>getAccountFlags()java.util.List<Event>getAnnouncements()byte[]getAvatarHash()SteamIDgetClanID()java.lang.StringgetClanName()java.util.List<Event>getEvents()intgetMemberChattingCount()intgetMemberInGameCount()intgetMemberOnlineCount()intgetMemberTotalCount()booleanisChatRoomPrivate()-
Methods inherited from class in.dragonbra.javasteam.steam.steamclient.callbackmgr.CallbackMsg
getJobID, setJobID
-
-
-
-
Method Detail
-
getClanID
public SteamID getClanID()
- Returns:
- the
SteamIDof the clan that posted this state update.
-
getAccountFlags
public java.util.EnumSet<EAccountFlags> getAccountFlags()
- Returns:
- the account flags.
-
isChatRoomPrivate
public boolean isChatRoomPrivate()
- Returns:
- the privacy of the chat room.
-
getClanName
public java.lang.String getClanName()
- Returns:
- the name of the clan.
-
getAvatarHash
public byte[] getAvatarHash()
- Returns:
- the SHA-1 avatar hash.
-
getMemberTotalCount
public int getMemberTotalCount()
- Returns:
- the total number of members in this clan.
-
getMemberOnlineCount
public int getMemberOnlineCount()
- Returns:
- the number of members in this clan that are currently online.
-
getMemberChattingCount
public int getMemberChattingCount()
- Returns:
- the number of members in this clan that are currently chatting.
-
getMemberInGameCount
public int getMemberInGameCount()
- Returns:
- the number of members in this clan that are currently in-game.
-
getEvents
public java.util.List<Event> getEvents()
- Returns:
- any events associated with this clan state update. See
Event
-
-