UNPKG

node-insim

Version:

An InSim library for NodeJS with TypeScript support

34 lines (33 loc) 819 B
import { __decorate } from "tslib"; import { float } from '../decorators'; import { Struct } from '../packets'; export class OutSimInputs extends Struct { constructor() { super(...arguments); /** 0 to 1 */ this.Throttle = 0; /** 0 to 1 */ this.Brake = 0; /** radians */ this.InputSteer = 0; /** 0 to 1 */ this.Clutch = 0; /** 0 to 1 */ this.Handbrake = 0; } } __decorate([ float() ], OutSimInputs.prototype, "Throttle", void 0); __decorate([ float() ], OutSimInputs.prototype, "Brake", void 0); __decorate([ float() ], OutSimInputs.prototype, "InputSteer", void 0); __decorate([ float() ], OutSimInputs.prototype, "Clutch", void 0); __decorate([ float() ], OutSimInputs.prototype, "Handbrake", void 0);