X-Git-Url: https://harrygodden.com/git/?p=vg.git;a=blobdiff_plain;f=vg_steam_friends.h;fp=vg_steam_friends.h;h=0a7f017b1f6f615048818c75f909abf35feda394;hp=4bcbebba95e0418c822cd21a3b024c91b4e98ac7;hb=0c0c6400342e733cdb1147dba7d27287f888731f;hpb=ae11b5d6fefa6e4b905290608bdbdd8a1565f68d diff --git a/vg_steam_friends.h b/vg_steam_friends.h index 4bcbebb..0a7f017 100644 --- a/vg_steam_friends.h +++ b/vg_steam_friends.h @@ -89,6 +89,29 @@ void SteamAPI_ISteamFriends_ActivateGameOverlayToStore( ISteamFriends* self, AppId_t nAppID, EOverlayToStoreFlag eFlag ); void SteamAPI_ISteamFriends_SetPlayedWith( ISteamFriends* self, u64_steamid steamIDUserPlayedWith ); -void SteamAPI_ISteamFriends_ActivateGameOverlayInviteDialog( ISteamFriends* self, u64_steamid steamIDLobby ); +void SteamAPI_ISteamFriends_ActivateGameOverlayInviteDialog( + ISteamFriends* self, u64_steamid steamIDLobby ); + + +enum EFriendFlags{ + k_EFriendFlagNone = 0x00, + k_EFriendFlagBlocked = 0x01, + k_EFriendFlagFriendshipRequested = 0x02, + k_EFriendFlagImmediate = 0x04, // "regular" friend + k_EFriendFlagClanMember = 0x08, + k_EFriendFlagOnGameServer = 0x10, + // k_EFriendFlagHasPlayedWith = 0x20, // not currently used + // k_EFriendFlagFriendOfFriend = 0x40, // not currently used + k_EFriendFlagRequestingFriendship = 0x80, + k_EFriendFlagRequestingInfo = 0x100, + k_EFriendFlagIgnored = 0x200, + k_EFriendFlagIgnoredFriend = 0x400, + // k_EFriendFlagSuggested = 0x800, // not used + k_EFriendFlagChatMember = 0x1000, + k_EFriendFlagAll = 0xFFFF, +}; + +steamapi_bool SteamAPI_ISteamFriends_HasFriend( ISteamFriends* self, + u64_steamid steamIDFriend, int iFriendFlags ); #endif /* VG_STEAM_FRIENDS_H */