node-insim
Version:
An InSim library for NodeJS with TypeScript support
32 lines (31 loc) • 715 B
JavaScript
import { __decorate } from "tslib";
import { byte } from '../decorators';
import { Packet } from './base';
import { PacketType } from './enums';
/**
* Admin Response
*
* The Relay will reply to admin status request.
*/
export class IR_ARP extends Packet {
constructor() {
super(...arguments);
this.Size = 4;
this.Type = PacketType.IRP_ARP;
this.ReqI = 0;
/** 0 - no admin; 1 - admin */
this.Admin = 0;
}
}
__decorate([
byte()
], IR_ARP.prototype, "Size", void 0);
__decorate([
byte()
], IR_ARP.prototype, "Type", void 0);
__decorate([
byte()
], IR_ARP.prototype, "ReqI", void 0);
__decorate([
byte()
], IR_ARP.prototype, "Admin", void 0);