node-insim
Version:
An InSim library for NodeJS with TypeScript support
47 lines (46 loc) • 1.02 kB
JavaScript
import { __decorate } from "tslib";
import { byte } from '../decorators';
import { Packet } from './base';
import { PacketType } from './enums';
/**
* Camera CHange
*/
export class IS_CCH extends Packet {
constructor() {
super(...arguments);
this.Size = 8;
this.Type = PacketType.ISP_CCH;
this.ReqI = 0;
/** Player's unique id */
this.PLID = 0;
/** View identifier */
this.Camera = 0;
this.Sp1 = 0;
this.Sp2 = 0;
this.Sp3 = 0;
}
}
__decorate([
byte()
], IS_CCH.prototype, "Size", void 0);
__decorate([
byte()
], IS_CCH.prototype, "Type", void 0);
__decorate([
byte()
], IS_CCH.prototype, "ReqI", void 0);
__decorate([
byte()
], IS_CCH.prototype, "PLID", void 0);
__decorate([
byte()
], IS_CCH.prototype, "Camera", void 0);
__decorate([
byte()
], IS_CCH.prototype, "Sp1", void 0);
__decorate([
byte()
], IS_CCH.prototype, "Sp2", void 0);
__decorate([
byte()
], IS_CCH.prototype, "Sp3", void 0);