scReportSetTeamData

GameSpy SDK

scReportSetTeamData

Sets the initial team data in the report specified.

SCResult scReportSetTeamData(
SCReportPtr theReport,
gsi_u32 theTeamIndex,
SCGameResult theResult );
RoutineRequired HeaderDistribution
scReportSetTeamData<sc.h>SDKZIP

Return Value

Enum value used to indicate the specific result of the request. This will return SCResult_NO_ERROR if the request completed successfully.

Parameters

theReport
[in] A valid SC Report Object
theTeamIndex
[in] The index of the team being reported
theResult
[in] The team's result (e.g. win, loss, draw)

Remarks

A report must have been created prior to using this function. This function should be called after a new team is added to the report. Any key/value pairs that need to be added should be done after calling this function.