Packet descriptions

This commit is contained in:
Casper Warden
2017-11-24 03:32:37 +00:00
parent 0325c51f40
commit cbfb54d4fe
478 changed files with 14551 additions and 0 deletions

View 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;
}
}