ggejs
Version:
A powerful Node.js module for interacting with the server of Goodgame Empire & Goodgame Empire: Four Kingdoms
13 lines (12 loc) • 406 B
JavaScript
const {TitleType} = require("../../utils/Constants");
module.exports.name = "ufa";
/**
* @param {BaseClient} client
* @param {number} errorCode
* @param {Object} params
*/
module.exports.execute = function (client, errorCode, params) {
const cud = client.clientUserData;
cud.setTitlePoints(params["CF"], TitleType.FAME)
cud.setHighestTitlePoints(params["HF"], TitleType.FAME)
}