EOS_Mods_InstallMod

EOS API reference page for EOS_Mods_InstallMod

阅读时间2分钟

This function is part of the Mods Interface.

Remarks

Starts an asynchronous task that makes a request to install the specified mod.

See Also

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

Parameters

EOS_Mods_InstallMod

Parameter Type And NameUsage Information
EOS_HMods Handle
const EOS_Mods_InstallModOptions* Optionsstructure containing the game and mod identifiers
void* ClientDataarbitrary data that is passed back to you in the CompletionDelegate
const EOS_Mods_OnInstallModCallback CompletionDelegatea callback that is fired when the async operation completes, either successfully or in error

Callback Function Information

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

Callback Remarks

Function prototype definition for callbacks passed to EOS_Mods_InstallMod

Callback Parameters

EOS_Mods_OnInstallModCallback

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