@tsukilabs/nil-ffi 0.7.20 → 0.7.21
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
|
@@ -176,6 +176,10 @@ export declare const definitions: {
|
|
|
176
176
|
readonly arguments: readonly [ffi.types.UINT_32, ffi.types.POINTER];
|
|
177
177
|
readonly return: ffi.types.VOID;
|
|
178
178
|
};
|
|
179
|
+
readonly nil_cheat_get_influence: {
|
|
180
|
+
readonly arguments: readonly [ffi.types.UINT_32, ffi.types.POINTER];
|
|
181
|
+
readonly return: ffi.types.VOID;
|
|
182
|
+
};
|
|
179
183
|
readonly nil_cheat_get_infrastructure: {
|
|
180
184
|
readonly arguments: readonly [ffi.types.UINT_32, ffi.types.POINTER];
|
|
181
185
|
readonly return: ffi.types.VOID;
|
|
@@ -232,6 +236,10 @@ export declare const definitions: {
|
|
|
232
236
|
readonly arguments: readonly [ffi.types.UINT_32, ffi.types.POINTER];
|
|
233
237
|
readonly return: ffi.types.VOID;
|
|
234
238
|
};
|
|
239
|
+
readonly nil_cheat_set_influence: {
|
|
240
|
+
readonly arguments: readonly [ffi.types.UINT_32, ffi.types.POINTER];
|
|
241
|
+
readonly return: ffi.types.VOID;
|
|
242
|
+
};
|
|
235
243
|
readonly nil_cheat_set_iron: {
|
|
236
244
|
readonly arguments: readonly [ffi.types.UINT_32, ffi.types.POINTER];
|
|
237
245
|
readonly return: ffi.types.VOID;
|
|
@@ -356,6 +364,10 @@ export declare const definitions: {
|
|
|
356
364
|
readonly arguments: readonly [ffi.types.UINT_32, ffi.types.POINTER];
|
|
357
365
|
readonly return: ffi.types.VOID;
|
|
358
366
|
};
|
|
367
|
+
readonly nil_get_city_limit: {
|
|
368
|
+
readonly arguments: readonly [ffi.types.UINT_32, ffi.types.POINTER];
|
|
369
|
+
readonly return: ffi.types.VOID;
|
|
370
|
+
};
|
|
359
371
|
readonly nil_get_city_score: {
|
|
360
372
|
readonly arguments: readonly [ffi.types.UINT_32, ffi.types.POINTER];
|
|
361
373
|
readonly return: ffi.types.VOID;
|
package/dist/index.js
CHANGED
|
@@ -366,6 +366,10 @@ var definitions = {
|
|
|
366
366
|
arguments: [ffi.types.UINT_32, ffi.types.POINTER],
|
|
367
367
|
return: ffi.types.VOID
|
|
368
368
|
},
|
|
369
|
+
nil_cheat_get_influence: {
|
|
370
|
+
arguments: [ffi.types.UINT_32, ffi.types.POINTER],
|
|
371
|
+
return: ffi.types.VOID
|
|
372
|
+
},
|
|
369
373
|
nil_cheat_get_infrastructure: {
|
|
370
374
|
arguments: [ffi.types.UINT_32, ffi.types.POINTER],
|
|
371
375
|
return: ffi.types.VOID
|
|
@@ -422,6 +426,10 @@ var definitions = {
|
|
|
422
426
|
arguments: [ffi.types.UINT_32, ffi.types.POINTER],
|
|
423
427
|
return: ffi.types.VOID
|
|
424
428
|
},
|
|
429
|
+
nil_cheat_set_influence: {
|
|
430
|
+
arguments: [ffi.types.UINT_32, ffi.types.POINTER],
|
|
431
|
+
return: ffi.types.VOID
|
|
432
|
+
},
|
|
425
433
|
nil_cheat_set_iron: {
|
|
426
434
|
arguments: [ffi.types.UINT_32, ffi.types.POINTER],
|
|
427
435
|
return: ffi.types.VOID
|
|
@@ -546,6 +554,10 @@ var definitions = {
|
|
|
546
554
|
arguments: [ffi.types.UINT_32, ffi.types.POINTER],
|
|
547
555
|
return: ffi.types.VOID
|
|
548
556
|
},
|
|
557
|
+
nil_get_city_limit: {
|
|
558
|
+
arguments: [ffi.types.UINT_32, ffi.types.POINTER],
|
|
559
|
+
return: ffi.types.VOID
|
|
560
|
+
},
|
|
549
561
|
nil_get_city_score: {
|
|
550
562
|
arguments: [ffi.types.UINT_32, ffi.types.POINTER],
|
|
551
563
|
return: ffi.types.VOID
|
|
@@ -797,7 +809,7 @@ var definitions = {
|
|
|
797
809
|
};
|
|
798
810
|
//#endregion
|
|
799
811
|
//#region package.json
|
|
800
|
-
var version = "0.7.
|
|
812
|
+
var version = "0.7.21";
|
|
801
813
|
//#endregion
|
|
802
814
|
//#region \0@oxc-project+runtime@0.142.0/helpers/esm/decorate.js
|
|
803
815
|
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.21",
|
|
4
4
|
"description": "FFI bindings for Call of Nil",
|
|
5
5
|
"type": "module",
|
|
6
|
-
"packageManager": "pnpm@11.
|
|
6
|
+
"packageManager": "pnpm@11.21.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.3",
|
|
34
|
-
"@tsukilabs/nil-bindings": "^0.7.
|
|
34
|
+
"@tsukilabs/nil-bindings": "^0.7.20",
|
|
35
35
|
"es-toolkit": "^1.50.0"
|
|
36
36
|
},
|
|
37
37
|
"files": ["dist"],
|