Packet descriptions

This commit is contained in:
Casper Warden
2017-11-24 03:32:37 +00:00
parent 0325c51f40
commit cbfb54d4fe
478 changed files with 14551 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
// This file has been automatically generated by writePacketClasses.js
import {UUID} from '../UUID';
import {MessageFlags} from '../../enums/MessageFlags';
import {Packet} from '../Packet';
export class InternalScriptMailPacket implements Packet
{
name = 'InternalScriptMail';
flags = MessageFlags.Trusted | MessageFlags.FrequencyMedium;
id = 65296;
DataBlock: {
From: string;
To: UUID;
Subject: string;
Body: string;
};
getSize(): number
{
return (this.DataBlock['From'].length + 1 + this.DataBlock['Subject'].length + 1 + this.DataBlock['Body'].length + 2) + 16;
}
}