mirror of
https://github.com/wassname/GarageServer.IO.git
synced 2026-07-02 17:00:12 +08:00
Progress: Documentation
This commit is contained in:
@@ -151,6 +151,8 @@ Type: object literal
|
||||
GarageServerIO.getPlayerStates() : [, {id, state}]
|
||||
```
|
||||
|
||||
**_Returns_** array
|
||||
|
||||
**id**
|
||||
Type: string
|
||||
|
||||
@@ -163,6 +165,8 @@ Type: object literal
|
||||
GarageServerIO.getEntityStates() : [, {id, state}]
|
||||
```
|
||||
|
||||
**_Returns_** array
|
||||
|
||||
**id**
|
||||
Type: string
|
||||
|
||||
@@ -175,8 +179,10 @@ Type: object literal
|
||||
GarageServerIO.getId() : playerid
|
||||
```
|
||||
|
||||
**_Returns_** string
|
||||
|
||||
**playerid**
|
||||
Type: number
|
||||
Type: string
|
||||
|
||||
#### sendServerEvent
|
||||
---
|
||||
@@ -238,6 +244,8 @@ GarageServerIO.stop()
|
||||
GarageServerIO.getPlayers() : [, {id, state, [, inputs], [, {states, executionTimes}]}]
|
||||
```
|
||||
|
||||
**_Returns_** array
|
||||
|
||||
**id**
|
||||
Type: string
|
||||
|
||||
@@ -256,6 +264,8 @@ Type: array of object literals
|
||||
GarageServerIO.getEntities() : [,{id, state, [, {state, executionTime }]}]
|
||||
```
|
||||
|
||||
**_Returns_** array
|
||||
|
||||
**id**
|
||||
Type: string
|
||||
|
||||
|
||||
Reference in New Issue
Block a user