Drag[en]gine Script Module DragonScript
1.23
|
Mod management event listener. More...
Public Member Functions | |
ModEventListener | new (MMPanelModManagement panel) |
void | onGetModInfo (ServiceMods service, String modId, ServiceModInfo info, Exception exception) |
Retrieve modification information finished. More... | |
void | onGetTags (ServiceMods service, Array categories, Exception exception) |
Retrieve tags finished. More... | |
void | onSetModDisabled (ServiceMods service, String modId, bool disabled, Exception exception) |
Set modification disabled finished. More... | |
void | onSubscribeMod (ServiceMods service, String modId, Exception exception) |
Subscribe modification finished. More... | |
void | onUnsubscribeMod (ServiceMods service, String modId, Exception exception) |
Unsubscribe modification finished. More... | |
Public Member Functions inherited from Dragengine.Services.Mods.DefaultServiceModsListener | |
DefaultServiceModsListener | new () |
Create new instance of DefaultServiceModsListener. More... | |
void | onGetPurchasedMods (ServiceMods service, Array mods, Exception exception) |
Get purchased mods finished. More... | |
void | onListMods (ServiceMods service, Array mods, Exception exception) |
Listing modifications finished. More... | |
void | onLoadModResource (ServiceMods service, String url, Object resource, Exception exception) |
Loading resource finished. More... | |
void | onModManagement (ServiceMods service, ServiceMods.ManagementEvent event, String modId, ServiceModProgress progress, Exception exception) |
Mod mamagement event. More... | |
void | onPurchaseMod (ServiceMods service, String modId, String price, String walletBalance, Exception exception) |
Purchase mod finished. More... | |
void | onReportMod (ServiceMods service, String modId, Exception exception) |
Report modification finished. More... | |
void | onRevokeModRating (ServiceMods service, String modId, Exception exception) |
Revoke modification rating finished. More... | |
void | onSubmitModRating (ServiceMods service, String modId, Exception exception) |
Submit modification rating finished. More... | |
Public Attributes | |
MMPanelModManagement | pPanel |
Mod management event listener.
ModEventListener Dragengine.Gui.ModManagement.MMPanelModManagement.ModEventListener.new | ( | MMPanelModManagement | panel | ) |
void Dragengine.Gui.ModManagement.MMPanelModManagement.ModEventListener.onGetModInfo | ( | ServiceMods | service, |
String | modId, | ||
ServiceModInfo | info, | ||
Exception | exception | ||
) |
Retrieve modification information finished.
service | Service sending the event. |
modId | Identifier of modification. |
info | Modification info. On failure null. |
exception | On success null. On failure contains error information. |
Reimplemented from Dragengine.Services.Mods.DefaultServiceModsListener.
void Dragengine.Gui.ModManagement.MMPanelModManagement.ModEventListener.onGetTags | ( | ServiceMods | service, |
Array | categories, | ||
Exception | exception | ||
) |
Retrieve tags finished.
service | Service sending the event. |
categories | Array of ServiceModTagCategory. |
exception | On success null. On failure contains error information. |
Reimplemented from Dragengine.Services.Mods.DefaultServiceModsListener.
void Dragengine.Gui.ModManagement.MMPanelModManagement.ModEventListener.onSetModDisabled | ( | ServiceMods | service, |
String | modId, | ||
bool | disabled, | ||
Exception | exception | ||
) |
Set modification disabled finished.
service | Service sending the event. |
modId | Identifier of modification. |
disabled | Disabled state of modification. |
exception | On success null. On failure contains error information. |
Reimplemented from Dragengine.Services.Mods.DefaultServiceModsListener.
void Dragengine.Gui.ModManagement.MMPanelModManagement.ModEventListener.onSubscribeMod | ( | ServiceMods | service, |
String | modId, | ||
Exception | exception | ||
) |
Subscribe modification finished.
service | Service sending the event. |
modId | Identifier of modification. |
exception | On success null. On failure contains error information. |
Reimplemented from Dragengine.Services.Mods.DefaultServiceModsListener.
void Dragengine.Gui.ModManagement.MMPanelModManagement.ModEventListener.onUnsubscribeMod | ( | ServiceMods | service, |
String | modId, | ||
Exception | exception | ||
) |
Unsubscribe modification finished.
service | Service sending the event. |
modId | Identifier of modification. |
exception | On success null. On failure contains error information. |
Reimplemented from Dragengine.Services.Mods.DefaultServiceModsListener.
MMPanelModManagement Dragengine.Gui.ModManagement.MMPanelModManagement.ModEventListener.pPanel |