EOS API reference page for EOS_Mods_UpdateMod

2 mins to read

This function is part of the Mods Interface.


Starts an asynchronous task that makes a request to update the specified mod to the latest version.

See Also

the section related to mods in eos_result.h for more details.



Parameter Type And NameUsage Information
EOS_HMods Handle
const EOS_Mods_UpdateModOptions* Optionsstructure containing the game and mod identifiers
void* ClientDataarbitrary data that is passed back to you in the CompletionDelegate
const EOS_Mods_OnUpdateModCallback CompletionDelegatea callback that is fired when the async operation completes, either successfully or in error. If the mod is up to date then the operation will complete with success.

Callback Function Information

Because this function is asynchronous, it employs a callback of type EOS_Mods_OnUpdateModCallback to report the results of its operation.

Callback Remarks

Function prototype definition for callbacks passed to EOS_Mods_UpdateMod

Callback Parameters


Parameter Type And NameUsage Information
const EOS_Mods_UpdateModCallbackInfo* DataA EOS_Mods_UpdateModCallbackInfo containing the output information and result