UNPKG

node-insim

Version:

An InSim library for NodeJS with TypeScript support

30 lines (29 loc) 651 B
import { __decorate } from "tslib"; import { byte } from '../decorators'; import { Packet } from './base'; import { PacketType } from './enums'; /** * Car ReSet */ export class IS_CRS extends Packet { constructor() { super(...arguments); this.Size = 4; this.Type = PacketType.ISP_CRS; this.ReqI = 0; /** Player's unique id */ this.PLID = 0; } } __decorate([ byte() ], IS_CRS.prototype, "Size", void 0); __decorate([ byte() ], IS_CRS.prototype, "Type", void 0); __decorate([ byte() ], IS_CRS.prototype, "ReqI", void 0); __decorate([ byte() ], IS_CRS.prototype, "PLID", void 0);