rock-mod 0.8.1 → 0.8.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.RageBaseObject = void 0;
|
|
4
4
|
// RAGEMP BUG: event 'entityDestroyed' is not callable
|
|
5
|
-
const unsupportedRageEntityTypes = new Set(["blip", "colshape", "object"]);
|
|
5
|
+
const unsupportedRageEntityTypes = new Set(["blip", "colshape", "object", "vehicle"]);
|
|
6
6
|
class RageBaseObject {
|
|
7
7
|
_mpEntity;
|
|
8
8
|
get id() {
|
package/dist/server/index.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export * from "./RockMod";
|
|
2
|
-
export
|
|
2
|
+
export { IRGBA as IRockModRGBA, RGBA as RockModRGBA } from "./common/utils/color";
|
|
3
|
+
export { IVector2D as IRockModVector2D, IVector3D as IRockModVector3D, Vector2D as RockModVector2D, Vector3D as RockModVector3D, } from "./common/utils/math";
|
|
3
4
|
export { BaseObjectType, IBaseObject as IRockModBaseObject, IBlip as IRockModBlip, IColshape as IRockModColshape, IEntity as IRockModEntity, IMarker as IRockModMarker, IObject as IRockModObject, IPed as IRockModPed, IPlayer as IRockModPlayer, IVehicle as IRockModVehicle, IWorldObject as IRockModWorldObject, } from "./entities";
|
|
4
5
|
export { INetServerEvents, INetClientEvents } from "./net/common/events/IEventsManager";
|
|
5
6
|
export { INetServerRPC, INetClientRPC } from "./net/common/rpc/IRPCManager";
|
package/dist/server/index.js
CHANGED
|
@@ -14,9 +14,13 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
exports.BaseObjectType = void 0;
|
|
17
|
+
exports.BaseObjectType = exports.RockModVector3D = exports.RockModVector2D = exports.RockModRGBA = void 0;
|
|
18
18
|
__exportStar(require("./RockMod"), exports);
|
|
19
|
-
|
|
19
|
+
var color_1 = require("./common/utils/color");
|
|
20
|
+
Object.defineProperty(exports, "RockModRGBA", { enumerable: true, get: function () { return color_1.RGBA; } });
|
|
21
|
+
var math_1 = require("./common/utils/math");
|
|
22
|
+
Object.defineProperty(exports, "RockModVector2D", { enumerable: true, get: function () { return math_1.Vector2D; } });
|
|
23
|
+
Object.defineProperty(exports, "RockModVector3D", { enumerable: true, get: function () { return math_1.Vector3D; } });
|
|
20
24
|
var entities_1 = require("./entities");
|
|
21
25
|
Object.defineProperty(exports, "BaseObjectType", { enumerable: true, get: function () { return entities_1.BaseObjectType; } });
|
|
22
26
|
__exportStar(require("./testing"), exports);
|
package/package.json
CHANGED