coooookies / vscode-league-respawn-timer Goto Github PK
View Code? Open in Web Editor NEWAn extension to display League of Legends player respawn time in Visual Studio Code.
License: MIT License
An extension to display League of Legends player respawn time in Visual Studio Code.
License: MIT License
首先感谢您的工作与开源。
通过阅读您的源代码,我注意到获取到游戏内状态的一段代码是:
// 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");
}
}
我想知道您是如何得知从游戏外查询游戏内状态的接口的?我也尝试在谷歌上查询了这些内容,但并没有查到有关这些接口的信息。
十分期待您的回复!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.