Rise
The Vieneo Province
Loading...
Searching...
No Matches
isteamfriends.h File Reference
#include "steam_api_common.h"
Include dependency graph for isteamfriends.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  FriendGameInfo_t
class  ISteamFriends
struct  PersonaStateChange_t
struct  GameOverlayActivated_t
struct  GameServerChangeRequested_t
struct  GameLobbyJoinRequested_t
struct  AvatarImageLoaded_t
struct  ClanOfficerListResponse_t
struct  FriendRichPresenceUpdate_t
struct  GameRichPresenceJoinRequested_t
struct  GameConnectedClanChatMsg_t
struct  GameConnectedChatJoin_t
struct  GameConnectedChatLeave_t
struct  DownloadClanActivityCountsResult_t
struct  JoinClanChatRoomCompletionResult_t
struct  GameConnectedFriendChatMsg_t
struct  FriendsGetFollowerCount_t
struct  FriendsIsFollowing_t
struct  FriendsEnumerateFollowingList_t
struct  UnreadChatMessagesChanged_t
struct  OverlayBrowserProtocolNavigation_t
struct  EquippedProfileItemsChanged_t
struct  EquippedProfileItems_t

Macros

#define STEAMFRIENDS_INTERFACE_VERSION   "SteamFriends018"

Typedefs

typedef int16 FriendsGroupID_t

Enumerations

enum  EFriendRelationship {
  k_EFriendRelationshipNone = 0 , k_EFriendRelationshipBlocked = 1 , k_EFriendRelationshipRequestRecipient = 2 , k_EFriendRelationshipFriend = 3 ,
  k_EFriendRelationshipRequestInitiator = 4 , k_EFriendRelationshipIgnored = 5 , k_EFriendRelationshipIgnoredFriend = 6 , k_EFriendRelationshipSuggested_DEPRECATED = 7 ,
  k_EFriendRelationshipMax = 8
}
enum  EPersonaState {
  k_EPersonaStateOffline = 0 , k_EPersonaStateOnline = 1 , k_EPersonaStateBusy = 2 , k_EPersonaStateAway = 3 ,
  k_EPersonaStateSnooze = 4 , k_EPersonaStateLookingToTrade = 5 , k_EPersonaStateLookingToPlay = 6 , k_EPersonaStateInvisible = 7 ,
  k_EPersonaStateMax
}
enum  EFriendFlags {
  k_EFriendFlagNone = 0x00 , k_EFriendFlagBlocked = 0x01 , k_EFriendFlagFriendshipRequested = 0x02 , k_EFriendFlagImmediate = 0x04 ,
  k_EFriendFlagClanMember = 0x08 , k_EFriendFlagOnGameServer = 0x10 , k_EFriendFlagRequestingFriendship = 0x80 , k_EFriendFlagRequestingInfo = 0x100 ,
  k_EFriendFlagIgnored = 0x200 , k_EFriendFlagIgnoredFriend = 0x400 , k_EFriendFlagChatMember = 0x1000 , k_EFriendFlagAll = 0xFFFF
}
enum  { k_cchPersonaNameMax = 128 , k_cwchPersonaNameMax = 32 }
enum  { k_cchMaxRichPresenceKeys = 30 }
enum  { k_cchMaxRichPresenceKeyLength = 64 }
enum  { k_cchMaxRichPresenceValueLength = 256 }
enum  EOverlayToStoreFlag { k_EOverlayToStoreFlag_None = 0 , k_EOverlayToStoreFlag_AddToCart = 1 , k_EOverlayToStoreFlag_AddToCartAndShow = 2 }
enum  EActivateGameOverlayToWebPageMode { k_EActivateGameOverlayToWebPageMode_Default = 0 , k_EActivateGameOverlayToWebPageMode_Modal = 1 }
enum  ECommunityProfileItemType {
  k_ECommunityProfileItemType_AnimatedAvatar = 0 , k_ECommunityProfileItemType_AvatarFrame = 1 , k_ECommunityProfileItemType_ProfileModifier = 2 , k_ECommunityProfileItemType_ProfileBackground = 3 ,
  k_ECommunityProfileItemType_MiniProfileBackground = 4
}
enum  ECommunityProfileItemProperty {
  k_ECommunityProfileItemProperty_ImageSmall = 0 , k_ECommunityProfileItemProperty_ImageLarge = 1 , k_ECommunityProfileItemProperty_InternalName = 2 , k_ECommunityProfileItemProperty_Title = 3 ,
  k_ECommunityProfileItemProperty_Description = 4 , k_ECommunityProfileItemProperty_AppID = 5 , k_ECommunityProfileItemProperty_TypeID = 6 , k_ECommunityProfileItemProperty_Class = 7 ,
  k_ECommunityProfileItemProperty_MovieWebM = 8 , k_ECommunityProfileItemProperty_MovieMP4 = 9 , k_ECommunityProfileItemProperty_MovieWebMSmall = 10 , k_ECommunityProfileItemProperty_MovieMP4Small = 11
}
enum  EPersonaChange {
  k_EPersonaChangeName = 0x0001 , k_EPersonaChangeStatus = 0x0002 , k_EPersonaChangeComeOnline = 0x0004 , k_EPersonaChangeGoneOffline = 0x0008 ,
  k_EPersonaChangeGamePlayed = 0x0010 , k_EPersonaChangeGameServer = 0x0020 , k_EPersonaChangeAvatar = 0x0040 , k_EPersonaChangeJoinedSource = 0x0080 ,
  k_EPersonaChangeLeftSource = 0x0100 , k_EPersonaChangeRelationshipChanged = 0x0200 , k_EPersonaChangeNameFirstSet = 0x0400 , k_EPersonaChangeBroadcast = 0x0800 ,
  k_EPersonaChangeNickname = 0x1000 , k_EPersonaChangeSteamLevel = 0x2000 , k_EPersonaChangeRichPresence = 0x4000
}

