Packet descriptions
This commit is contained in:
29
lib/classes/packets/FindAgent.ts
Normal file
29
lib/classes/packets/FindAgent.ts
Normal file
@@ -0,0 +1,29 @@
|
||||
// This file has been automatically generated by writePacketClasses.js
|
||||
|
||||
import {UUID} from '../UUID';
|
||||
import {IPAddress} from '../IPAddress';
|
||||
import {MessageFlags} from '../../enums/MessageFlags';
|
||||
import {Packet} from '../Packet';
|
||||
|
||||
export class FindAgentPacket implements Packet
|
||||
{
|
||||
name = 'FindAgent';
|
||||
flags = MessageFlags.FrequencyLow;
|
||||
id = 4294902016;
|
||||
|
||||
AgentBlock: {
|
||||
Hunter: UUID;
|
||||
Prey: UUID;
|
||||
SpaceIP: IPAddress;
|
||||
};
|
||||
LocationBlock: {
|
||||
GlobalX: number;
|
||||
GlobalY: number;
|
||||
}[];
|
||||
|
||||
getSize(): number
|
||||
{
|
||||
return ((16) * this.LocationBlock.length) + 37;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user