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

@@ -28,16 +28,25 @@ export class UUID
+ hexString.substr(16, 4) + '-'
+ hexString.substr(20, 12));
}
else
{
console.error('Can\'t accept UUIDs of type ' + typeof buf);
}
}
}
public setUUID(val: string): boolean
{
if (validator.isUUID(val, 4))
const test = val.trim();
if (validator.isUUID(test))
{
this.mUUID = val;
this.mUUID = test;
return true;
}
else
{
console.log('Invalid UUID: ' + test + ' (length ' + val.length + ')');
}
return false;
}