33 lines
873 B
TypeScript
33 lines
873 B
TypeScript
// 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;
|
|
}
|
|
|
|
}
|