Class PersonaState
- java.lang.Object
-
- in.dragonbra.javasteam.steam.handlers.steamfriends.PersonaState
-
public class PersonaState extends java.lang.ObjectRepresents the persona state of a friend.
-
-
Constructor Summary
Constructors Constructor Description PersonaState(in.dragonbra.javasteam.protobufs.steamclient.SteammessagesClientserverFriends.CMsgClientPersonaState.Friend friend)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]getAvatarHash()intgetClanRank()java.lang.StringgetClanTag()SteamIDgetFriendID()intgetGameAppID()byte[]getGameDataBlob()GameIDgetGameID()java.lang.StringgetGameName()java.net.InetAddressgetGameServerIP()intgetGameServerPort()java.util.DategetLastLogOff()java.util.DategetLastLogOn()java.lang.StringgetName()intgetOnlineSessionInstances()intgetQueryPort()SteamIDgetSourceSteamID()EPersonaStategetState()java.util.EnumSet<EPersonaStateFlag>getStateFlags()java.util.EnumSet<EClientPersonaStateFlag>getStatusFlags()
-
-
-
Method Detail
-
getStatusFlags
public java.util.EnumSet<EClientPersonaStateFlag> getStatusFlags()
- Returns:
- the status flags. This shows what has changed.
-
getState
public EPersonaState getState()
- Returns:
- the state.
-
getStateFlags
public java.util.EnumSet<EPersonaStateFlag> getStateFlags()
- Returns:
- the state flags.
-
getGameAppID
public int getGameAppID()
- Returns:
- the game app ID.
-
getGameID
public GameID getGameID()
- Returns:
- the game ID.
-
getGameName
public java.lang.String getGameName()
- Returns:
- the name of the game.
-
getGameServerIP
public java.net.InetAddress getGameServerIP()
- Returns:
- the game server IP.
-
getGameServerPort
public int getGameServerPort()
- Returns:
- the game server port.
-
getQueryPort
public int getQueryPort()
- Returns:
- the query port.
-
getGameDataBlob
public byte[] getGameDataBlob()
- Returns:
- the game data blob.
-
getName
public java.lang.String getName()
- Returns:
- the name.
-
getAvatarHash
public byte[] getAvatarHash()
- Returns:
- the avatar hash.
-
getLastLogOff
public java.util.Date getLastLogOff()
- Returns:
- the last log off.
-
getLastLogOn
public java.util.Date getLastLogOn()
- Returns:
- the last log on.
-
getClanRank
public int getClanRank()
- Returns:
- the clan rank.
-
getClanTag
public java.lang.String getClanTag()
- Returns:
- the clan tag.
-
getOnlineSessionInstances
public int getOnlineSessionInstances()
- Returns:
- the online session instance.
-
-