Added int and vw to sacct class
This commit is contained in:
@@ -136,6 +136,9 @@ function initClassTable() {
|
|||||||
|
|
||||||
this.weapons = [];
|
this.weapons = [];
|
||||||
this.inJail = false;
|
this.inJail = false;
|
||||||
|
|
||||||
|
this.interior = 0;
|
||||||
|
this.dimension = 0;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
businessData: class {
|
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;
|
return tempClasses;
|
||||||
|
|||||||
Reference in New Issue
Block a user