node-insim
Version:
An InSim library for NodeJS with TypeScript support
20 lines (19 loc) • 508 B
JavaScript
import { __decorate } from "tslib";
import { byte } from '../../decorators';
import { SendableStruct } from '../base';
export class CarHCP extends SendableStruct {
constructor(data) {
super();
/** 0 to 200 - added mass (kg) */
this.H_Mass = 0;
/** 0 to 50 - intake restriction */
this.H_TRes = 0;
this.initialize(data);
}
}
__decorate([
byte()
], CarHCP.prototype, "H_Mass", void 0);
__decorate([
byte()
], CarHCP.prototype, "H_TRes", void 0);