Git Product home page Git Product logo

vscode-league-respawn-timer's Introduction

image

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

English | 简体中文

Version Installs Ratings Stars License

Why did I make this extension?

I play League of Legends and work on projects related to the game. To enhance my productivity, I'm planning to develop an extension that allows me to code and enjoy the game seamlessly.

🕹️ Features

  • Display player respawn time

🔧 How to use

  1. Install this extension.
  2. Launch your LeagueClient and start your game. When you are in the game, your SummonerName will be displayed in the status bar. Upon death, your respawn time will be displayed in the status bar instead of your SummonerName.

🪣 Commands

Press Ctrl+Shift+P to open the command palette, type League Respawn Timer and select the command you want to run.

  • league-respawn-timer.enable-timer: Enable this extension.
  • league-respawn-timer.disable-timer: Disable this extension.
  • league-respawn-timer.show-menu: Show the menu.

🛠️ Configuration

Name Type Default Description
league-respawn-timer.enable Boolean true Enable or disable this plugin
league-respawn-timer.enable-notification Boolean true Enable or disable notification

LICENSE

This extension is licensed under the MIT

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.