Add locale data class
This commit is contained in:
@@ -8,6 +8,21 @@
|
|||||||
// TYPE: Server (JavaScript)
|
// TYPE: Server (JavaScript)
|
||||||
// ===========================================================================
|
// ===========================================================================
|
||||||
|
|
||||||
|
class LocaleData {
|
||||||
|
constructor() {
|
||||||
|
this.id = 0;
|
||||||
|
this.name = "";
|
||||||
|
this.englishName = "";
|
||||||
|
this.stringsFile = "";
|
||||||
|
this.flagImagePath = "";
|
||||||
|
this.contributors = "";
|
||||||
|
this.countries = [];
|
||||||
|
this.requiresUnicode = false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// ===========================================================================
|
||||||
|
|
||||||
function initLocaleScript() {
|
function initLocaleScript() {
|
||||||
logToConsole(LOG_INFO, "[VRR.Locale]: Initializing locale script ...");
|
logToConsole(LOG_INFO, "[VRR.Locale]: Initializing locale script ...");
|
||||||
logToConsole(LOG_INFO, "[VRR.Locale]: Locale script initialized!");
|
logToConsole(LOG_INFO, "[VRR.Locale]: Locale script initialized!");
|
||||||
|
|||||||
Reference in New Issue
Block a user