Updated more specs
@@ -21,13 +21,13 @@ 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
|
||||||
|
|
||||||
|
|||||||
@@ -74,9 +74,9 @@ Triggers when the endscreen should be shown.
|
|||||||
Controller.on('endScreen', (endScreen) => {});
|
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)
|
||||||
|
|||||||
Reference in New Issue
Block a user