Updated more specs

2025-08-09 17:39:07 +02:00
parent 53931d40ea
commit f27067b585
4 changed files with 12 additions and 10 deletions

@@ -22,12 +22,12 @@ The game details decribe basic information about the game and specifies how the
``` ```
| Attribute | Type | Description | | Attribute | Type | Description |
| --------------- | ---------------------------------------------- | ----------------------------------------- | | --------------- | ---------------------------------------------- | ------------------------------------------ |
| name | string | The name of the game. | | name | string | The name of the game. |
| description | string | The description of the game. | | description | string | The description of the game. |
| hints | string[] | List of hints for the game. | | hints | string[] | List of hints for the game. |
| (Optional) icon | string | Path to the icon of the module. | | (Optional) icon | string | Path to the icon of the module. |
| controls | [Control](ModuleApiGameLibGameDetails#control) | Statistics rows to show on the endscreen. | | controls | [Control](ModuleApiGameLibGameDetails#control) | The actions the controller should respect. |
## Control ## Control

@@ -75,8 +75,8 @@ Controller.on('endScreen', (endScreen) => {});
``` ```
| Argument | Type | Description | | Argument | Type | Description |
| --------- | -------------------------------------------------------- | ------------------- | | --------- | ------------------------------------------- | ------------------- |
| endScreen | [EndScreen](./ModuleClientAPIGameLibControllerEndScreen) | The endscreen data. | | endScreen | [EndScreen](./ModuleAPIGameLibEndScreen.md) | The endscreen data. |
### on: queuePositionUpdate ### on: queuePositionUpdate

@@ -15,6 +15,7 @@
- [Important Principals](./ModuleClientAPIPrincipals) - [Important Principals](./ModuleClientAPIPrincipals)
- [User](./ModuleClientAPIUser) - [User](./ModuleClientAPIUser)
- [GameLib](./ModuleClientAPIGameLib) - [GameLib](./ModuleClientAPIGameLib)
- [Controller](./ModuleClientAPIGameLibController.md)
- [ModuleServerAPI](./ModuleServerAPI) - [ModuleServerAPI](./ModuleServerAPI)
- [Important Principals](./ModuleServerAPIPrincipals) - [Important Principals](./ModuleServerAPIPrincipals)
- [Client](./ModuleServerAPIClient) - [Client](./ModuleServerAPIClient)
@@ -24,6 +25,7 @@
- [Axios](https://axios-http.com/docs/instance) - [Axios](https://axios-http.com/docs/instance)
- ModuleApi Shared - ModuleApi Shared
- [GameLib GameDetails](./ModuleApiGameLibGameDetails) - [GameLib GameDetails](./ModuleApiGameLibGameDetails)
- [GameLib EndScreen](./ModuleAPIGameLibEndScreen)
- [Module Debugging](./ModuleDebugging) - [Module Debugging](./ModuleDebugging)
- [ModuleStore](./ModuleStore) - [ModuleStore](./ModuleStore)
- [Bug/Feature Reporting](./Reporting) - [Bug/Feature Reporting](./Reporting)