UNPKG

rock-mod

Version:

Rock-Mod is a powerful framework designed for creating and managing mods for Grand Theft Auto (GTA) games.

21 lines (20 loc) 627 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.RageColshape = void 0; const RageWorldObject_1 = require("../worldObject/RageWorldObject"); class RageColshape extends RageWorldObject_1.RageWorldObject { constructor(options) { super(options); } get key() { const value = this.getNetData("key"); return typeof value === "string" ? value : undefined; } getNetData(name) { return this.mpEntity.getVariable(name); } setNetData(name, value) { this.mpEntity.setVariable(name, value); } } exports.RageColshape = RageColshape;