mirror of
https://github.com/wassname/GarageServer.IO.git
synced 2026-08-11 11:12:33 +08:00
Progress: Documentation
This commit is contained in:
@@ -22,8 +22,8 @@ api methods
|
||||
createGarageServer(io, options)
|
||||
start()
|
||||
stop()
|
||||
getPlayers() : [{ id, state, [input1, input2,...], [{ state1, executionTime1 }, { state2, executionTime2 }, ...] }]
|
||||
getEntities() : [{ id, state, [{ state1, executionTime1 }, { state2, executionTime2 }, ...] }]
|
||||
getPlayers() : [,{ id, state, [,inputs], [,{ states, executionTimes }] }]
|
||||
getEntities() :[,{ id, state, [,{ state, executionTime }] }]
|
||||
updatePlayerState(id, state)
|
||||
updateEntityState(id, state)
|
||||
addEntity(id)
|
||||
|
||||
Reference in New Issue
Block a user