gpIsBuddy

GameSpy SDK

gpIsBuddy

Returns 1 if the given ProfileID is a buddy, 0 if not a buddy.

int gpIsBuddy(
GPConnection * connection,
GPProfile profile );
RoutineRequired HeaderDistribution
gpIsBuddy<gp.h>SDKZIP

Return Value

Returns 1 if the given ProfileID is a buddy, 0 if not a buddy

Parameters

connection
[in] A GP connection interface.
profile
[in] The profile ID of the player to check.

Remarks

Returns 1 if the given ProfileID is a buddy, 0 if not a buddy.

Section Reference: Gamespy Presence SDK