UNPKG

node-insim

Version:

An InSim library for NodeJS with TypeScript support

30 lines (29 loc) 697 B
import { __decorate } from "tslib"; import { byte } from '../decorators'; import { Packet } from './base'; import { PacketType } from './enums'; /** * PLayer Leave race (spectate - removed from player list) */ export class IS_PLL extends Packet { constructor() { super(...arguments); this.Size = 4; this.Type = PacketType.ISP_PLL; this.ReqI = 0; /** Player's unique id */ this.PLID = 0; } } __decorate([ byte() ], IS_PLL.prototype, "Size", void 0); __decorate([ byte() ], IS_PLL.prototype, "Type", void 0); __decorate([ byte() ], IS_PLL.prototype, "ReqI", void 0); __decorate([ byte() ], IS_PLL.prototype, "PLID", void 0);