DWC_WasBuddyFriendData

Syntax

#include <dwc.h>

BOOL WasBuddyFriendData( const DWCFriendData* frienddata );

Description

Checks whether your friend, specified in the argument, has cancelled the friend relationship with you.

If at some point two players had established a mutual friendship (that is, DWC_IsBuddyFriendData returned TRUE), but now there is a one-sided friend because one of the two parties has cancelled their friend relationship, this function will determine that the friendship has been cancelled and return TRUE.

Because internally this function uses DWC_IsBuddyFriendData, be aware that the other party's friend information flag is not updated in real time. (This function does not perform any communications.)

Arguments

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

Return Values

TRUE Friend relationship used to exist but was cancelled by the friend.
FALSE No such action has taken place.

See Also

DWC_UpdateServersAsync
DWC_IsBuddyFriendData

Revision History

2007/12/27 Initial version.


CONFIDENTIAL