Packet descriptions
This commit is contained in:
30
lib/classes/packets/StartGroupProposal.ts
Normal file
30
lib/classes/packets/StartGroupProposal.ts
Normal file
@@ -0,0 +1,30 @@
|
||||
// This file has been automatically generated by writePacketClasses.js
|
||||
|
||||
import {UUID} from '../UUID';
|
||||
import {MessageFlags} from '../../enums/MessageFlags';
|
||||
import {Packet} from '../Packet';
|
||||
|
||||
export class StartGroupProposalPacket implements Packet
|
||||
{
|
||||
name = 'StartGroupProposal';
|
||||
flags = MessageFlags.Zerocoded | MessageFlags.Deprecated | MessageFlags.FrequencyLow;
|
||||
id = 4294902123;
|
||||
|
||||
AgentData: {
|
||||
AgentID: UUID;
|
||||
SessionID: UUID;
|
||||
};
|
||||
ProposalData: {
|
||||
GroupID: UUID;
|
||||
Quorum: number;
|
||||
Majority: number;
|
||||
Duration: number;
|
||||
ProposalText: string;
|
||||
};
|
||||
|
||||
getSize(): number
|
||||
{
|
||||
return (this.ProposalData['ProposalText'].length + 1) + 60;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user