Drag[en]gine Script Module DragonScript 1.23
|
Service listener. More...
Public Member Functions | |
void | eventReceived (Service service, ServiceObject event) |
Service event received for example notifications. | |
void | requestFailed (Service service, UniqueID id, ServiceObject error) |
Request failed. | |
void | requestResponse (Service service, UniqueID id, ServiceObject response, bool finished) |
Response received for request. | |
Service listener.
This is a native class.
void Dragengine.ServiceListener.eventReceived | ( | Service | service, |
ServiceObject | event | ||
) |
Service event received for example notifications.
service | Service receiving the event. |
event | Event data. |
void Dragengine.ServiceListener.requestFailed | ( | Service | service, |
UniqueID | id, | ||
ServiceObject | error | ||
) |
Request failed.
service | Service receiving the failure. |
id | Identifier of request that failed. |
error | Failure data. |
void Dragengine.ServiceListener.requestResponse | ( | Service | service, |
UniqueID | id, | ||
ServiceObject | response, | ||
bool | finished | ||
) |
Response received for request.
service | Service receiving the response. |
id | Identifier of request this response belongs to. |
response | Response data. |
finished | True if the request finished or false if more responses will be received. |
Implemented in Dragengine.Services.ServiceEos, Dragengine.Services.ServiceModio, Dragengine.Services.ServiceMsgdk, and Dragengine.Services.ServiceSteam.