Class PersonaState


  • public class PersonaState
    extends java.lang.Object
    Represents the persona state of a friend.
    • Constructor Detail

      • PersonaState

        public PersonaState​(in.dragonbra.javasteam.protobufs.steamclient.SteammessagesClientserverFriends.CMsgClientPersonaState.Friend friend)
    • Method Detail

      • getStatusFlags

        public java.util.EnumSet<EClientPersonaStateFlag> getStatusFlags()
        Returns:
        the status flags. This shows what has changed.
      • getFriendID

        public SteamID getFriendID()
        Returns:
        the friend's SteamID
      • 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.
      • getSourceSteamID

        public SteamID getSourceSteamID()
        Returns:
        the source SteamID.
      • 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.