Functions

ISteamFriends * SteamFriends ()
 STEAM_DEFINE_USER_INTERFACE_ACCESSOR (ISteamFriends *, SteamFriends, STEAMFRIENDS_INTERFACE_VERSION)

Variables

const int k_cchMaxFriendsGroupName = 64
const int k_cFriendsGroupLimit = 100
const FriendsGroupID_t k_FriendsGroupID_Invalid = -1
const int k_cEnumerateFollowersMax = 50
const uint16 k_usFriendGameInfoQueryPort_NotInitialized = 0xFFFF
const uint16 k_usFriendGameInfoQueryPort_Error = 0xFFFE
const uint32 k_cubChatMetadataMax = 8192

Macro Definition Documentation

◆ STEAMFRIENDS_INTERFACE_VERSION

#define STEAMFRIENDS_INTERFACE_VERSION   "SteamFriends018"

Definition at line 436 of file isteamfriends.h.

Typedef Documentation

◆ FriendsGroupID_t

Definition at line 40 of file isteamfriends.h.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
k_cchMaxRichPresenceKeys 

Definition at line 123 of file isteamfriends.h.

◆ anonymous enum

anonymous enum
Enumerator
k_cchMaxRichPresenceKeyLength 

Definition at line 124 of file isteamfriends.h.

◆ anonymous enum

anonymous enum
Enumerator
k_cchPersonaNameMax 
k_cwchPersonaNameMax 

Definition at line 113 of file isteamfriends.h.

◆ anonymous enum

anonymous enum
Enumerator
k_cchMaxRichPresenceValueLength 

Definition at line 125 of file isteamfriends.h.

◆ EActivateGameOverlayToWebPageMode

Enumerator
k_EActivateGameOverlayToWebPageMode_Default 
k_EActivateGameOverlayToWebPageMode_Modal 

Definition at line 139 of file isteamfriends.h.

◆ ECommunityProfileItemProperty

Enumerator
k_ECommunityProfileItemProperty_ImageSmall 
k_ECommunityProfileItemProperty_ImageLarge 
k_ECommunityProfileItemProperty_InternalName 
k_ECommunityProfileItemProperty_Title 
k_ECommunityProfileItemProperty_Description 
k_ECommunityProfileItemProperty_AppID 
k_ECommunityProfileItemProperty_TypeID 
k_ECommunityProfileItemProperty_Class 
k_ECommunityProfileItemProperty_MovieWebM 
k_ECommunityProfileItemProperty_MovieMP4 
k_ECommunityProfileItemProperty_MovieWebMSmall 
k_ECommunityProfileItemProperty_MovieMP4Small 

Definition at line 160 of file isteamfriends.h.

◆ ECommunityProfileItemType

