Packet descriptions

This commit is contained in:
Casper Warden
2017-11-24 03:32:37 +00:00
parent 0325c51f40
commit cbfb54d4fe
478 changed files with 14551 additions and 0 deletions

View File

@@ -0,0 +1,32 @@
// This file has been automatically generated by writePacketClasses.js
import {UUID} from '../UUID';
import {MessageFlags} from '../../enums/MessageFlags';
import {Packet} from '../Packet';
export class AvatarPropertiesUpdatePacket implements Packet
{
name = 'AvatarPropertiesUpdate';
flags = MessageFlags.Zerocoded | MessageFlags.FrequencyLow;
id = 4294901934;
AgentData: {
AgentID: UUID;
SessionID: UUID;
};
PropertiesData: {
ImageID: UUID;
FLImageID: UUID;
AboutText: string;
FLAboutText: string;
AllowPublish: boolean;
MaturePublish: boolean;
ProfileURL: string;
};
getSize(): number
{
return (this.PropertiesData['AboutText'].length + 2 + this.PropertiesData['FLAboutText'].length + 1 + this.PropertiesData['ProfileURL'].length + 1) + 66;
}
}