Added int and vw to sacct class

This commit is contained in:
Vortrex
2020-12-21 09:24:05 -06:00
parent af120ff19a
commit 9522e3b945

View File

@@ -136,6 +136,9 @@ function initClassTable() {
this.weapons = [];
this.inJail = false;
this.interior = 0;
this.dimension = 0;
}
},
businessData: class {
@@ -444,6 +447,29 @@ function initClassTable() {
}
}
},
blackListedGameScriptData: class {
constructor(dbAssoc) {
if(!dbAssoc) {
return;
}
this.databaseId = dbAssoc["ac_script_bl_id"];
this.enabled = intToBool(dbAssoc["ac_script_bl_enabled"]);
this.server = dbAssoc["ac_script_bl_server"];
this.scriptName = dbAssoc["ac_script_bl_name"];
}
},
whiteListedGameScriptData: class {
constructor(dbAssoc) {
if(!dbAssoc) {
return;
}
this.databaseId = dbAssoc["ac_script_wl_id"];
this.enabled = intToBool(dbAssoc["ac_script_wl_enabled"]);
this.server = dbAssoc["ac_script_wl_server"];
this.scriptName = dbAssoc["ac_script_wl_name"];
}
},
}
return tempClasses;