SAKEUpdateRecordInput

GameSpy SDK

SAKEUpdateRecordInput

Input object passed to sakeUpdateRecord.

typedef struct 
{
char * mTableId;
int mRecordId;
SAKEField * mFields;
int mNumFields;
} SAKEUpdateRecordInput;

Members

mTableId
Points to the tableid of the table in which the record to be updated exists.
mRecordId
Identifies the record to be updated.
mFields
Points to an array of fields which has the new values for the record’s fields.
mNumFields
Stores the number of fields in the mFields array.

Remarks

Unlike with a CreateRecord request, mNumFields cannot be 0; at least one field must be updated.

UpdateRecord does not have an output object, because the backend does not send any response other than the success or failure indicated by the result parameter passed to the callback. When the callback is called, the outputData parameter will always be set to NULL.

Section Reference: Gamespy Sake SDK

See Also: sakeUpdateRecord