rock-mod
Version:
Rock-Mod is a powerful framework designed for creating and managing mods for Grand Theft Auto (GTA) games.
29 lines (28 loc) • 853 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.CCMPEntity = void 0;
const CCMPWorldObject_1 = require("../worldObject/CCMPWorldObject");
const notImplemented = (name) => {
throw new Error(`Not implemented yet: ${name}`);
};
class CCMPEntity extends CCMPWorldObject_1.CCMPWorldObject {
get model() {
return notImplemented("CCMPEntity.model");
}
get rotation() {
return notImplemented("CCMPEntity.rotation");
}
setModel(_value) {
notImplemented("CCMPEntity.setModel");
}
setRotation(_value) {
notImplemented("CCMPEntity.setRotation");
}
getNetData(name) {
return this.ccmpMeta.getStreamSyncedMeta(name);
}
setNetData(name, value) {
this.ccmpMeta.setStreamSyncedMeta(name, value);
}
}
exports.CCMPEntity = CCMPEntity;