Packet descriptions
This commit is contained in:
31
lib/classes/packets/CoarseLocationUpdate.ts
Normal file
31
lib/classes/packets/CoarseLocationUpdate.ts
Normal file
@@ -0,0 +1,31 @@
|
||||
// This file has been automatically generated by writePacketClasses.js
|
||||
|
||||
import {UUID} from '../UUID';
|
||||
import {MessageFlags} from '../../enums/MessageFlags';
|
||||
import {Packet} from '../Packet';
|
||||
|
||||
export class CoarseLocationUpdatePacket implements Packet
|
||||
{
|
||||
name = 'CoarseLocationUpdate';
|
||||
flags = MessageFlags.Trusted | MessageFlags.FrequencyMedium;
|
||||
id = 65286;
|
||||
|
||||
Location: {
|
||||
X: number;
|
||||
Y: number;
|
||||
Z: number;
|
||||
}[];
|
||||
Index: {
|
||||
You: number;
|
||||
Prey: number;
|
||||
};
|
||||
AgentData: {
|
||||
AgentID: UUID;
|
||||
}[];
|
||||
|
||||
getSize(): number
|
||||
{
|
||||
return ((3) * this.Location.length) + ((16) * this.AgentData.length) + 6;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user