Commit 160c8f96 authored by nanahira's avatar nanahira

fix lib

parent 9f3043ff
......@@ -27,6 +27,20 @@ class Handler {
class YGOProMessagesHelper {
constructor() {
this.handlers = {
STOC: [{},
{},
{},
{},
{},
],
CTOS: [{},
{},
{},
{},
{},
]
}
this.initDatas();
this.initStructs();
}
......@@ -39,6 +53,7 @@ class YGOProMessagesHelper {
}
initStructs() {
this.structs = {};
for (let name in this.structs_declaration ) {
const declaration = this.structs_declaration [name];
let result = Struct();
......@@ -232,20 +247,4 @@ class YGOProMessagesHelper {
}
YGOProMessagesHelper.prototype.structs = {}
YGOProMessagesHelper.prototype.handlers = {
STOC: [{},
{},
{},
{},
{},
],
CTOS: [{},
{},
{},
{},
{},
]
}
module.exports = YGOProMessagesHelper;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment