screeps-simple-api
    Preparing search index...

    Interface IConfig

    配置对象

    interface IConfig {
        email?: string;
        host?: string;
        password?: string;
        secure?: boolean;
        timeout?: number;
        token?: string;
    }
    Index

    Properties

    email?: string

    邮箱

    host?: string

    域名+端口

    password?: string

    密码

    secure?: boolean

    是否使用 https

    timeout?: number

    超时时间

    token?: string

    官服可以生成 token,私服不一定有 token 则可以填写用户名和密码