ggejs
Version:
A powerful JavaScript library for interacting with the server of Goodgame Empire: Four Kingdoms
14 lines (13 loc) • 413 B
JavaScript
class AllianceStatusListItem {
constructor(client, data) {
/** @type {number} */
this.allianceId = data.AID;
/** @type {string} */
this.allianceName = data.AN;
/** @type {number} */
this.allianceStatus = data.AS;
/** @type {boolean} */
this.allianceStatusConfirmed = data.AC === 1;
};
}
module.exports = AllianceStatusListItem;