UNPKG

lol-api-js

Version:

Integration package LoL Riot API and your typescript/javascript

22 lines 806 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var League = /** @class */ (function () { function League(jsonObj) { this.leagueId = jsonObj.leagueId; this.summonerId = jsonObj.summonerId; this.summonerName = jsonObj.summonerName; this.queueType = jsonObj.queueType; this.tier = jsonObj.tier; this.rank = jsonObj.rank; this.leaguePoints = jsonObj.leaguePoints; this.wins = jsonObj.wins; this.losses = jsonObj.losses; this.hotStreak = jsonObj.hotStreak; this.veteran = jsonObj.veteran; this.freshBlood = jsonObj.freshBlood; this.inactive = jsonObj.inactive; } return League; }()); exports.default = League; //# sourceMappingURL=league.js.map