Enumerator
k_ECommunityProfileItemType_AnimatedAvatar 
k_ECommunityProfileItemType_AvatarFrame 
k_ECommunityProfileItemType_ProfileModifier 
k_ECommunityProfileItemType_ProfileBackground 
k_ECommunityProfileItemType_MiniProfileBackground 

Definition at line 152 of file isteamfriends.h.

◆ EFriendFlags

Enumerator
k_EFriendFlagNone 
k_EFriendFlagBlocked 
k_EFriendFlagFriendshipRequested 
k_EFriendFlagImmediate 
k_EFriendFlagClanMember 
k_EFriendFlagOnGameServer 
k_EFriendFlagRequestingFriendship 
k_EFriendFlagRequestingInfo 
k_EFriendFlagIgnored 
k_EFriendFlagIgnoredFriend 
k_EFriendFlagChatMember 
k_EFriendFlagAll 

Definition at line 68 of file isteamfriends.h.

◆ EFriendRelationship

Enumerator
k_EFriendRelationshipNone 
k_EFriendRelationshipBlocked 
k_EFriendRelationshipRequestRecipient 
k_EFriendRelationshipFriend 
k_EFriendRelationshipRequestInitiator 
k_EFriendRelationshipIgnored 
k_EFriendRelationshipIgnoredFriend 
k_EFriendRelationshipSuggested_DEPRECATED 
k_EFriendRelationshipMax 

Definition at line 18 of file isteamfriends.h.

◆ EOverlayToStoreFlag

Enumerator
k_EOverlayToStoreFlag_None 
k_EOverlayToStoreFlag_AddToCart 
k_EOverlayToStoreFlag_AddToCartAndShow 

Definition at line 128 of file isteamfriends.h.

◆ EPersonaChange

Enumerator
k_EPersonaChangeName 
k_EPersonaChangeStatus 
k_EPersonaChangeComeOnline 
k_EPersonaChangeGoneOffline 
k_EPersonaChangeGamePlayed 
k_EPersonaChangeGameServer 
k_EPersonaChangeAvatar 
k_EPersonaChangeJoinedSource 
k_EPersonaChangeLeftSource 
k_EPersonaChangeRelationshipChanged 
k_EPersonaChangeNameFirstSet 
k_EPersonaChangeBroadcast 
k_EPersonaChangeNickname 
k_EPersonaChangeSteamLevel 
k_EPersonaChangeRichPresence 

Definition at line 465 of file isteamfriends.h.

◆ EPersonaState

Enumerator
k_EPersonaStateOffline 
k_EPersonaStateOnline 
k_EPersonaStateBusy 
k_EPersonaStateAway 
k_EPersonaStateSnooze 
k_EPersonaStateLookingToTrade 
k_EPersonaStateLookingToPlay 
k_EPersonaStateInvisible 
k_EPersonaStateMax 

Definition at line 51 of file isteamfriends.h.

Function Documentation

◆ STEAM_DEFINE_USER_INTERFACE_ACCESSOR()

STEAM_DEFINE_USER_INTERFACE_ACCESSOR ( ISteamFriends * ,
SteamFriends ,
STEAMFRIENDS_INTERFACE_VERSION  )
Here is the call graph for this function:

◆ SteamFriends()

ISteamFriends * SteamFriends ( )
inline
Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ k_cchMaxFriendsGroupName

const int k_cchMaxFriendsGroupName = 64

Definition at line 34 of file isteamfriends.h.

◆ k_cEnumerateFollowersMax

const int k_cEnumerateFollowersMax = 50

Definition at line 45 of file isteamfriends.h.

◆ k_cFriendsGroupLimit

const int k_cFriendsGroupLimit = 100

Definition at line 37 of file isteamfriends.h.

◆ k_cubChatMetadataMax

const uint32 k_cubChatMetadataMax = 8192

Definition at line 120 of file isteamfriends.h.

◆ k_FriendsGroupID_Invalid

const FriendsGroupID_t k_FriendsGroupID_Invalid = -1

Definition at line 43 of file isteamfriends.h.

◆ k_usFriendGameInfoQueryPort_Error

const uint16 k_usFriendGameInfoQueryPort_Error = 0xFFFE

Definition at line 108 of file isteamfriends.h.

◆ k_usFriendGameInfoQueryPort_NotInitialized

const uint16 k_usFriendGameInfoQueryPort_NotInitialized = 0xFFFF

Definition at line 107 of file isteamfriends.h.