DWC_ClearBuddyFlagFriendData

Syntax

#include <dwc.h>

void DWC_ClearBuddyFlagFriendData(DWCFriendData *frienddata);

Arguments

frienddata Pointer to the buffer for the DWCFriendData structure that stores the friend data.

Return Values

None.

Description

Clears the friend established flag. This flag can be checked using the DWC_IsBuddyFriendData function. The friend established flag is cleared only if the friend established flag is set. Otherwise, this function does nothing.

The friend established flag is set in friend data whenever a friend relationship is established on the GameSpy server. This flag can then be checked to determine whether or not a friend relationship is established.

When an established friendship is unestablished by such means as overwriting user data when the console and save data differ, be sure to clear the friend established flag using this function.

Revision History


CONFIDENTIAL