node-insim
Version:
An InSim library for NodeJS with TypeScript support
39 lines (38 loc) • 883 B
JavaScript
import { __decorate } from "tslib";
import { byte, word } from '../decorators';
import { Packet } from './base';
import { PacketType } from './enums';
/**
* Player FLags (help flags changed)
*/
export class IS_PFL extends Packet {
constructor() {
super(...arguments);
this.Size = 8;
this.Type = PacketType.ISP_PFL;
this.ReqI = 0;
/** Player's unique id */
this.PLID = 0;
/** Player flags */
this.Flags = 0;
this.Spare = 0;
}
}
__decorate([
byte()
], IS_PFL.prototype, "Size", void 0);
__decorate([
byte()
], IS_PFL.prototype, "Type", void 0);
__decorate([
byte()
], IS_PFL.prototype, "ReqI", void 0);
__decorate([
byte()
], IS_PFL.prototype, "PLID", void 0);
__decorate([
word()
], IS_PFL.prototype, "Flags", void 0);
__decorate([
word()
], IS_PFL.prototype, "Spare", void 0);