Packet descriptions
This commit is contained in:
29
lib/classes/packets/ScriptDialogReply.ts
Normal file
29
lib/classes/packets/ScriptDialogReply.ts
Normal file
@@ -0,0 +1,29 @@
|
||||
// This file has been automatically generated by writePacketClasses.js
|
||||
|
||||
import {UUID} from '../UUID';
|
||||
import {MessageFlags} from '../../enums/MessageFlags';
|
||||
import {Packet} from '../Packet';
|
||||
|
||||
export class ScriptDialogReplyPacket implements Packet
|
||||
{
|
||||
name = 'ScriptDialogReply';
|
||||
flags = MessageFlags.Zerocoded | MessageFlags.FrequencyLow;
|
||||
id = 4294901951;
|
||||
|
||||
AgentData: {
|
||||
AgentID: UUID;
|
||||
SessionID: UUID;
|
||||
};
|
||||
Data: {
|
||||
ObjectID: UUID;
|
||||
ChatChannel: number;
|
||||
ButtonIndex: number;
|
||||
ButtonLabel: string;
|
||||
};
|
||||
|
||||
getSize(): number
|
||||
{
|
||||
return (this.Data['ButtonLabel'].length + 1) + 56;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user