This commit is contained in:
zongor 2024-05-27 18:28:27 -04:00
parent f26ead177a
commit 43eef69b4b
2 changed files with 1 additions and 3 deletions

View File

@ -5,7 +5,6 @@ class Entity {
set Name(v) { set Name(v) {
this._data.set(this._encoder.encode(v), 0); this._data.set(this._encoder.encode(v), 0);
} }
get Strength() { get Strength() {
return this._data.getInt32(24, true); return this._data.getInt32(24, true);
} }

View File

@ -115,8 +115,7 @@ for (const type of Object.keys(schema)) {
} }
set ${prop}(v) { set ${prop}(v) {
this._data.set(this._encoder.encode(v), ${parseInt(offset)}); this._data.set(this._encoder.encode(v), ${parseInt(offset)});
} }`;
`;
cData += ` cData += `
char ${prop}[${iSize}];`; char ${prop}[${iSize}];`;