Packet descriptions
This commit is contained in:
32
lib/classes/packets/AvatarPropertiesUpdate.ts
Normal file
32
lib/classes/packets/AvatarPropertiesUpdate.ts
Normal 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;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user