typed-factorio 2.0.0 → 2.1.0
Sign up to get free protection for your applications and to get access to all the features.
- package/lualib/util.d.ts +4 -4
- package/package.json +3 -3
- package/prototype/generated/prototypes.d.ts +1799 -1705
- package/prototype/generated/types.d.ts +1416 -1410
- package/runtime/generated/builtin-types.d.ts +12 -12
- package/runtime/generated/classes.d.ts +3288 -3302
- package/runtime/generated/concepts.d.ts +1810 -1810
- package/runtime/generated/defines.d.ts +166 -102
- package/runtime/generated/events.d.ts +190 -186
- package/runtime/generated/global-functions.d.ts +3 -3
- package/runtime/generated/global-objects.d.ts +6 -6
- package/runtime/pairs.d.ts +1 -1
@@ -8,57 +8,57 @@
|
|
8
8
|
declare module "factorio:runtime" {
|
9
9
|
/**
|
10
10
|
* A floating-point number. This is a single-precision floating point number. Whilst Lua only uses double-precision numbers, when a function takes a float, the game engine will immediately convert the double-precision number to single-precision.
|
11
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
11
|
+
* @see {@link https://lua-api.factorio.com/1.1.90/builtin-types.html#float Online documentation}
|
12
12
|
*/
|
13
13
|
export type float = number
|
14
14
|
/**
|
15
15
|
* A double-precision floating-point number. This is the same data type as all Lua numbers use.
|
16
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
16
|
+
* @see {@link https://lua-api.factorio.com/1.1.90/builtin-types.html#double Online documentation}
|
17
17
|
*/
|
18
18
|
export type double = number
|
19
19
|
/**
|
20
20
|
* 32-bit signed integer. Possible values are -2'147'483'648 to 2'147'483'647.
|
21
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
21
|
+
* @see {@link https://lua-api.factorio.com/1.1.90/builtin-types.html#int Online documentation}
|
22
22
|
*/
|
23
23
|
export type int = number
|
24
24
|
/**
|
25
25
|
* 8-bit signed integer. Possible values are -128 to 127.
|
26
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
26
|
+
* @see {@link https://lua-api.factorio.com/1.1.90/builtin-types.html#int8 Online documentation}
|
27
27
|
*/
|
28
28
|
export type int8 = number
|
29
29
|
/**
|
30
30
|
* 32-bit unsigned integer. Possible values are 0 to 4'294'967'295.
|
31
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
31
|
+
* @see {@link https://lua-api.factorio.com/1.1.90/builtin-types.html#uint Online documentation}
|
32
32
|
*/
|
33
33
|
export type uint = number
|
34
34
|
/**
|
35
35
|
* 8-bit unsigned integer. Possible values are 0 to 255.
|
36
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
36
|
+
* @see {@link https://lua-api.factorio.com/1.1.90/builtin-types.html#uint8 Online documentation}
|
37
37
|
*/
|
38
38
|
export type uint8 = number
|
39
39
|
/**
|
40
40
|
* 16-bit unsigned integer. Possible values are 0 to 65535.
|
41
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
41
|
+
* @see {@link https://lua-api.factorio.com/1.1.90/builtin-types.html#uint16 Online documentation}
|
42
42
|
*/
|
43
43
|
export type uint16 = number
|
44
44
|
/**
|
45
45
|
* 64-bit unsigned integer. Possible values are 0 to 18'446'744'073'709'551'615.
|
46
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
46
|
+
* @see {@link https://lua-api.factorio.com/1.1.90/builtin-types.html#uint64 Online documentation}
|
47
47
|
*/
|
48
48
|
export type uint64 = number
|
49
49
|
/**
|
50
50
|
* Nil is the type of the value `nil`, whose main property is to be different from any other value. It usually represents the absence of a useful value.
|
51
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
51
|
+
* @see {@link https://lua-api.factorio.com/1.1.90/builtin-types.html#nil Online documentation}
|
52
52
|
*/
|
53
53
|
export type nil = undefined
|
54
54
|
/**
|
55
55
|
* Tables are enclosed in curly brackets, like this `{}`.
|
56
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
56
|
+
* @see {@link https://lua-api.factorio.com/1.1.90/builtin-types.html#table Online documentation}
|
57
57
|
*/
|
58
58
|
export type table = object
|
59
59
|
/**
|
60
|
-
* Any LuaObject listed on the {@linkplain https://lua-api.factorio.com/1.1.
|
61
|
-
* @see {@link https://lua-api.factorio.com/1.1.
|
60
|
+
* Any LuaObject listed on the {@linkplain https://lua-api.factorio.com/1.1.90/classes.html Classes} page.
|
61
|
+
* @see {@link https://lua-api.factorio.com/1.1.90/builtin-types.html#LuaObject Online documentation}
|
62
62
|
*/
|
63
63
|
export interface LuaObject {
|
64
64
|
readonly object_name: string
|