summaryrefslogtreecommitdiff
path: root/src/routers/vault/types/LegacyAccount.js
diff options
context:
space:
mode:
authorgumi <git@gumi.ca>2020-05-15 12:07:46 -0400
committergumi <git@gumi.ca>2020-05-15 12:43:23 -0400
commit3fb9f748adadbd74fa58a4410ed1082da9424936 (patch)
treeb22f2231c5821d48d35eded1139fbcb02acddad7 /src/routers/vault/types/LegacyAccount.js
parent68ad5ad9782c225cb98c13d66d6e593110ef8a28 (diff)
downloadapi-3fb9f748adadbd74fa58a4410ed1082da9424936.tar.gz
api-3fb9f748adadbd74fa58a4410ed1082da9424936.tar.bz2
api-3fb9f748adadbd74fa58a4410ed1082da9424936.tar.xz
api-3fb9f748adadbd74fa58a4410ed1082da9424936.zip
set legacy variables in ported chars
Diffstat (limited to 'src/routers/vault/types/LegacyAccount.js')
-rw-r--r--src/routers/vault/types/LegacyAccount.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/routers/vault/types/LegacyAccount.js b/src/routers/vault/types/LegacyAccount.js
index 747e6df..0e1bc62 100644
--- a/src/routers/vault/types/LegacyAccount.js
+++ b/src/routers/vault/types/LegacyAccount.js
@@ -1,4 +1,5 @@
const GameAccount = require("./GameAccount.js");
+const LegacyChar = require("./LegacyChar.js");
/**
* represents a Legacy game account
@@ -8,6 +9,10 @@ module.exports = class LegacyAccount extends GameAccount {
revoltId = null;
/** reference to the EvolAccount of the target evol account */
revoltAccount = null;
+ /** Legacy game characters
+ * @type {LegacyChar[]}
+ */
+ chars = [];
/**
* serialize for sending over the network