Packet descriptions
This commit is contained in:
29
lib/classes/packets/ScriptQuestion.ts
Normal file
29
lib/classes/packets/ScriptQuestion.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 ScriptQuestionPacket implements Packet
|
||||
{
|
||||
name = 'ScriptQuestion';
|
||||
flags = MessageFlags.Trusted | MessageFlags.FrequencyLow;
|
||||
id = 4294901948;
|
||||
|
||||
Data: {
|
||||
TaskID: UUID;
|
||||
ItemID: UUID;
|
||||
ObjectName: string;
|
||||
ObjectOwner: string;
|
||||
Questions: number;
|
||||
};
|
||||
Experience: {
|
||||
ExperienceID: UUID;
|
||||
};
|
||||
|
||||
getSize(): number
|
||||
{
|
||||
return (this.Data['ObjectName'].length + 1 + this.Data['ObjectOwner'].length + 1) + 52;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user