Run npm install (#43)
All checks were successful
Lint / pre-commit Linting (push) Successful in 1m18s
All checks were successful
Lint / pre-commit Linting (push) Successful in 1m18s
Reviewed-on: #43
This commit was merged in pull request #43.
This commit is contained in:
4
node_modules/screeps-api/README.md
generated
vendored
4
node_modules/screeps-api/README.md
generated
vendored
@@ -20,7 +20,7 @@ User/pass auth will stop working February 1, 2018!
|
||||
|
||||
As of 1.7.0, a small CLI program (`screeps-api`) is included.
|
||||
|
||||
Server config is specified via a `.screeps.yml` file conforming to the [Unified Credentials File format](https://github.com/screepers/screepers-standards/blob/34bd4e6e5c8250fa0794d915d9f78d3c45326076/SS3-Unified_Credentials_File.md) (Pending [screepers-standard PR #8](https://github.com/screepers/screepers-standards/pull/8))
|
||||
Server config is specified via a `.screeps.yml` file conforming to the [Unified Credentials File format](https://github.com/screepers/screepers-standards/blob/master/SS3-Unified_Credentials_File.md)
|
||||
|
||||
```
|
||||
screeps-api
|
||||
@@ -107,7 +107,7 @@ api.socket.connect()
|
||||
// data: { ... }
|
||||
// }
|
||||
api.socket.on('connected',()=>{
|
||||
// Do stuff after conntected
|
||||
// Do stuff after connected
|
||||
})
|
||||
api.socket.on('auth',(event)=>{
|
||||
event.data.status contains either 'ok' or 'failed'
|
||||
|
||||
Reference in New Issue
Block a user