mlogjs 0.4.9 → 0.5.0

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.
Files changed (114) hide show
  1. package/README.md +15 -11
  2. package/dist/Compiler.d.ts +38 -38
  3. package/dist/CompilerError.d.ts +33 -33
  4. package/dist/Scope.d.ts +31 -25
  5. package/dist/bin.cjs +99 -58
  6. package/dist/bin.d.ts +1 -1
  7. package/dist/handlers/BlockStatement.d.ts +2 -2
  8. package/dist/handlers/CallExpression.d.ts +4 -4
  9. package/dist/handlers/File.d.ts +2 -2
  10. package/dist/handlers/ForStatement.d.ts +2 -2
  11. package/dist/handlers/Function.d.ts +5 -5
  12. package/dist/handlers/Identifier.d.ts +2 -2
  13. package/dist/handlers/IfStatement.d.ts +2 -2
  14. package/dist/handlers/Literal.d.ts +5 -5
  15. package/dist/handlers/Object.d.ts +8 -7
  16. package/dist/handlers/OperationExpressions.d.ts +9 -9
  17. package/dist/handlers/Program.d.ts +2 -2
  18. package/dist/handlers/Statements.d.ts +7 -7
  19. package/dist/handlers/SwitchStatement.d.ts +2 -2
  20. package/dist/handlers/TemplateExpression.d.ts +2 -2
  21. package/dist/handlers/Typescript.d.ts +8 -7
  22. package/dist/handlers/VariableDeclaration.d.ts +3 -3
  23. package/dist/handlers/WhileStatement.d.ts +3 -3
  24. package/dist/handlers/index.d.ts +17 -17
  25. package/dist/index.cjs +4170 -3164
  26. package/dist/index.d.ts +3 -3
  27. package/dist/index.mjs +4164 -3158
  28. package/dist/initScope.d.ts +5 -5
  29. package/dist/instructions/AddressResolver.d.ts +12 -12
  30. package/dist/instructions/ControlInstructions.d.ts +10 -10
  31. package/dist/instructions/EndInstruction.d.ts +6 -4
  32. package/dist/instructions/InstructionBase.d.ts +15 -15
  33. package/dist/instructions/JumpInstruction.d.ts +22 -16
  34. package/dist/instructions/OperationInstruction.d.ts +5 -5
  35. package/dist/instructions/SetCounterInstruction.d.ts +5 -5
  36. package/dist/instructions/SetInstruction.d.ts +8 -8
  37. package/dist/instructions/ZeroSpaceInstruction.d.ts +4 -4
  38. package/dist/instructions/index.d.ts +9 -9
  39. package/dist/macros/Asm.d.ts +4 -4
  40. package/dist/macros/DynamicArray.d.ts +30 -23
  41. package/dist/macros/Function.d.ts +14 -12
  42. package/dist/macros/GetGlobal.d.ts +5 -5
  43. package/dist/macros/Math.d.ts +4 -4
  44. package/dist/macros/Memory.d.ts +4 -4
  45. package/dist/macros/Namespace.d.ts +15 -12
  46. package/dist/macros/Other.d.ts +4 -4
  47. package/dist/macros/Unchecked.d.ts +7 -0
  48. package/dist/macros/commands/ApplyStatus.d.ts +4 -4
  49. package/dist/macros/commands/Control.d.ts +4 -4
  50. package/dist/macros/commands/Cutscene.d.ts +4 -4
  51. package/dist/macros/commands/Draw.d.ts +4 -4
  52. package/dist/macros/commands/DrawFlush.d.ts +4 -4
  53. package/dist/macros/commands/End.d.ts +4 -4
  54. package/dist/macros/commands/Explosion.d.ts +4 -4
  55. package/dist/macros/commands/Fetch.d.ts +4 -4
  56. package/dist/macros/commands/FlushMessage.d.ts +4 -4
  57. package/dist/macros/commands/GetBlock.d.ts +4 -4
  58. package/dist/macros/commands/GetFlag.d.ts +4 -4
  59. package/dist/macros/commands/GetLink.d.ts +4 -4
  60. package/dist/macros/commands/Lookup.d.ts +4 -4
  61. package/dist/macros/commands/PackColor.d.ts +4 -4
  62. package/dist/macros/commands/Print.d.ts +4 -4
  63. package/dist/macros/commands/PrintFlush.d.ts +4 -4
  64. package/dist/macros/commands/Radar.d.ts +6 -6
  65. package/dist/macros/commands/Sensor.d.ts +4 -4
  66. package/dist/macros/commands/SetBlock.d.ts +4 -4
  67. package/dist/macros/commands/SetFlag.d.ts +4 -4
  68. package/dist/macros/commands/SetRate.d.ts +4 -4
  69. package/dist/macros/commands/SetRule.d.ts +4 -4
  70. package/dist/macros/commands/SpawnUnit.d.ts +4 -4
  71. package/dist/macros/commands/SpawnWave.d.ts +4 -4
  72. package/dist/macros/commands/Stop.d.ts +4 -4
  73. package/dist/macros/commands/UnitBind.d.ts +4 -4
  74. package/dist/macros/commands/UnitControl.d.ts +4 -4
  75. package/dist/macros/commands/UnitLocate.d.ts +4 -4
  76. package/dist/macros/commands/UnitRadar.d.ts +4 -4
  77. package/dist/macros/commands/Wait.d.ts +4 -4
  78. package/dist/macros/commands/index.d.ts +30 -30
  79. package/dist/macros/index.d.ts +8 -6
  80. package/dist/macros/util.d.ts +17 -17
  81. package/dist/operators.d.ts +46 -25
  82. package/dist/types.d.ts +259 -220
  83. package/dist/utils/constants.d.ts +8 -6
  84. package/dist/utils/general.d.ts +26 -26
  85. package/dist/utils/index.d.ts +4 -4
  86. package/dist/utils/instruction.d.ts +9 -5
  87. package/dist/utils/value.d.ts +40 -36
  88. package/dist/values/AssignmentValue.d.ts +10 -0
  89. package/dist/values/BaseValue.d.ts +10 -10
  90. package/dist/values/DestructuringValue.d.ts +32 -30
  91. package/dist/values/FunctionValue.d.ts +57 -50
  92. package/dist/values/JumpOutValue.d.ts +36 -0
  93. package/dist/values/LazyValue.d.ts +11 -9
  94. package/dist/values/LiteralValue.d.ts +18 -14
  95. package/dist/values/ObjectValue.d.ts +23 -20
  96. package/dist/values/SenseableValue.d.ts +24 -24
  97. package/dist/values/StoreValue.d.ts +22 -21
  98. package/dist/values/VoidValue.d.ts +16 -13
  99. package/dist/values/index.d.ts +9 -8
  100. package/lib/commands.d.ts +59 -32
  101. package/lib/eslib/lib.es5.d.ts +36 -0
  102. package/lib/globals.d.ts +5 -5
  103. package/lib/helpers.d.ts +18 -2
  104. package/lib/index.d.ts +1 -1
  105. package/lib/macros.d.ts +150 -0
  106. package/lib/traits.d.ts +5 -5
  107. package/package.json +31 -27
  108. package/dist/assertions.d.ts +0 -28
  109. package/dist/bin.cjs.map +0 -1
  110. package/dist/discardedName.d.ts +0 -5
  111. package/dist/index.cjs.map +0 -1
  112. package/dist/index.mjs.map +0 -1
  113. package/dist/utils.d.ts +0 -45
  114. package/lib/memory.d.ts +0 -17
