scReportAddShortValue
Adds a short value to the report for a specific key.
- SCResult scReportAddShortValue(
- SCReportPtr theReportData,
- gsi_u16 theKeyId,
- gsi_i16 theValue );
Routine | Required Header | Distribution |
---|---|---|
scReportAddShortValue | <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
- theReportData
- [in] A valid SC Report object
- theKeyId
- [in] Key Identifier for reporting data
- theValue
- [in] 16 bit Short value representation of the data
Remarks
The host or player can call this function to add either global, player-, or team-specific data. A report needs to be created before calling this function. For global keys, this function can only be called after starting global data. For player or teams, a new player or team needs to be added.