Packet descriptions
This commit is contained in:
24
lib/classes/packets/PreloadSound.ts
Normal file
24
lib/classes/packets/PreloadSound.ts
Normal file
@@ -0,0 +1,24 @@
|
||||
// This file has been automatically generated by writePacketClasses.js
|
||||
|
||||
import {UUID} from '../UUID';
|
||||
import {MessageFlags} from '../../enums/MessageFlags';
|
||||
import {Packet} from '../Packet';
|
||||
|
||||
export class PreloadSoundPacket implements Packet
|
||||
{
|
||||
name = 'PreloadSound';
|
||||
flags = MessageFlags.Trusted | MessageFlags.FrequencyMedium;
|
||||
id = 65295;
|
||||
|
||||
DataBlock: {
|
||||
ObjectID: UUID;
|
||||
OwnerID: UUID;
|
||||
SoundID: UUID;
|
||||
}[];
|
||||
|
||||
getSize(): number
|
||||
{
|
||||
return ((48) * this.DataBlock.length) + 1;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user