steamworks
[vg.git] / vg_steam_friends.h
index 4bcbebba95e0418c822cd21a3b024c91b4e98ac7..0a7f017b1f6f615048818c75f909abf35feda394 100644 (file)
@@ -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 */