Packet descriptions
This commit is contained in:
32
lib/classes/packets/TransferInventory.ts
Normal file
32
lib/classes/packets/TransferInventory.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 TransferInventoryPacket implements Packet
|
||||
{
|
||||
name = 'TransferInventory';
|
||||
flags = MessageFlags.Trusted | MessageFlags.Zerocoded | MessageFlags.FrequencyLow;
|
||||
id = 4294902055;
|
||||
|
||||
InfoBlock: {
|
||||
SourceID: UUID;
|
||||
DestID: UUID;
|
||||
TransactionID: UUID;
|
||||
};
|
||||
InventoryBlock: {
|
||||
InventoryID: UUID;
|
||||
Type: number;
|
||||
}[];
|
||||
ValidationBlock: {
|
||||
NeedsValidation: boolean;
|
||||
EstateID: number;
|
||||
};
|
||||
|
||||
getSize(): number
|
||||
{
|
||||
return ((17) * this.InventoryBlock.length) + 54;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user