UNPKG

node-insim

Version:

An InSim library for NodeJS with TypeScript support

32 lines (31 loc) 735 B
import { __decorate } from "tslib"; import { byte } from '../decorators'; import { Packet } from './base'; import { PacketType } from './enums'; /** * AutoX Object * * If an autocross object is hit (2 second time penalty) this packet is sent. */ export class IS_AXO extends Packet { constructor() { super(...arguments); this.Size = 4; this.Type = PacketType.ISP_AXO; this.ReqI = 0; /** Player's unique id */ this.PLID = 0; } } __decorate([ byte() ], IS_AXO.prototype, "Size", void 0); __decorate([ byte() ], IS_AXO.prototype, "Type", void 0); __decorate([ byte() ], IS_AXO.prototype, "ReqI", void 0); __decorate([ byte() ], IS_AXO.prototype, "PLID", void 0);