Teleports, Asset upload / download, Restructure stuff, Fix varlength read bug, BVH parser, agent initial appearance and animation glitches, LLSD + Caps + Event queue

This commit is contained in:
Casper Warden
2017-11-30 04:11:59 +00:00
parent fc6d77a893
commit d0658438b9
247 changed files with 3470 additions and 459 deletions

View File

@@ -57,16 +57,16 @@ export class InternalScriptMailMessage implements MessageBase
Body: Buffer.allocUnsafe(0)
};
varLength = buf.readUInt8(pos++);
newObjDataBlock['From'] = buf.slice(pos, pos + (varLength - 1));
newObjDataBlock['From'] = buf.slice(pos, pos + varLength);
pos += varLength;
newObjDataBlock['To'] = new UUID(buf, pos);
pos += 16;
varLength = buf.readUInt8(pos++);
newObjDataBlock['Subject'] = buf.slice(pos, pos + (varLength - 1));
newObjDataBlock['Subject'] = buf.slice(pos, pos + varLength);
pos += varLength;
varLength = buf.readUInt16LE(pos);
pos += 2;
newObjDataBlock['Body'] = buf.slice(pos, pos + (varLength - 1));
newObjDataBlock['Body'] = buf.slice(pos, pos + varLength);
pos += varLength;
this.DataBlock = newObjDataBlock;
return pos - startPos;