UNPKG

enkanetwork

Version:

API wrapper for enka.network written on TypeScript which provides localization, caching and convenience

24 lines (23 loc) 640 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.FetchEnkaHoyo = void 0; const index_1 = require("../index"); class FetchEnkaHoyo { uidPublic; public; verified; player; hash; region; order; constructor(assets, language, data) { this.uidPublic = data.uid_public; this.public = data.public; this.verified = data.verified; this.player = new index_1.PlayerInfo(assets, language, data.player_info); this.hash = data.hash; this.region = data.region; this.order = data.order; } } exports.FetchEnkaHoyo = FetchEnkaHoyo;