More JSDoc
This commit is contained in:
@@ -23,11 +23,15 @@ class ClanData {
|
||||
this.colour = COLOUR_WHITE;
|
||||
this.colours = [];
|
||||
this.initialRank = 0;
|
||||
this.members = [];
|
||||
this.ranks = [];
|
||||
this.needsSaved = false;
|
||||
this.motd = false;
|
||||
|
||||
/** @type {Array.<ClanMemberData>} */
|
||||
this.members = [];
|
||||
|
||||
/** @type {Array.<ClanRankData>} */
|
||||
this.ranks = [];
|
||||
|
||||
if (dbAssoc) {
|
||||
this.databaseId = toInteger(dbAssoc["clan_id"]);
|
||||
this.name = dbAssoc["clan_name"];
|
||||
|
||||
@@ -16,12 +16,13 @@ const V_RETURNTO_TYPE_SKINSELECT = 2; // "Return to" data is from skin
|
||||
|
||||
/**
|
||||
* @class Representing extra data for a client
|
||||
* @property {AccountData} accountData
|
||||
* @property {Array.<SubAccountData>} subAccounts
|
||||
*/
|
||||
class ClientData {
|
||||
constructor(client, accountData, subAccounts) {
|
||||
/** @type {AccountData} */
|
||||
this.accountData = accountData;
|
||||
|
||||
/** @type {Array.<SubAccountData>} */
|
||||
this.subAccounts = subAccounts; // Characters
|
||||
|
||||
// General Info
|
||||
|
||||
Reference in New Issue
Block a user