@armoury/fivem-roleplay-gamemode-common 1.0.28 → 1.0.30
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.
- package/dist/cjs/shared/models/house/house.js +16 -0
- package/dist/cjs/shared/models/index.js +7 -1
- package/dist/esm/shared/models/house/house.js +13 -0
- package/dist/esm/shared/models/index.js +7 -1
- package/dist/types/shared/models/house/house.d.ts +25 -0
- package/dist/types/shared/models/index.d.ts +7 -1
- package/package.json +1 -1
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.House = void 0;
|
|
4
|
+
var House = /** @class */ (function () {
|
|
5
|
+
function House(id, owner, entrance, exit, originalValue, sellingPrice, rentPrice) {
|
|
6
|
+
this.id = id;
|
|
7
|
+
this.owner = owner;
|
|
8
|
+
this.entrance = entrance;
|
|
9
|
+
this.exit = exit;
|
|
10
|
+
this.originalValue = originalValue;
|
|
11
|
+
this.sellingPrice = sellingPrice;
|
|
12
|
+
this.rentPrice = rentPrice;
|
|
13
|
+
}
|
|
14
|
+
return House;
|
|
15
|
+
}());
|
|
16
|
+
exports.House = House;
|
|
@@ -14,7 +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
|
+
/** Account */
|
|
17
18
|
__exportStar(require("./account"), exports);
|
|
19
|
+
/** Character */
|
|
18
20
|
__exportStar(require("./character"), exports);
|
|
19
|
-
|
|
21
|
+
/** House */
|
|
22
|
+
__exportStar(require("./house/house"), exports);
|
|
23
|
+
/** Item (Deprecated) */
|
|
20
24
|
__exportStar(require("./items"), exports);
|
|
25
|
+
/** Business (Deprecated) */
|
|
26
|
+
__exportStar(require("./businesses"), exports);
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
var House = /** @class */ (function () {
|
|
2
|
+
function House(id, owner, entrance, exit, originalValue, sellingPrice, rentPrice) {
|
|
3
|
+
this.id = id;
|
|
4
|
+
this.owner = owner;
|
|
5
|
+
this.entrance = entrance;
|
|
6
|
+
this.exit = exit;
|
|
7
|
+
this.originalValue = originalValue;
|
|
8
|
+
this.sellingPrice = sellingPrice;
|
|
9
|
+
this.rentPrice = rentPrice;
|
|
10
|
+
}
|
|
11
|
+
return House;
|
|
12
|
+
}());
|
|
13
|
+
export { House };
|
|
@@ -1,4 +1,10 @@
|
|
|
1
|
+
/** Account */
|
|
1
2
|
export * from './account';
|
|
3
|
+
/** Character */
|
|
2
4
|
export * from './character';
|
|
3
|
-
|
|
5
|
+
/** House */
|
|
6
|
+
export * from './house/house';
|
|
7
|
+
/** Item (Deprecated) */
|
|
4
8
|
export * from './items';
|
|
9
|
+
/** Business (Deprecated) */
|
|
10
|
+
export * from './businesses';
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
export interface House {
|
|
2
|
+
readonly id: number;
|
|
3
|
+
readonly owner: number;
|
|
4
|
+
readonly entrance: Position;
|
|
5
|
+
readonly exit: Position;
|
|
6
|
+
readonly originalValue: number;
|
|
7
|
+
readonly sellingPrice: number;
|
|
8
|
+
readonly rentPrice: number;
|
|
9
|
+
}
|
|
10
|
+
export declare class House {
|
|
11
|
+
readonly id: number;
|
|
12
|
+
readonly owner: number;
|
|
13
|
+
readonly entrance: Position;
|
|
14
|
+
readonly exit: Position;
|
|
15
|
+
readonly originalValue: number;
|
|
16
|
+
readonly sellingPrice: number;
|
|
17
|
+
readonly rentPrice: number;
|
|
18
|
+
constructor(id: number, owner: number, entrance: Position, exit: Position, originalValue: number, sellingPrice: number, rentPrice: number);
|
|
19
|
+
}
|
|
20
|
+
type Position = {
|
|
21
|
+
x: number;
|
|
22
|
+
y: number;
|
|
23
|
+
z: number;
|
|
24
|
+
};
|
|
25
|
+
export {};
|
|
@@ -1,4 +1,10 @@
|
|
|
1
|
+
/** Account */
|
|
1
2
|
export * from './account';
|
|
3
|
+
/** Character */
|
|
2
4
|
export * from './character';
|
|
3
|
-
|
|
5
|
+
/** House */
|
|
6
|
+
export * from './house/house';
|
|
7
|
+
/** Item (Deprecated) */
|
|
4
8
|
export * from './items';
|
|
9
|
+
/** Business (Deprecated) */
|
|
10
|
+
export * from './businesses';
|
package/package.json
CHANGED