Packet descriptions
This commit is contained in:
25
lib/classes/packets/ScriptMailRegistration.ts
Normal file
25
lib/classes/packets/ScriptMailRegistration.ts
Normal 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 ScriptMailRegistrationPacket implements Packet
|
||||
{
|
||||
name = 'ScriptMailRegistration';
|
||||
flags = MessageFlags.Trusted | MessageFlags.FrequencyLow;
|
||||
id = 4294902178;
|
||||
|
||||
DataBlock: {
|
||||
TargetIP: string;
|
||||
TargetPort: number;
|
||||
TaskID: UUID;
|
||||
Flags: number;
|
||||
};
|
||||
|
||||
getSize(): number
|
||||
{
|
||||
return (this.DataBlock['TargetIP'].length + 1) + 22;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user