@@ -1,5 +1,5 @@
1
- import { Scope } from "./Scope";
2
- /**
3
- * Adds all the compiler globals to `scope`
4
- */
5
- export declare function initScope(scope: Scope): void;
1
+ import { Scope } from "./Scope";
2
+ /**
3
+ * Adds all the compiler globals to `scope`
4
+ */
5
+ export declare function initScope(scope: Scope): void;
@@ -1,12 +1,12 @@
1
- import { InstructionBase } from ".";
2
- import { IBindableValue, IScope } from "../types";
3
- export declare class AddressResolver extends InstructionBase {
4
- get hidden(): boolean;
5
- set hidden(value: boolean);
6
- bonds: IBindableValue<number | null>[];
7
- constructor(...bonds: IBindableValue<number | null>[]);
8
- resolve(i: number): void;
9
- bind(bond: IBindableValue<number | null>): void;
10
- bindBreak(scope: IScope): this;
11
- bindContinue(scope: IScope): this;
12
- }
1
+ import { InstructionBase } from ".";
2
+ import { IBindableValue, IScope } from "../types";
3
+ export declare class AddressResolver extends InstructionBase {
4
+ get hidden(): boolean;
5
+ set hidden(value: boolean);
6
+ bonds: IBindableValue<number | null>[];
7
+ constructor(...bonds: IBindableValue<number | null>[]);
8
+ resolve(i: number): void;
9
+ bind(bond: IBindableValue<number | null>): void;
10
+ bindBreak(scope: IScope): this;
11
+ bindContinue(scope: IScope): this;
12
+ }
@@ -1,10 +1,10 @@
1
- import { EInstIntent, IBindableValue } from "../types";
2
- import { JumpInstruction } from "./JumpInstruction";
3
- export declare class BreakInstruction extends JumpInstruction {
4
- intent: EInstIntent;
5
- constructor(address: IBindableValue<number | null>);
6
- }
7
- export declare class ContinueInstruction extends JumpInstruction {
8
- intent: EInstIntent;
9
- constructor(address: IBindableValue<number | null>);
10
- }
1
+ import { EInstIntent, IBindableValue } from "../types";
2
+ import { JumpInstruction } from "./JumpInstruction";
3
+ export declare class BreakInstruction extends JumpInstruction {
4
+ intent: EInstIntent;
5
+ constructor(address: IBindableValue<number | null>);
6
+ }
7
+ export declare class ContinueInstruction extends JumpInstruction {
8
+ intent: EInstIntent;
9
+ constructor(address: IBindableValue<number | null>);
10
+ }
@@ -1,4 +1,6 @@
1
- import { InstructionBase } from "./InstructionBase";
2
- export declare class EndInstruction extends InstructionBase {
3
- constructor();
4
- }
1
+ import { EInstIntent } from "../types";
2
+ import { InstructionBase } from "./InstructionBase";
3
+ export declare class EndInstruction extends InstructionBase {
4
+ intent: EInstIntent;
5
+ constructor();
6
+ }
@@ -1,15 +1,15 @@
1
- import { SourceLocation } from "@babel/types";
2
- import { EInstIntent, IInstruction, IValue } from "../types";
3
- export declare class InstructionBase implements IInstruction {
4
- intent: EInstIntent;
5
- intentSource?: IValue;
6
- alwaysRuns: boolean;
7
- protected _hidden: boolean;
8
- get hidden(): boolean;
9
- set hidden(value: boolean);
10
- args: (string | IValue | null)[];
11
- source?: SourceLocation;
12
- constructor(...args: (string | IValue | null)[]);
13
- resolve(_i: number): void;
14
- toString(): string;
15
- }
1
+ import { SourceLocation } from "@babel/types";
2
+ import { EInstIntent, IInstruction, IValue } from "../types";
3
+ export declare class InstructionBase implements IInstruction {
4
+ intent: EInstIntent;
5
+ intentSource?: IValue;
6
+ alwaysRuns: boolean;
7
+ protected _hidden: boolean;
8
+ get hidden(): boolean;
9
+ set hidden(value: boolean);
10
+ args: (string | IValue | null)[];
11
+ source?: SourceLocation;
12
+ constructor(...args: (string | IValue | null)[]);
13
+ resolve(_i: number): void;
14
+ toString(): string;
15
+ }
@@ -1,16 +1,22 @@
1
- import { IBindableValue, IValue } from "../types";
2
- import { InstructionBase } from "./InstructionBase";
3
- export declare enum EJumpKind {
4
- Equal = "equal",
5
- NotEqual = "notEqual",
6
- LessThan = "lessThan",
7
- LessThanEq = "lessThanEq",
8
- GreaterThan = "greaterThan",
9
- GreaterThanEq = "greaterThanEq",
10
- StrictEqual = "strictEqual",
11
- Always = "always"
12
- }
13
- export declare class JumpInstruction extends InstructionBase {
14
- address: IBindableValue<number | null>;
15
- constructor(address: IBindableValue<number | null>, kind: EJumpKind, left?: IValue | null, right?: IValue | null);
16
- }
1
+ import { IBindableValue, IValue } from "../types";
2
+ import { JumpOutValue } from "../values/JumpOutValue";
3
+ import { InstructionBase } from "./InstructionBase";
4
+ export declare enum EJumpKind {
5
+ Equal = "equal",
6
+ NotEqual = "notEqual",
7
+ LessThan = "lessThan",
8
+ LessThanEq = "lessThanEq",
9
+ GreaterThan = "greaterThan",
10
+ GreaterThanEq = "greaterThanEq",
11
+ StrictEqual = "strictEqual",
12
+ Always = "always"
13
+ }
14
+ export declare class JumpInstruction extends InstructionBase {
15
+ address: IBindableValue<number | null>;
16
+ constructor(address: IBindableValue<number | null>, kind: EJumpKind, left?: IValue | null, right?: IValue | null);
17
+ /**
18
+ * Works with the `JumpOutValue` class to determine
19
+ * wether a jump should be added if the expression wasn't jump compressed.
20
+ */
21
+ static or(test: IValue, out: JumpOutValue): JumpInstruction[];
22
+ }
@@ -1,5 +1,5 @@
1
- import { InstructionBase } from ".";
2
- import { IValue } from "../types";
3
- export declare class OperationInstruction extends InstructionBase {
4
- constructor(kind: string, temp: IValue, left: IValue, right: IValue | null);
5
- }
1
+ import { InstructionBase } from ".";
2
+ import { IValue } from "../types";
3
+ export declare class OperationInstruction extends InstructionBase {
4
+ constructor(kind: string, temp: IValue, left: IValue, right: IValue | null);
5
+ }
@@ -1,5 +1,5 @@
1
- import { InstructionBase } from ".";
2
- import { IValue } from "../types";
3
- export declare class SetCounterInstruction extends InstructionBase {
4
- constructor(value: IValue);
5
- }
1
+ import { InstructionBase } from ".";
2
+ import { IValue } from "../types";
3
+ export declare class SetCounterInstruction extends InstructionBase {
4
+ constructor(value: IValue);
5
+ }
@@ -1,8 +1,8 @@
1
- import { InstructionBase } from ".";
2
- import { IValue } from "../types";
3
- export declare class SetInstruction extends InstructionBase {
4
- constructor(store: IValue, value: IValue);
5
- get store(): IValue;
6
- get value(): IValue;
7
- get hidden(): boolean;
8
- }
1
+ import { InstructionBase } from ".";
2
+ import { IValue } from "../types";
3
+ export declare class SetInstruction extends InstructionBase {
4
+ constructor(store: IValue, value: IValue);
5
+ get store(): IValue;
6
+ get value(): IValue;
7
+ get hidden(): boolean;
8
+ }
@@ -1,4 +1,4 @@
1
- import { InstructionBase } from "./InstructionBase";
2
- export declare class ZeroSpaceInstruction extends InstructionBase {
3
- toString(): string;
4
- }
1
+ import { InstructionBase } from "./InstructionBase";
2
+ export declare class ZeroSpaceInstruction extends InstructionBase {
3
+ toString(): string;
4
+ }
@@ -1,9 +1,9 @@
1
- export * from "./InstructionBase";
2
- export * from "./OperationInstruction";
3
- export * from "./SetInstruction";
4
- export * from "./EndInstruction";
5
- export * from "./AddressResolver";
6
- export * from "./JumpInstruction";
7
- export * from "./SetCounterInstruction";
8
- export * from "./ZeroSpaceInstruction";
9
- export * from "./ControlInstructions";
1
+ export * from "./InstructionBase";
2
+ export * from "./OperationInstruction";
3
+ export * from "./SetInstruction";
4
+ export * from "./EndInstruction";
5
+ export * from "./AddressResolver";
6
+ export * from "./JumpInstruction";
7
+ export * from "./SetCounterInstruction";
8
+ export * from "./ZeroSpaceInstruction";
9
+ export * from "./ControlInstructions";
@@ -1,4 +1,4 @@
1
- import { MacroFunction } from "./Function";
2
- export declare class Asm extends MacroFunction<null> {
3
- constructor();
4
- }
1
+ import { MacroFunction } from "./Function";
2
+ export declare class Asm extends MacroFunction<null> {
3
+ constructor();
4
+ }
@@ -1,23 +1,30 @@
1
- import { IScope, IValue, TEOutput, TValueInstructions } from "../types";
2
- import { LiteralValue, ObjectValue, SenseableValue, StoreValue } from "../values";
3
- import { MacroFunction } from "./Function";
4
- export declare class DynamicArray extends ObjectValue {
5
- scope: IScope;
6
- name: string;
7
- values: IValue[];
8
- getterTemp: SenseableValue;
9
- setterTemp: SenseableValue;
10
- returnTemp: StoreValue;
11
- getterAddr: LiteralValue<number | null>;
12
- setterAddr: LiteralValue<number | null>;
13
- bundledSetter: boolean;
14
- bundledGetter: boolean;
15
- constructor(scope: IScope, name: string, values: IValue[]);
16
- getValue(scope: IScope, out: TEOutput | undefined, index: IValue, checked: boolean): TValueInstructions;
17
- setValue(scope: IScope, index: IValue, value: IValue, checked: boolean): TValueInstructions;
18
- initGetter(): void;
19
- initSetter(): void;
20
- }
21
- export declare class DynamicArrayConstructor extends MacroFunction {
22
- constructor();
23
- }
1
+ import { IScope, IValue, TEOutput, TValueInstructions } from "../types";
2
+ import { LiteralValue, ObjectValue, SenseableValue, StoreValue } from "../values";
3
+ import { MacroFunction } from "./Function";
4
+ export declare class DynamicArray extends ObjectValue {
5
+ scope: IScope;
6
+ name: string;
7
+ values: IValue[];
8
+ dynamic: boolean;
9
+ getterTemp: SenseableValue;
10
+ setterTemp: SenseableValue;
11
+ returnTemp: StoreValue;
12
+ getterAddr: LiteralValue<number | null>;
13
+ setterAddr: LiteralValue<number | null>;
14
+ removeAtAddr: LiteralValue<number | null>;
15
+ lengthStore?: StoreValue;
16
+ bundledSetter: boolean;
17
+ bundledGetter: boolean;
18
+ bundledRemoveAt: boolean;
19
+ constructor(scope: IScope, name: string, values: IValue[], dynamic: boolean);
20
+ get(scope: IScope, index: IValue, out?: TEOutput): TValueInstructions;
21
+ hasProperty(scope: IScope, prop: IValue): boolean;
22
+ initGetter(): void;
23
+ initSetter(): void;
24
+ initRemoveAt(): void;
25
+ debugString(): string;
26
+ toString(): string;
27
+ }
28
+ export declare class DynamicArrayConstructor extends MacroFunction {
29
+ constructor(dynamic: boolean);
30
+ }
@@ -1,12 +1,14 @@
1
- import { EMutability, IScope, IValue, TEOutput, TValueInstructions } from "../types";
2
- import { VoidValue } from "../values";
3
- declare type TFunction<T extends IValue | null> = (scope: IScope, out: TEOutput | undefined, ...args: IValue[]) => TValueInstructions<T>;
4
- export declare class MacroFunction<RT extends IValue | null = IValue> extends VoidValue {
5
- macro: boolean;
6
- mutability: EMutability;
7
- fn: TFunction<RT>;
8
- constructor(fn: TFunction<RT>);
9
- call(scope: IScope, args: IValue[], out?: TEOutput): TValueInstructions<RT>;
10
- eval(_scope: IScope): TValueInstructions;
11
- }
12
- export {};
1
+ import { EMutability, IScope, IValue, TEOutput, TValueInstructions } from "../types";
2
+ import { VoidValue } from "../values";
3
+ type TFunction<T extends IValue | null> = (scope: IScope, out: TEOutput | undefined, ...args: IValue[]) => TValueInstructions<T>;
4
+ export declare class MacroFunction<RT extends IValue | null = IValue> extends VoidValue {
5
+ macro: boolean;
6
+ mutability: EMutability;
7
+ fn: TFunction<RT>;
8
+ constructor(fn: TFunction<RT>);
9
+ call(scope: IScope, args: IValue[], out?: TEOutput): TValueInstructions<RT>;
10
+ eval(_scope: IScope): TValueInstructions;
11
+ debugString(): string;
12
+ toString(): string;
13
+ }
14
+ export {};
@@ -1,5 +1,5 @@
1
- import { EMutability } from "../types";
2
- import { MacroFunction } from "./Function";
3
- export declare class GetGlobal extends MacroFunction {
4
- constructor(mutability: EMutability);
5
- }
1
+ import { EMutability } from "../types";
2
+ import { MacroFunction } from "./Function";
3
+ export declare class GetGlobal extends MacroFunction {
4
+ constructor(mutability: EMutability);
5
+ }
@@ -1,4 +1,4 @@
1
- import { ObjectValue } from "../values";
2
- export declare class MlogMath extends ObjectValue {
3
- constructor();
4
- }
1
+ import { ObjectValue } from "../values";
2
+ export declare class MlogMath extends ObjectValue {
3
+ constructor();
4
+ }
@@ -1,4 +1,4 @@
1
- import { ObjectValue } from "../values";
2
- export declare class MemoryBuilder extends ObjectValue {
3
- constructor();
4
- }
1
+ import { MacroFunction } from "./Function";
2
+ export declare class MemoryBuilder extends MacroFunction {
3
+ constructor();
4
+ }
@@ -1,12 +1,15 @@
1
- import { ObjectValue } from "../values";
2
- interface NamespaceMacroOptions {
3
- changeCasing?: boolean;
4
- }
5
- export declare class NamespaceMacro extends ObjectValue {
6
- changeCasing: boolean;
7
- constructor({ changeCasing }?: NamespaceMacroOptions);
8
- }
9
- export declare class VarsNamespace extends NamespaceMacro {
10
- constructor();
11
- }
12
- export {};
1
+ import { IScope, IValue, TEOutput, TValueInstructions } from "../types";
2
+ import { ObjectValue } from "../values";
3
+ interface NamespaceMacroOptions {
4
+ changeCasing?: boolean;
5
+ }
6
+ export declare class NamespaceMacro extends ObjectValue {
7
+ changeCasing: boolean;
8
+ constructor({ changeCasing }?: NamespaceMacroOptions);
9
+ get(scope: IScope, key: IValue, out?: TEOutput): TValueInstructions<IValue>;
10
+ hasProperty(scope: IScope, prop: IValue): boolean;
11
+ }
12
+ export declare class VarsNamespace extends NamespaceMacro {
13
+ constructor();
14
+ }
15
+ export {};
@@ -1,4 +1,4 @@
1
- import { MacroFunction } from "./Function";
2
- export declare class Concat extends MacroFunction {
3
- constructor();
4
- }
1
+ import { MacroFunction } from "./Function";
2
+ export declare class Concat extends MacroFunction {
3
+ constructor();
4
+ }
@@ -0,0 +1,7 @@
1
+ import { IScope, TEOutput } from "../types";
2
+ import { MacroFunction } from "./Function";
3
+ export declare class Unchecked extends MacroFunction {
4
+ constructor();
5
+ preCall(scope: IScope, out?: TEOutput): readonly TEOutput[] | undefined;
6
+ postCall(scope: IScope): void;
7
+ }
@@ -1,4 +1,4 @@
1
- import { ObjectValue } from "../../values";
2
- export declare class ApplyStatus extends ObjectValue {
3
- constructor();
4
- }
1
+ import { ObjectValue } from "../../values";
2
+ export declare class ApplyStatus extends ObjectValue {
3
+ constructor();
4
+ }
@@ -1,4 +1,4 @@
1
- import { ObjectValue } from "../../values";
2
- export declare class Control extends ObjectValue {
3
- constructor();
4
- }
1
+ import { ObjectValue } from "../../values";
2
+ export declare class Control extends ObjectValue {
3
+ constructor();
4
+ }
@@ -1,4 +1,4 @@
1
- import { ObjectValue } from "../../values";
2
- export declare class Cutscene extends ObjectValue {
3
- constructor();
4
- }
1
+ import { ObjectValue } from "../../values";
2
+ export declare class Cutscene extends ObjectValue {
3
+ constructor();
4
+ }
@@ -1,4 +1,4 @@
1
- import { ObjectValue } from "../../values";
2
- export declare class Draw extends ObjectValue {
3
- constructor();
4
- }
1
+ import { ObjectValue } from "../../values";
2
+ export declare class Draw extends ObjectValue {
3
+ constructor();
4
+ }
@@ -1,4 +1,4 @@
1
- import { MacroFunction } from "..";
2
- export declare class DrawFlush extends MacroFunction<null> {
3
- constructor();
4
- }
1
+ import { MacroFunction } from "..";
2
+ export declare class DrawFlush extends MacroFunction<null> {
3
+ constructor();
4
+ }
@@ -1,4 +1,4 @@
1
- import { MacroFunction } from "../Function";
2
- export declare class End extends MacroFunction<null> {
3
- constructor();
4
- }
1
+ import { MacroFunction } from "../Function";
2
+ export declare class End extends MacroFunction<null> {
3
+ constructor();
4
+ }
@@ -1,4 +1,4 @@
1
- import { MacroFunction } from "../Function";
2
- export declare class Explosion extends MacroFunction<null> {
3
- constructor();
4
- }
1
+ import { MacroFunction } from "../Function";
2
+ export declare class Explosion extends MacroFunction<null> {
3
+ constructor();
4
+ }
@@ -1,4 +1,4 @@
1
- import { ObjectValue } from "../../values";
2
- export declare class Fetch extends ObjectValue {
3
- constructor();
4
- }
1
+ import { ObjectValue } from "../../values";
2
+ export declare class Fetch extends ObjectValue {
3
+ constructor();
4
+ }
@@ -1,4 +1,4 @@
1
- import { ObjectValue } from "../../values";
2
- export declare class FlushMessage extends ObjectValue {
3
- constructor();
4
- }
1
+ import { ObjectValue } from "../../values";
2
+ export declare class FlushMessage extends ObjectValue {
3
+ constructor();
4
+ }
@@ -1,4 +1,4 @@
1
- import { ObjectValue } from "../../values";
2
- export declare class GetBlock extends ObjectValue {
3
- constructor();
4
- }
1
+ import { ObjectValue } from "../../values";
2
+ export declare class GetBlock extends ObjectValue {
3
+ constructor();
4
+ }
@@ -1,4 +1,4 @@
1
- import { MacroFunction } from "../Function";
2
- export declare class GetFlag extends MacroFunction {
3
- constructor();
4
- }
1
+ import { MacroFunction } from "../Function";
2
+ export declare class GetFlag extends MacroFunction {
3
+ constructor();
4
+ }
@@ -1,4 +1,4 @@
1
- import { MacroFunction } from "..";
2
- export declare class GetLink extends MacroFunction {
3
- constructor();
4
- }
1
+ import { MacroFunction } from "..";
2
+ export declare class GetLink extends MacroFunction {
3
+ constructor();
4
+ }
@@ -1,4 +1,4 @@
1
- import { ObjectValue } from "../../values";
2
- export declare class Lookup extends ObjectValue {
3
- constructor();
4
- }
1
+ import { ObjectValue } from "../../values";
2
+ export declare class Lookup extends ObjectValue {
3
+ constructor();
4
+ }
@@ -1,4 +1,4 @@
1
- import { MacroFunction } from "../Function";
2
- export declare class PackColor extends MacroFunction {
3
- constructor();
4
- }
1
+ import { MacroFunction } from "../Function";
2
+ export declare class PackColor extends MacroFunction {
3
+ constructor();
4
+ }
@@ -1,4 +1,4 @@
1
- import { MacroFunction } from "..";
2
- export declare class Print extends MacroFunction<null> {
3
- constructor();
4
- }
1
+ import { MacroFunction } from "..";
2
+ export declare class Print extends MacroFunction<null> {
3
+ constructor();
4
+ }
@@ -1,4 +1,4 @@
1
- import { MacroFunction } from "..";
2
- export declare class PrintFlush extends MacroFunction<null> {
3
- constructor();
4
- }
1
+ import { MacroFunction } from "..";
2
+ export declare class PrintFlush extends MacroFunction<null> {
3
+ constructor();
4
+ }
@@ -1,6 +1,6 @@
1
- import { MacroFunction } from "..";
2
- export declare const validRadarFilters: readonly ["any", "enemy", "ally", "player", "attacker", "flying", "boss", "ground"];
3
- export declare const validRadarSorts: readonly ["distance", "health", "shield", "armor", "maxHealth"];
4
- export declare class Radar extends MacroFunction {
5
- constructor();
6
- }
1
+ import { MacroFunction } from "..";
2
+ export declare const validRadarFilters: readonly ["any", "enemy", "ally", "player", "attacker", "flying", "boss", "ground"];
3
+ export declare const validRadarSorts: readonly ["distance", "health", "shield", "armor", "maxHealth"];
4
+ export declare class Radar extends MacroFunction {
5
+ constructor();
6
+ }
@@ -1,4 +1,4 @@
1
- import { MacroFunction } from "..";
2
- export declare class Sensor extends MacroFunction {
3
- constructor();
4
- }
1
+ import { MacroFunction } from "..";
2
+ export declare class Sensor extends MacroFunction {
3
+ constructor();
4
+ }
@@ -1,4 +1,4 @@
1
- import { ObjectValue } from "../../values";
2
- export declare class SetBlock extends ObjectValue {
3
- constructor();
4
- }
1
+ import { ObjectValue } from "../../values";
2
+ export declare class SetBlock extends ObjectValue {
3
+ constructor();
4
+ }
@@ -1,4 +1,4 @@
1
- import { MacroFunction } from "../Function";
2
- export declare class SetFlag extends MacroFunction<null> {
3
- constructor();
4
- }
1
+ import { MacroFunction } from "../Function";
2
+ export declare class SetFlag extends MacroFunction<null> {
3
+ constructor();
4
+ }
@@ -1,4 +1,4 @@
1
- import { MacroFunction } from "../Function";
2
- export declare class SetRate extends MacroFunction<null> {
3
- constructor();
4
- }
1
+ import { MacroFunction } from "../Function";
2
+ export declare class SetRate extends MacroFunction<null> {
3
+ constructor();
4
+ }
@@ -1,4 +1,4 @@
1
- import { ObjectValue } from "../../values";
2
- export declare class SetRule extends ObjectValue {
3
- constructor();
4
- }
1
+ import { ObjectValue } from "../../values";
2
+ export declare class SetRule extends ObjectValue {
3
+ constructor();
4
+ }
@@ -1,4 +1,4 @@
1
- import { MacroFunction } from "../Function";
2
- export declare class SpawnUnit extends MacroFunction {
3
- constructor();
4
- }
1
+ import { MacroFunction } from "../Function";
2
+ export declare class SpawnUnit extends MacroFunction {
3
+ constructor();
4
+ }