This commit is contained in:
Reece Wilson 2019-07-10 17:13:13 +01:00
parent 04b5009030
commit 5d1e8ba4b3

View File

@ -4,8 +4,8 @@ function notImpl(reader) {
function TypeTNIL() { function TypeTNIL() {
this.value = undefined; this.value = undefined;
this.tname = TypeTNIL.tname; this.tname = TypeTNIL.tname;
this.id = TypeTNIL.id; this.id = TypeTNIL.id;
} }
TypeTNIL.id = 0; TypeTNIL.id = 0;
@ -17,8 +17,8 @@ TypeTNIL.prototype.undump = function () {};
function TypeTBOOLEAN() { function TypeTBOOLEAN() {
this.value = undefined; this.value = undefined;
this.tname = TypeTBOOLEAN.tname; this.tname = TypeTBOOLEAN.tname;
this.id = TypeTBOOLEAN.id; this.id = TypeTBOOLEAN.id;
} }
TypeTBOOLEAN.id = 1; TypeTBOOLEAN.id = 1;
@ -38,8 +38,8 @@ TypeTBOOLEAN.prototype.undump = function (reader, ctx) {
function TypeTLIGHTUSERDATA() { function TypeTLIGHTUSERDATA() {
this.value = undefined; this.value = undefined;
this.tname = TypeTLIGHTUSERDATA.tname; this.tname = TypeTLIGHTUSERDATA.tname;
this.id = TypeTLIGHTUSERDATA.id; this.id = TypeTLIGHTUSERDATA.id;
} }
TypeTLIGHTUSERDATA.id = 2; TypeTLIGHTUSERDATA.id = 2;
@ -49,8 +49,8 @@ TypeTLIGHTUSERDATA.prototype.undump = notImpl;
function TypeTNUMBER() { function TypeTNUMBER() {
this.value = undefined; this.value = undefined;
this.tname = TypeTNUMBER.tname; this.tname = TypeTNUMBER.tname;
this.id = TypeTNUMBER.id; this.id = TypeTNUMBER.id;
} }
TypeTNUMBER.id = 3; TypeTNUMBER.id = 3;
@ -70,8 +70,8 @@ TypeTNUMBER.prototype.undump = function (reader, ctx) {
function TypeTSTRING() { function TypeTSTRING() {
this.value = undefined; this.value = undefined;
this.tname = TypeTSTRING.tname; this.tname = TypeTSTRING.tname;
this.id = TypeTSTRING.id; this.id = TypeTSTRING.id;
} }
TypeTSTRING.id = 4; TypeTSTRING.id = 4;