Drag[en]gine Script Module DragonScript  1.23
Dragengine.Gui.ModManagement.MMPanelModManagement.ModEventListener Class Reference

Mod management event listener. More...

Inheritance diagram for Dragengine.Gui.ModManagement.MMPanelModManagement.ModEventListener:
Dragengine.Services.Mods.DefaultServiceModsListener Dragengine.Services.Mods.ServiceModsListener

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
 

Detailed Description

Mod management event listener.

Member Function Documentation

◆ new()

ModEventListener Dragengine.Gui.ModManagement.MMPanelModManagement.ModEventListener.new ( MMPanelModManagement  panel)

◆ onGetModInfo()

void Dragengine.Gui.ModManagement.MMPanelModManagement.ModEventListener.onGetModInfo ( ServiceMods  service,
String  modId,
ServiceModInfo  info,
Exception  exception 
)

Retrieve modification information finished.

Parameters
serviceService sending the event.
modIdIdentifier of modification.
infoModification info. On failure null.
exceptionOn success null. On failure contains error information.

Reimplemented from Dragengine.Services.Mods.DefaultServiceModsListener.

◆ onGetTags()

void Dragengine.Gui.ModManagement.MMPanelModManagement.ModEventListener.onGetTags ( ServiceMods  service,
Array  categories,
Exception  exception 
)

Retrieve tags finished.

Parameters
serviceService sending the event.
categoriesArray of ServiceModTagCategory.
exceptionOn success null. On failure contains error information.

Reimplemented from Dragengine.Services.Mods.DefaultServiceModsListener.

◆ onSetModDisabled()

void Dragengine.Gui.ModManagement.MMPanelModManagement.ModEventListener.onSetModDisabled ( ServiceMods  service,
String  modId,
bool  disabled,
Exception  exception 
)

Set modification disabled finished.

Parameters
serviceService sending the event.
modIdIdentifier of modification.
disabledDisabled state of modification.
exceptionOn success null. On failure contains error information.

Reimplemented from Dragengine.Services.Mods.DefaultServiceModsListener.

◆ onSubscribeMod()

void Dragengine.Gui.ModManagement.MMPanelModManagement.ModEventListener.onSubscribeMod ( ServiceMods  service,
String  modId,
Exception  exception 
)

Subscribe modification finished.

Parameters
serviceService sending the event.
modIdIdentifier of modification.
exceptionOn success null. On failure contains error information.

Reimplemented from Dragengine.Services.Mods.DefaultServiceModsListener.

◆ onUnsubscribeMod()

void Dragengine.Gui.ModManagement.MMPanelModManagement.ModEventListener.onUnsubscribeMod ( ServiceMods  service,
String  modId,
Exception  exception 
)

Unsubscribe modification finished.

Parameters
serviceService sending the event.
modIdIdentifier of modification.
exceptionOn success null. On failure contains error information.

Reimplemented from Dragengine.Services.Mods.DefaultServiceModsListener.

Member Data Documentation

◆ pPanel

MMPanelModManagement Dragengine.Gui.ModManagement.MMPanelModManagement.ModEventListener.pPanel

The documentation for this class was generated from the following file: