30 lines
635 B
TypeScript
30 lines
635 B
TypeScript
// 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;
|
|
}
|
|
|
|
}
|