@tsukilabs/nil-ffi 0.7.12 → 0.7.14
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/def.d.ts +12 -0
- package/dist/index.js +13 -1
- package/package.json +3 -3
package/dist/def.d.ts
CHANGED
|
@@ -104,6 +104,10 @@ export declare const definitions: {
|
|
|
104
104
|
readonly arguments: readonly [ffi.types.UINT_32, ffi.types.POINTER];
|
|
105
105
|
readonly return: ffi.types.VOID;
|
|
106
106
|
};
|
|
107
|
+
readonly nil_buy_resources: {
|
|
108
|
+
readonly arguments: readonly [ffi.types.UINT_32, ffi.types.POINTER];
|
|
109
|
+
readonly return: ffi.types.VOID;
|
|
110
|
+
};
|
|
107
111
|
readonly nil_cancel_academy_recruit_order: {
|
|
108
112
|
readonly arguments: readonly [ffi.types.UINT_32, ffi.types.POINTER];
|
|
109
113
|
readonly return: ffi.types.VOID;
|
|
@@ -236,6 +240,10 @@ export declare const definitions: {
|
|
|
236
240
|
readonly arguments: readonly [ffi.types.UINT_32, ffi.types.POINTER];
|
|
237
241
|
readonly return: ffi.types.VOID;
|
|
238
242
|
};
|
|
243
|
+
readonly nil_cheat_set_market_vault_resources: {
|
|
244
|
+
readonly arguments: readonly [ffi.types.UINT_32, ffi.types.POINTER];
|
|
245
|
+
readonly return: ffi.types.VOID;
|
|
246
|
+
};
|
|
239
247
|
readonly nil_cheat_set_max_food: {
|
|
240
248
|
readonly arguments: readonly [ffi.types.UINT_32, ffi.types.POINTER];
|
|
241
249
|
readonly return: ffi.types.VOID;
|
|
@@ -552,6 +560,10 @@ export declare const definitions: {
|
|
|
552
560
|
readonly arguments: readonly [ffi.types.UINT_32, ffi.types.POINTER];
|
|
553
561
|
readonly return: ffi.types.VOID;
|
|
554
562
|
};
|
|
563
|
+
readonly nil_sell_resources: {
|
|
564
|
+
readonly arguments: readonly [ffi.types.UINT_32, ffi.types.POINTER];
|
|
565
|
+
readonly return: ffi.types.VOID;
|
|
566
|
+
};
|
|
555
567
|
readonly nil_send_resources: {
|
|
556
568
|
readonly arguments: readonly [ffi.types.UINT_32, ffi.types.POINTER];
|
|
557
569
|
readonly return: ffi.types.VOID;
|
package/dist/index.js
CHANGED
|
@@ -287,6 +287,10 @@ var definitions = {
|
|
|
287
287
|
arguments: [ffi.types.UINT_32, ffi.types.POINTER],
|
|
288
288
|
return: ffi.types.VOID
|
|
289
289
|
},
|
|
290
|
+
nil_buy_resources: {
|
|
291
|
+
arguments: [ffi.types.UINT_32, ffi.types.POINTER],
|
|
292
|
+
return: ffi.types.VOID
|
|
293
|
+
},
|
|
290
294
|
nil_cancel_academy_recruit_order: {
|
|
291
295
|
arguments: [ffi.types.UINT_32, ffi.types.POINTER],
|
|
292
296
|
return: ffi.types.VOID
|
|
@@ -419,6 +423,10 @@ var definitions = {
|
|
|
419
423
|
arguments: [ffi.types.UINT_32, ffi.types.POINTER],
|
|
420
424
|
return: ffi.types.VOID
|
|
421
425
|
},
|
|
426
|
+
nil_cheat_set_market_vault_resources: {
|
|
427
|
+
arguments: [ffi.types.UINT_32, ffi.types.POINTER],
|
|
428
|
+
return: ffi.types.VOID
|
|
429
|
+
},
|
|
422
430
|
nil_cheat_set_max_food: {
|
|
423
431
|
arguments: [ffi.types.UINT_32, ffi.types.POINTER],
|
|
424
432
|
return: ffi.types.VOID
|
|
@@ -735,6 +743,10 @@ var definitions = {
|
|
|
735
743
|
arguments: [ffi.types.UINT_32, ffi.types.POINTER],
|
|
736
744
|
return: ffi.types.VOID
|
|
737
745
|
},
|
|
746
|
+
nil_sell_resources: {
|
|
747
|
+
arguments: [ffi.types.UINT_32, ffi.types.POINTER],
|
|
748
|
+
return: ffi.types.VOID
|
|
749
|
+
},
|
|
738
750
|
nil_send_resources: {
|
|
739
751
|
arguments: [ffi.types.UINT_32, ffi.types.POINTER],
|
|
740
752
|
return: ffi.types.VOID
|
|
@@ -778,7 +790,7 @@ var definitions = {
|
|
|
778
790
|
};
|
|
779
791
|
//#endregion
|
|
780
792
|
//#region package.json
|
|
781
|
-
var version = "0.7.
|
|
793
|
+
var version = "0.7.14";
|
|
782
794
|
//#endregion
|
|
783
795
|
//#region \0@oxc-project+runtime@0.142.0/helpers/esm/decorate.js
|
|
784
796
|
function __decorate(decorators, target, key, desc) {
|
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tsukilabs/nil-ffi",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.14",
|
|
4
4
|
"description": "FFI bindings for Call of Nil",
|
|
5
5
|
"type": "module",
|
|
6
|
-
"packageManager": "pnpm@11.
|
|
6
|
+
"packageManager": "pnpm@11.20.0",
|
|
7
7
|
"license": "AGPL-3.0-only",
|
|
8
8
|
"private": false,
|
|
9
9
|
"homepage": "https://nil.dev.br",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
33
|
"@tb-dev/utils": "^8.1.2",
|
|
34
|
-
"@tsukilabs/nil-bindings": "
|
|
34
|
+
"@tsukilabs/nil-bindings": "^0.7.13",
|
|
35
35
|
"es-toolkit": "^1.50.0"
|
|
36
36
|
},
|
|
37
37
|
"files": ["dist"],
|