Packet descriptions
This commit is contained in:
38
lib/classes/packets/AvatarAppearance.ts
Normal file
38
lib/classes/packets/AvatarAppearance.ts
Normal file
@@ -0,0 +1,38 @@
|
||||
// This file has been automatically generated by writePacketClasses.js
|
||||
|
||||
import {UUID} from '../UUID';
|
||||
import {Vector3} from '../Vector3';
|
||||
import {MessageFlags} from '../../enums/MessageFlags';
|
||||
import {Packet} from '../Packet';
|
||||
|
||||
export class AvatarAppearancePacket implements Packet
|
||||
{
|
||||
name = 'AvatarAppearance';
|
||||
flags = MessageFlags.Trusted | MessageFlags.Zerocoded | MessageFlags.FrequencyLow;
|
||||
id = 4294901918;
|
||||
|
||||
Sender: {
|
||||
ID: UUID;
|
||||
IsTrial: boolean;
|
||||
};
|
||||
ObjectData: {
|
||||
TextureEntry: string;
|
||||
};
|
||||
VisualParam: {
|
||||
ParamValue: number;
|
||||
}[];
|
||||
AppearanceData: {
|
||||
AppearanceVersion: number;
|
||||
CofVersion: number;
|
||||
Flags: number;
|
||||
}[];
|
||||
AppearanceHover: {
|
||||
HoverHeight: Vector3;
|
||||
}[];
|
||||
|
||||
getSize(): number
|
||||
{
|
||||
return (this.ObjectData['TextureEntry'].length + 2) + ((1) * this.VisualParam.length) + ((9) * this.AppearanceData.length) + ((12) * this.AppearanceHover.length) + 20;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user