Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision |
gamedev:servicemodules [2024/09/08 11:37] – dragonlord | gamedev:servicemodules [2024/09/08 11:46] (current) – [DragonScript Module] dragonlord |
---|
The DragonScript module provides support to handle Service using the classes #@LinkApiDocDEDS2_HTML~classDragengine_1_1Service,Service~@# and #@LinkApiDocDEDS2_HTML~classDragengine_1_1ServiceObject,ServiceObject~@# and interface #@LinkApiDocDEDS2_HTML~interfaceDragengine_1_1ServiceListener,ServiceListener~@#. | The DragonScript module provides support to handle Service using the classes #@LinkApiDocDEDS2_HTML~classDragengine_1_1Service,Service~@# and #@LinkApiDocDEDS2_HTML~classDragengine_1_1ServiceObject,ServiceObject~@# and interface #@LinkApiDocDEDS2_HTML~interfaceDragengine_1_1ServiceListener,ServiceListener~@#. |
| |
| To simplify using different services providing similar functionality some helper interfaces are present per group of functionality. It is highly recommended to use these interfaces as they hide a good deal of complexity. You can use ''castable'' to determine if a service instance provides the desired functionality group |
| |
| ^ Interface ^ Functionality ^ |
| | #@LinkApiDocDEDS2_HTML~interfaceDragengine_1_1Services_1_1User_1_1ServiceUser,ServiceUser~@# | Provides support for user management including: login, logout and get user information | |
| | #@LinkApiDocDEDS2_HTML~interfaceDragengine_1_1Services_1_1Stats_1_1ServiceStats,ServiceStats~@# | Provides support for handling achievements and stats | |
| | #@LinkApiDocDEDS2_HTML~interfaceDragengine_1_1Services_1_1Mods_1_1ServiceMods,ServiceMods~@# | Provides support for handling modifications | |
| |
| See the linked documentation (or inside VSCode using the DragonScript Language Extension) for details on how to use these functionalities. |
====== Service Listing ====== | ====== Service Listing ====== |
| |