public class EOS_Mods_Interface
extends com.sun.jna.PointerType
NOTE: At this time, this feature is only available for desktop platforms and for products that are part of the Epic Games store.
EOS_Platform_Interface.getModsInterface()| Constructor and Description |
|---|
EOS_Mods_Interface() |
EOS_Mods_Interface(com.sun.jna.Pointer address) |
| Modifier and Type | Method and Description |
|---|---|
EOS_Mods_ModInfo |
copyModInfo(EOS_Mods_CopyModInfoOptions options)
Get cached enumerated mods object.
|
void |
enumerateMods(EOS_Mods_EnumerateModsOptions options,
com.sun.jna.Pointer clientData,
EOS_Mods_OnEnumerateModsCallback completionDelegate)
Starts an asynchronous task that makes a request to enumerate mods for the specified game.
|
void |
installMod(EOS_Mods_InstallModOptions options,
com.sun.jna.Pointer clientData,
EOS_Mods_OnInstallModCallback completionDelegate)
Starts an asynchronous task that makes a request to install the specified mod.
|
void |
uninstallMod(EOS_Mods_UninstallModOptions options,
com.sun.jna.Pointer clientData,
EOS_Mods_OnUninstallModCallback completionDelegate)
Starts an asynchronous task that makes a request to uninstall the specified mod.
|
void |
updateMod(EOS_Mods_UpdateModOptions options,
com.sun.jna.Pointer clientData,
EOS_Mods_OnUpdateModCallback completionDelegate)
Starts an asynchronous task that makes a request to update the specified mod to the latest version.
|
public EOS_Mods_Interface(com.sun.jna.Pointer address)
public EOS_Mods_Interface()
public void installMod(EOS_Mods_InstallModOptions options, com.sun.jna.Pointer clientData, EOS_Mods_OnInstallModCallback completionDelegate)
options - structure containing the game and mod identifiersclientData - arbitrary data that is passed back to you in the CompletionDelegatecompletionDelegate - a callback that is fired when the async operation completes, either successfully or in errorpublic void uninstallMod(EOS_Mods_UninstallModOptions options, com.sun.jna.Pointer clientData, EOS_Mods_OnUninstallModCallback completionDelegate)
options - structure containing the game and mod identifiersclientData - arbitrary data that is passed back to you in the CompletionDelegatecompletionDelegate - a callback that is fired when the async operation completes, either successfully or in errorpublic void enumerateMods(EOS_Mods_EnumerateModsOptions options, com.sun.jna.Pointer clientData, EOS_Mods_OnEnumerateModsCallback completionDelegate)
options - structure containing the game identifiersclientData - arbitrary data that is passed back to you in the CompletionDelegatecompletionDelegate - a callback that is fired when the async operation completes, either successfully or in errorpublic EOS_Mods_ModInfo copyModInfo(EOS_Mods_CopyModInfoOptions options) throws EOSException
options - structure containing the game identifier for which requesting enumerated modsEOSException - if the request was invalid or we do not have cached data.EOS_Mods_ModInfo.release()public void updateMod(EOS_Mods_UpdateModOptions options, com.sun.jna.Pointer clientData, EOS_Mods_OnUpdateModCallback completionDelegate)
options - structure containing the game and mod identifiersclientData - arbitrary data that is passed back to you in the CompletionDelegatecompletionDelegate - a 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.