GithubHelp home page GithubHelp logo

coooookies / vscode-league-respawn-timer Goto Github PK

View Code? Open in Web Editor NEW
15.0 1.0 1.0 148 KB

An extension to display League of Legends player respawn time in Visual Studio Code.

License: MIT License

JavaScript 0.69% TypeScript 99.31%
lcu-api league-of-legends moba vscode-extension

vscode-league-respawn-timer's People

Contributors

bakaft avatar coooookies avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

bakaft

vscode-league-respawn-timer's Issues

想请问是如何知道游戏状态的查询接口的

首先感谢您的工作与开源。
通过阅读您的源代码,我注意到获取到游戏内状态的一段代码是:

// https://github.com/Coooookies/vscode-league-respawn-timer/blob/master/src/api.ts

const client = axios.create({
  baseURL: "https://127.0.0.1:2999/",
  timeout: 5000,
  httpsAgent: new https.Agent({
    rejectUnauthorized: false,
  }),
});
export class APIClient {
  static getGameEventData() {
    return client.get<IResponseEventData>("/liveclientdata/eventdata");
  }

  static getActivePlayer() {
    return client.get<IResponseActivePlay>("/liveclientdata/activeplayer");
  }

  static getGameStats() {
    return client.get<IResponseGamestats>("/liveclientdata/gamestats");
  }
}

我想知道您是如何得知从游戏外查询游戏内状态的接口的?我也尝试在谷歌上查询了这些内容,但并没有查到有关这些接口的信息。
十分期待您的回复!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.