Packet descriptions
This commit is contained in:
29
lib/classes/packets/ObjectAttach.ts
Normal file
29
lib/classes/packets/ObjectAttach.ts
Normal file
@@ -0,0 +1,29 @@
|
||||
// This file has been automatically generated by writePacketClasses.js
|
||||
|
||||
import {UUID} from '../UUID';
|
||||
import {Quaternion} from '../Quaternion';
|
||||
import {MessageFlags} from '../../enums/MessageFlags';
|
||||
import {Packet} from '../Packet';
|
||||
|
||||
export class ObjectAttachPacket implements Packet
|
||||
{
|
||||
name = 'ObjectAttach';
|
||||
flags = MessageFlags.Zerocoded | MessageFlags.FrequencyLow;
|
||||
id = 4294901872;
|
||||
|
||||
AgentData: {
|
||||
AgentID: UUID;
|
||||
SessionID: UUID;
|
||||
AttachmentPoint: number;
|
||||
};
|
||||
ObjectData: {
|
||||
ObjectLocalID: number;
|
||||
Rotation: Quaternion;
|
||||
}[];
|
||||
|
||||
getSize(): number
|
||||
{
|
||||
return ((16) * this.ObjectData.length) + 34;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user