Drag[en]gine Script Module DragonScript
1.23
|
Default implementation of ServiceUserListener. More...
Public Member Functions | |
DefaultServiceUserListener | new () |
Create new instance of DefaultServiceUserListener. More... | |
void | onGetAuthToken (ServiceUser service, ServiceUserAuthToken token, Exception exception) |
Receive authentification token finished. More... | |
void | onGetUserInfo (ServiceUser service, ServiceUserInfo info, Exception exception) |
User information received. More... | |
void | onLoadUserResource (ServiceUser service, String url, Object resource, Exception exception) |
Loading resource finished. More... | |
void | onLoginUser (ServiceUser service, Exception exception) |
Logging in user finished. More... | |
void | onLogoutUser (ServiceUser service, Exception exception) |
Logging out user finished. More... | |
void | onReportUser (ServiceUser service, String userId, Exception exception) |
Report user finished. More... | |
void | onUserWalletBalance (ServiceUser service, String amount, Exception exception) |
User wallet balance finished. More... | |
Default implementation of ServiceUserListener.
DefaultServiceUserListener Dragengine.Services.User.DefaultServiceUserListener.new | ( | ) |
Create new instance of DefaultServiceUserListener.
void Dragengine.Services.User.DefaultServiceUserListener.onGetAuthToken | ( | ServiceUser | service, |
ServiceUserAuthToken | token, | ||
Exception | exception | ||
) |
Receive authentification token finished.
service | Service sending the event. |
token | Authentification token. On failure null. |
exception | On success null. On failure contains error information. |
Implements Dragengine.Services.User.ServiceUserListener.
Reimplemented in Dragengine.Gui.ModManagement.MMPanelModUserAccount.GetAuthTokenLogin.
void Dragengine.Services.User.DefaultServiceUserListener.onGetUserInfo | ( | ServiceUser | service, |
ServiceUserInfo | info, | ||
Exception | exception | ||
) |
User information received.
If logging in is required and no user is logged in failure is returned.
service | Service sending the event. |
info | User information. On failure null. |
exception | On success null. On failure contains error information. |
Implements Dragengine.Services.User.ServiceUserListener.
Reimplemented in Dragengine.Gui.ModManagement.MMPanelModUserAccount.UserEventListener.
void Dragengine.Services.User.DefaultServiceUserListener.onLoadUserResource | ( | ServiceUser | service, |
String | url, | ||
Object | resource, | ||
Exception | exception | ||
) |
Loading resource finished.
service | Service sending the event. |
url | URL of resource to load. |
resource | Loaded resource. On failure null. |
exception | On success null. On failure contains error information. |
Implements Dragengine.Services.User.ServiceUserListener.
Reimplemented in Dragengine.Gui.ModManagement.MMPanelModUserAccount.LoadAvatarListener.
void Dragengine.Services.User.DefaultServiceUserListener.onLoginUser | ( | ServiceUser | service, |
Exception | exception | ||
) |
Logging in user finished.
service | Service sending the event. |
exception | On success null. On failure contains error information. |
Implements Dragengine.Services.User.ServiceUserListener.
Reimplemented in Dragengine.Gui.ModManagement.MMPanelModUserAccount.UserEventListener, and Dragengine.Gui.ModManagement.MMPanelModManagement.UserEventListener.
void Dragengine.Services.User.DefaultServiceUserListener.onLogoutUser | ( | ServiceUser | service, |
Exception | exception | ||
) |
Logging out user finished.
service | Service sending the event. |
exception | On success null. On failure contains error information. |
Implements Dragengine.Services.User.ServiceUserListener.
Reimplemented in Dragengine.Gui.ModManagement.MMPanelModUserAccount.UserEventListener, and Dragengine.Gui.ModManagement.MMPanelModManagement.UserEventListener.
void Dragengine.Services.User.DefaultServiceUserListener.onReportUser | ( | ServiceUser | service, |
String | userId, | ||
Exception | exception | ||
) |
Report user finished.
service | Service sending the event. |
userId | Identifier of user the report has been submitted for. |
exception | On success null. On failure contains error information. |
Implements Dragengine.Services.User.ServiceUserListener.
void Dragengine.Services.User.DefaultServiceUserListener.onUserWalletBalance | ( | ServiceUser | service, |
String | amount, | ||
Exception | exception | ||
) |
User wallet balance finished.
service | Service sending the event. |
amount | Amount in store currency. |
exception | On success null. On failure contains error information. |
Implements Dragengine.Services.User.ServiceUserListener.
Reimplemented in Dragengine.Gui.ModManagement.MMPanelModUserAccount.UserEventListener.