UNPKG

ggejs

Version:

A powerful JavaScript library for interacting with the server of Goodgame Empire: Four Kingdoms

18 lines (13 loc) 385 B
const ActiveEvent = require("./ActiveEvent"); class RatingEvent extends ActiveEvent { /** @type {number} */ showingChance; loadFromParamObject(client, data) { super.loadFromParamObject(client, data); this.showingChance = data["CH"]; } get mainDialogName() { return "RatingsDialog"; } } module.exports = RatingEvent;