#include <dwc.h>
BOOL DWC_IsBuddyFriendData( const DWCFriendData* frienddata );
For the friend information specified by frienddata, this function checks if a friendship is already established on the GameSpy server.
When a friend relationship is established on the GameSpy server, a flag indicating that fact is set in the Friend information.
In addition, the flag, embedded in the friend information and used for checking whether the other party recognizes you as a friend, is updated when the DWC_UpdateServersAsync function is called and when the request to establish a friend relationship received from the other party is approved.
These two flags are checked to determine whether a friend relationship has been established. In other words, this function is only TRUE (that is, a friendship has been established) when both parties mutually recognize the friendship. Note, however, that the flags in the other party's friend information are not updated in real time. (This function does not perform any communications.)
frienddata |
Pointer to the buffer for the DWCFriendData structure that stores the friend data. |
TRUE |
Friend relationship has been established. |
FALSE |
Friend relationship has not been established. |
DWC_UpdateServersAsync
DWC_WasBuddyFriendData
2007/12/27 Updated explanation in line with the change to specifications.
2007/01/25 Added a description about the friendship establishment flag.
2005/12/16 Added a description about the friendship establishment flag.
2005/10/20 Initial version.
CONFIDENTIAL