rock-mod
Version:
Rock-Mod is a powerful framework designed for creating and managing mods for Grand Theft Auto (GTA) games.
27 lines (26 loc) • 532 B
JavaScript
export class RageBaseObject {
get id() {
return this._mpEntity.id;
}
get remoteId() {
return this.mpEntity.remoteId;
}
get handle() {
return this.mpEntity.handle;
}
get type() {
return this._mpEntity.type;
}
get isExists() {
return this._mpEntity.isExists();
}
destroy() {
this.mpEntity.destroy();
}
get mpEntity() {
return this._mpEntity;
}
constructor(options) {
this._mpEntity = options.mpEntity;
}
}