From 3fb9f748adadbd74fa58a4410ed1082da9424936 Mon Sep 17 00:00:00 2001 From: gumi Date: Fri, 15 May 2020 12:07:46 -0400 Subject: set legacy variables in ported chars --- src/routers/vault/types/GameAccount.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/routers/vault/types/GameAccount.js') diff --git a/src/routers/vault/types/GameAccount.js b/src/routers/vault/types/GameAccount.js index fa94808..87f5336 100644 --- a/src/routers/vault/types/GameAccount.js +++ b/src/routers/vault/types/GameAccount.js @@ -1,3 +1,5 @@ +const Char = require("./Char.js"); + /** * represents a generic game account */ @@ -8,7 +10,9 @@ module.exports = class GameAccount { userid = ""; /** the email address associated with the account */ email = null; - /** Char[] */ + /** game characters + * @type {Char[]} + */ chars = []; /** the last time the account logged in */ lastLogin = null; -- cgit v1.2.3-60-g2f50