mlogjs 0.4.0 → 0.4.1

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 (141) hide show
  1. package/dist/index.cjs +359 -313
  2. package/dist/index.mjs +359 -313
  3. package/dist/macros/Asm.d.ts +1 -2
  4. package/dist/macros/Function.d.ts +2 -2
  5. package/dist/macros/GetGlobal.d.ts +2 -2
  6. package/dist/macros/Math.d.ts +1 -2
  7. package/dist/macros/Memory.d.ts +1 -2
  8. package/dist/macros/Namespace.d.ts +1 -1
  9. package/dist/macros/Other.d.ts +1 -2
  10. package/dist/macros/commands/ApplyStatus.d.ts +1 -2
  11. package/dist/macros/commands/Control.d.ts +1 -2
  12. package/dist/macros/commands/Cutscene.d.ts +1 -2
  13. package/dist/macros/commands/Draw.d.ts +1 -2
  14. package/dist/macros/commands/DrawFlush.d.ts +1 -2
  15. package/dist/macros/commands/End.d.ts +1 -2
  16. package/dist/macros/commands/Explosion.d.ts +1 -2
  17. package/dist/macros/commands/Fetch.d.ts +1 -2
  18. package/dist/macros/commands/FlushMessage.d.ts +1 -2
  19. package/dist/macros/commands/GetBlock.d.ts +1 -2
  20. package/dist/macros/commands/GetFlag.d.ts +1 -2
  21. package/dist/macros/commands/GetLink.d.ts +1 -2
  22. package/dist/macros/commands/Lookup.d.ts +1 -2
  23. package/dist/macros/commands/PackColor.d.ts +1 -2
  24. package/dist/macros/commands/Print.d.ts +1 -2
  25. package/dist/macros/commands/PrintFlush.d.ts +1 -2
  26. package/dist/macros/commands/Radar.d.ts +1 -2
  27. package/dist/macros/commands/Sensor.d.ts +1 -2
  28. package/dist/macros/commands/SetBlock.d.ts +1 -2
  29. package/dist/macros/commands/SetFlag.d.ts +1 -2
  30. package/dist/macros/commands/SetRate.d.ts +1 -2
  31. package/dist/macros/commands/SetRule.d.ts +1 -2
  32. package/dist/macros/commands/SpawnUnit.d.ts +1 -2
  33. package/dist/macros/commands/SpawnWave.d.ts +1 -2
  34. package/dist/macros/commands/Stop.d.ts +1 -2
  35. package/dist/macros/commands/UnitBind.d.ts +1 -2
  36. package/dist/macros/commands/UnitControl.d.ts +1 -2
  37. package/dist/macros/commands/UnitLocate.d.ts +1 -2
  38. package/dist/macros/commands/UnitRadar.d.ts +1 -2
  39. package/dist/macros/commands/Wait.d.ts +1 -2
  40. package/dist/macros/util.d.ts +2 -3
  41. package/dist/types.d.ts +0 -1
  42. package/dist/values/BaseValue.d.ts +1 -2
  43. package/dist/values/DestructuringValue.d.ts +1 -1
  44. package/dist/values/FunctionValue.d.ts +3 -4
  45. package/dist/values/LiteralValue.d.ts +3 -2
  46. package/dist/values/ObjectValue.d.ts +3 -3
  47. package/dist/values/StoreValue.d.ts +4 -2
  48. package/dist/values/VoidValue.d.ts +0 -2
  49. package/lib/commands.d.ts +6 -10
  50. package/package.json +2 -2
  51. package/dist/bin.cjs.map +0 -1
  52. package/dist/index.cjs.map +0 -1
  53. package/dist/index.mjs.map +0 -1
  54. package/dist/types/Compiler.d.ts +0 -39
  55. package/dist/types/CompilerError.d.ts +0 -33
  56. package/dist/types/Scope.d.ts +0 -24
  57. package/dist/types/assertions.d.ts +0 -28
  58. package/dist/types/bin.d.ts +0 -1
  59. package/dist/types/handlers/BlockStatement.d.ts +0 -2
  60. package/dist/types/handlers/CallExpression.d.ts +0 -4
  61. package/dist/types/handlers/File.d.ts +0 -2
  62. package/dist/types/handlers/ForStatement.d.ts +0 -2
  63. package/dist/types/handlers/Function.d.ts +0 -5
  64. package/dist/types/handlers/Identifier.d.ts +0 -2
  65. package/dist/types/handlers/IfStatement.d.ts +0 -2
  66. package/dist/types/handlers/Literal.d.ts +0 -5
  67. package/dist/types/handlers/Object.d.ts +0 -6
  68. package/dist/types/handlers/OperationExpressions.d.ts +0 -8
  69. package/dist/types/handlers/Program.d.ts +0 -2
  70. package/dist/types/handlers/Statements.d.ts +0 -5
  71. package/dist/types/handlers/SwitchStatement.d.ts +0 -2
  72. package/dist/types/handlers/TemplateExpression.d.ts +0 -2
  73. package/dist/types/handlers/Typescript.d.ts +0 -7
  74. package/dist/types/handlers/VariableDeclaration.d.ts +0 -3
  75. package/dist/types/handlers/WhileStatement.d.ts +0 -3
  76. package/dist/types/handlers/index.d.ts +0 -17
  77. package/dist/types/index.d.ts +0 -3
  78. package/dist/types/initScope.d.ts +0 -5
  79. package/dist/types/instructions/AddressResolver.d.ts +0 -12
  80. package/dist/types/instructions/ControlInstructions.d.ts +0 -10
  81. package/dist/types/instructions/EndInstruction.d.ts +0 -4
  82. package/dist/types/instructions/InstructionBase.d.ts +0 -14
  83. package/dist/types/instructions/JumpInstruction.d.ts +0 -16
  84. package/dist/types/instructions/OperationInstruction.d.ts +0 -5
  85. package/dist/types/instructions/SetCounterInstruction.d.ts +0 -5
  86. package/dist/types/instructions/SetInstruction.d.ts +0 -6
  87. package/dist/types/instructions/ZeroSpaceInstruction.d.ts +0 -4
  88. package/dist/types/instructions/index.d.ts +0 -9
  89. package/dist/types/macros/Asm.d.ts +0 -5
  90. package/dist/types/macros/Function.d.ts +0 -13
  91. package/dist/types/macros/GetGlobal.d.ts +0 -5
  92. package/dist/types/macros/Math.d.ts +0 -5
  93. package/dist/types/macros/Memory.d.ts +0 -5
  94. package/dist/types/macros/Namespace.d.ts +0 -13
  95. package/dist/types/macros/Other.d.ts +0 -5
  96. package/dist/types/macros/commands/ApplyStatus.d.ts +0 -5
  97. package/dist/types/macros/commands/Control.d.ts +0 -5
  98. package/dist/types/macros/commands/Cutscene.d.ts +0 -5
  99. package/dist/types/macros/commands/Draw.d.ts +0 -5
  100. package/dist/types/macros/commands/DrawFlush.d.ts +0 -5
  101. package/dist/types/macros/commands/End.d.ts +0 -5
  102. package/dist/types/macros/commands/Explosion.d.ts +0 -5
  103. package/dist/types/macros/commands/Fetch.d.ts +0 -5
  104. package/dist/types/macros/commands/FlushMessage.d.ts +0 -5
  105. package/dist/types/macros/commands/GetBlock.d.ts +0 -5
  106. package/dist/types/macros/commands/GetFlag.d.ts +0 -5
  107. package/dist/types/macros/commands/GetLink.d.ts +0 -5
  108. package/dist/types/macros/commands/Lookup.d.ts +0 -5
  109. package/dist/types/macros/commands/PackColor.d.ts +0 -5
  110. package/dist/types/macros/commands/Print.d.ts +0 -5
  111. package/dist/types/macros/commands/PrintFlush.d.ts +0 -5
  112. package/dist/types/macros/commands/Radar.d.ts +0 -7
  113. package/dist/types/macros/commands/Sensor.d.ts +0 -5
  114. package/dist/types/macros/commands/SetBlock.d.ts +0 -5
  115. package/dist/types/macros/commands/SetFlag.d.ts +0 -5
  116. package/dist/types/macros/commands/SetRate.d.ts +0 -5
  117. package/dist/types/macros/commands/SetRule.d.ts +0 -5
  118. package/dist/types/macros/commands/SpawnUnit.d.ts +0 -5
  119. package/dist/types/macros/commands/SpawnWave.d.ts +0 -5
  120. package/dist/types/macros/commands/Stop.d.ts +0 -5
  121. package/dist/types/macros/commands/UnitBind.d.ts +0 -5
  122. package/dist/types/macros/commands/UnitControl.d.ts +0 -5
  123. package/dist/types/macros/commands/UnitLocate.d.ts +0 -5
  124. package/dist/types/macros/commands/UnitRadar.d.ts +0 -5
  125. package/dist/types/macros/commands/Wait.d.ts +0 -5
  126. package/dist/types/macros/commands/index.d.ts +0 -30
  127. package/dist/types/macros/index.d.ts +0 -6
  128. package/dist/types/macros/util.d.ts +0 -18
  129. package/dist/types/operators.d.ts +0 -25
  130. package/dist/types/types.d.ts +0 -238
  131. package/dist/types/utils.d.ts +0 -47
  132. package/dist/types/values/BaseValue.d.ts +0 -9
  133. package/dist/types/values/DestructuringValue.d.ts +0 -17
  134. package/dist/types/values/FunctionValue.d.ts +0 -47
  135. package/dist/types/values/LiteralValue.d.ts +0 -13
  136. package/dist/types/values/ObjectValue.d.ts +0 -23
  137. package/dist/types/values/SenseableValue.d.ts +0 -23
  138. package/dist/types/values/StoreValue.d.ts +0 -15
  139. package/dist/types/values/ValueOwner.d.ts +0 -27
  140. package/dist/types/values/VoidValue.d.ts +0 -16
  141. package/dist/types/values/index.d.ts +0 -7
@@ -1,24 +0,0 @@
1
- import { SenseableValue } from "./values";
2
- import { AddressResolver } from "./instructions";
3
- import { IFunctionValue, IInstruction, IOwnedValue, IScope, IValue, IValueOwner } from "./types";
4
- export declare class Scope implements IScope {
5
- parent: IScope | null;
6
- stacked: boolean;
7
- ntemp: number;
8
- name: string;
9
- inst: IInstruction[];
10
- data: Record<string, IValueOwner | null>;
11
- break: AddressResolver;
12
- continue: AddressResolver;
13
- function: IFunctionValue;
14
- constructor(values: Record<string, IValueOwner | null>, parent?: IScope | null, stacked?: boolean, ntemp?: number, name?: string, inst?: IInstruction[]);
15
- copy(): IScope;
16
- createScope(): IScope;
17
- createFunction(name: string, stacked?: boolean): IScope;
18
- has(identifier: string): boolean;
19
- get(identifier: string): IOwnedValue;
20
- set<T extends IValue>(...args: [name: string, value: T] | [owner: IValueOwner<T>]): T;
21
- hardSet<T extends IValue>(...args: [name: string, value: T] | [owner: IValueOwner<T>]): T;
22
- make(identifier: string, name: string): SenseableValue;
23
- makeTempName(): string;
24
- }
@@ -1,28 +0,0 @@
1
- import { IValue } from "./types";
2
- import { LiteralValue, ObjectValue, StoreValue } from "./values";
3
- /** Asserts that `value` is a `LiteralValue` that contains a string */
4
- export declare function assertStringLiteral(value: IValue | undefined, name: string): asserts value is LiteralValue & {
5
- data: string;
6
- };
7
- /** Asserts that `value` is a string literal that is part of a given set of `members`*/
8
- export declare function assertLiteralOneOf<T extends readonly string[]>(value: IValue | undefined, members: T, name: string): asserts value is LiteralValue & {
9
- data: T[number];
10
- };
11
- /** Asserts that `value` is either a store or a literal */
12
- export declare function assertIsRuntimeValue(value: IValue | undefined, name: string): asserts value is LiteralValue | StoreValue;
13
- /** Asserts that `value` is an `ObjectValue` */
14
- export declare function assertIsObjectMacro(value: IValue | undefined, name: string): asserts value is ObjectValue;
15
- /** Asserts that `value` is an `ObjectValue` that has a length property */
16
- export declare function assertIsArrayMacro(value: IValue | undefined, name: string): asserts value is ObjectValue;
17
- /** Helper type used to describe the overloads of a macro function. See {@link assertObjectFields} */
18
- export declare type TOverloadDescriptor<K extends string> = Record<K, (string | IParameterDescriptor)[]>;
19
- /** Describes an object destructuring paremeter. Generally used with `assertObjectFields` */
20
- export interface IParameterDescriptor {
21
- key: string;
22
- name?: string;
23
- default?: string;
24
- /** Throw an error on invalid values */
25
- validate?(value: IValue): void;
26
- }
27
- /** Asserts that all of the fields described are present on `value`*/
28
- export declare function assertObjectFields(value: ObjectValue, fields: (string | IParameterDescriptor)[]): (IValue | string)[];
@@ -1 +0,0 @@
1
- export {};
@@ -1,2 +0,0 @@
1
- import { IValue, THandler } from "../types";
2
- export declare const BlockStatement: THandler<IValue | null>;
@@ -1,4 +0,0 @@
1
- import { IValue, THandler } from "../types";
2
- export declare const CallExpression: THandler<IValue | null>;
3
- export declare const NewExpression: THandler<IValue | null>;
4
- export declare const TaggedTemplateExpression: THandler<IValue | null>;
@@ -1,2 +0,0 @@
1
- import { IValue, THandler } from "../types";
2
- export declare const File: THandler<IValue | null>;
@@ -1,2 +0,0 @@
1
- import { THandler } from "../types";
2
- export declare const ForStatement: THandler<null>;
@@ -1,5 +0,0 @@
1
- import { THandler } from "../types";
2
- export declare const ArrowFunctionExpression: THandler;
3
- export declare const FunctionDeclaration: THandler;
4
- export declare const FunctionExpression: THandler;
5
- export declare const ObjectMethod: THandler;
@@ -1,2 +0,0 @@
1
- import { THandler } from "../types";
2
- export declare const Identifier: THandler;
@@ -1,2 +0,0 @@
1
- import { THandler } from "../types";
2
- export declare const IfStatement: THandler<null>;
@@ -1,5 +0,0 @@
1
- import { THandler } from "../types";
2
- export declare const NumericLiteral: THandler<import("../types").IValue>;
3
- export declare const StringLiteral: THandler<import("../types").IValue>;
4
- export declare const NullLiteral: THandler;
5
- export declare const BooleanLiteral: THandler;
@@ -1,6 +0,0 @@
1
- import { THandler } from "../types";
2
- export declare const ObjectExpression: THandler;
3
- export declare const ArrayExpression: THandler;
4
- export declare const MemberExpression: THandler;
5
- export declare const ArrayPattern: THandler;
6
- export declare const ObjectPattern: THandler;
@@ -1,8 +0,0 @@
1
- import { THandler } from "../types";
2
- export declare const LRExpression: THandler;
3
- export declare const BinaryExpression: THandler;
4
- export declare const LogicalExpression: THandler;
5
- export declare const AssignmentExpression: THandler;
6
- export declare const UnaryExpression: THandler;
7
- export declare const UpdateExpression: THandler;
8
- export declare const ConditionalExpression: THandler;
@@ -1,2 +0,0 @@
1
- import { THandler } from "../types";
2
- export declare const Program: THandler<null>;
@@ -1,5 +0,0 @@
1
- import { IValue, THandler } from "../types";
2
- export declare const ExpressionStatement: THandler<IValue | null>;
3
- export declare const BreakStatement: THandler<null>;
4
- export declare const ContinueStatement: THandler<null>;
5
- export declare const ReturnStatement: THandler<IValue | null>;
@@ -1,2 +0,0 @@
1
- import { THandler } from "../types";
2
- export declare const SwitchStatement: THandler<null>;
@@ -1,2 +0,0 @@
1
- import { THandler } from "../types";
2
- export declare const TemplateLiteral: THandler<null>;
@@ -1,7 +0,0 @@
1
- import { THandler } from "../types";
2
- export declare const TSAsExpression: THandler<import("../types").IValue>;
3
- export declare const TSTypeAssertion: THandler<import("../types").IValue>;
4
- export declare const TSInterfaceDeclaration: THandler<null>;
5
- export declare const TSTypeAliasDeclaration: THandler<null>;
6
- export declare const TSEnumDeclaration: THandler<null>;
7
- export declare const TSNonNullExpression: THandler;
@@ -1,3 +0,0 @@
1
- import { THandler } from "../types";
2
- export declare const VariableDeclaration: THandler<null>;
3
- export declare const VariableDeclarator: THandler<null>;
@@ -1,3 +0,0 @@
1
- import { THandler } from "../types";
2
- export declare const WhileStatement: THandler<null>;
3
- export declare const DoWhileStatement: THandler<null>;
@@ -1,17 +0,0 @@
1
- export * from "./Program";
2
- export * from "./VariableDeclaration";
3
- export * from "./Literal";
4
- export * from "./OperationExpressions";
5
- export * from "./Identifier";
6
- export * from "./Statements";
7
- export * from "./IfStatement";
8
- export * from "./SwitchStatement";
9
- export * from "./WhileStatement";
10
- export * from "./ForStatement";
11
- export * from "./Function";
12
- export * from "./CallExpression";
13
- export * from "./Object";
14
- export * from "./TemplateExpression";
15
- export * from "./BlockStatement";
16
- export * from "./File";
17
- export * from "./Typescript";
@@ -1,3 +0,0 @@
1
- export { Compiler, CompilerOptions } from "./Compiler";
2
- export { CompilerError } from "./CompilerError";
3
- export { SourceLocation } from "@babel/types";
@@ -1,5 +0,0 @@
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 +0,0 @@
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[];
7
- constructor(...bonds: IBindableValue[]);
8
- resolve(i: number): void;
9
- bind(bond: IBindableValue): void;
10
- bindBreak(scope: IScope): this;
11
- bindContinue(scope: IScope): this;
12
- }
@@ -1,10 +0,0 @@
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);
6
- }
7
- export declare class ContinueInstruction extends JumpInstruction {
8
- intent: EInstIntent;
9
- constructor(address: IBindableValue);
10
- }
@@ -1,4 +0,0 @@
1
- import { InstructionBase } from "./InstructionBase";
2
- export declare class EndInstruction extends InstructionBase {
3
- constructor();
4
- }
@@ -1,14 +0,0 @@
1
- import { SourceLocation } from "@babel/types";
2
- import { EInstIntent, IInstruction, IValue } from "../types";
3
- export declare class InstructionBase implements IInstruction {
4
- intent: EInstIntent;
5
- alwaysRuns: boolean;
6
- protected _hidden: boolean;
7
- get hidden(): boolean;
8
- set hidden(value: boolean);
9
- args: (string | IValue | null)[];
10
- source?: SourceLocation;
11
- constructor(...args: (string | IValue | null)[]);
12
- resolve(_i: number): void;
13
- toString(): string;
14
- }
@@ -1,16 +0,0 @@
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;
15
- constructor(address: IBindableValue, kind: EJumpKind, left?: IValue | null, right?: IValue | null);
16
- }
@@ -1,5 +0,0 @@
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 +0,0 @@
1
- import { InstructionBase } from ".";
2
- import { IValue } from "../types";
3
- export declare class SetCounterInstruction extends InstructionBase {
4
- constructor(value: IValue);
5
- }
@@ -1,6 +0,0 @@
1
- import { InstructionBase } from ".";
2
- import { IValue } from "../types";
3
- export declare class SetInstruction extends InstructionBase {
4
- constructor(store: IValue, value: IValue);
5
- get hidden(): boolean;
6
- }
@@ -1,4 +0,0 @@
1
- import { InstructionBase } from "./InstructionBase";
2
- export declare class ZeroSpaceInstruction extends InstructionBase {
3
- toString(): string;
4
- }
@@ -1,9 +0,0 @@
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,5 +0,0 @@
1
- import { IScope } from "../types";
2
- import { MacroFunction } from "./Function";
3
- export declare class Asm extends MacroFunction<null> {
4
- constructor(scope: IScope);
5
- }
@@ -1,13 +0,0 @@
1
- import { IScope, IValue, TValueInstructions } from "../types";
2
- import { VoidValue } from "../values";
3
- declare type TFunction<T extends IValue | null> = (...args: IValue[]) => TValueInstructions<T>;
4
- export declare class MacroFunction<RT extends IValue | null = IValue> extends VoidValue {
5
- macro: boolean;
6
- constant: boolean;
7
- fn: TFunction<RT>;
8
- constructor(scope: IScope, fn: TFunction<RT>);
9
- call(scope: IScope, args: IValue[]): TValueInstructions<RT>;
10
- eval(_scope: IScope): TValueInstructions;
11
- consume(_scope: IScope): TValueInstructions;
12
- }
13
- export {};
@@ -1,5 +0,0 @@
1
- import { EMutability, IScope } from "../types";
2
- import { MacroFunction } from "./Function";
3
- export declare class GetGlobal extends MacroFunction {
4
- constructor(scope: IScope, mutability: EMutability);
5
- }
@@ -1,5 +0,0 @@
1
- import { IScope } from "../types";
2
- import { ObjectValue } from "../values";
3
- export declare class MlogMath extends ObjectValue {
4
- constructor(scope: IScope);
5
- }
@@ -1,5 +0,0 @@
1
- import { IScope } from "../types";
2
- import { ObjectValue } from "../values";
3
- export declare class MemoryBuilder extends ObjectValue {
4
- constructor(scope: IScope);
5
- }
@@ -1,13 +0,0 @@
1
- import { IScope } 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(scope: IScope, { changeCasing }?: NamespaceMacroOptions);
9
- }
10
- export declare class VarsNamespace extends NamespaceMacro {
11
- constructor(scope: IScope);
12
- }
13
- export {};
@@ -1,5 +0,0 @@
1
- import { IScope } from "../types";
2
- import { MacroFunction } from "./Function";
3
- export declare class Concat extends MacroFunction {
4
- constructor(scope: IScope);
5
- }
@@ -1,5 +0,0 @@
1
- import { IScope } from "../../types";
2
- import { ObjectValue } from "../../values";
3
- export declare class ApplyStatus extends ObjectValue {
4
- constructor(scope: IScope);
5
- }
@@ -1,5 +0,0 @@
1
- import { IScope } from "../../types";
2
- import { ObjectValue } from "../../values";
3
- export declare class Control extends ObjectValue {
4
- constructor(scope: IScope);
5
- }
@@ -1,5 +0,0 @@
1
- import { IScope } from "../../types";
2
- import { ObjectValue } from "../../values";
3
- export declare class Cutscene extends ObjectValue {
4
- constructor(scope: IScope);
5
- }
@@ -1,5 +0,0 @@
1
- import { IScope } from "../../types";
2
- import { ObjectValue } from "../../values";
3
- export declare class Draw extends ObjectValue {
4
- constructor(scope: IScope);
5
- }
@@ -1,5 +0,0 @@
1
- import { MacroFunction } from "..";
2
- import { IScope } from "../../types";
3
- export declare class DrawFlush extends MacroFunction<null> {
4
- constructor(scope: IScope);
5
- }
@@ -1,5 +0,0 @@
1
- import { IScope } from "../../types";
2
- import { MacroFunction } from "../Function";
3
- export declare class End extends MacroFunction<null> {
4
- constructor(scope: IScope);
5
- }
@@ -1,5 +0,0 @@
1
- import { IScope } from "../../types";
2
- import { MacroFunction } from "../Function";
3
- export declare class Explosion extends MacroFunction<null> {
4
- constructor(scope: IScope);
5
- }
@@ -1,5 +0,0 @@
1
- import { IScope } from "../../types";
2
- import { ObjectValue } from "../../values";
3
- export declare class Fetch extends ObjectValue {
4
- constructor(scope: IScope);
5
- }
@@ -1,5 +0,0 @@
1
- import { IScope } from "../../types";
2
- import { ObjectValue } from "../../values";
3
- export declare class FlushMessage extends ObjectValue {
4
- constructor(scope: IScope);
5
- }
@@ -1,5 +0,0 @@
1
- import { IScope } from "../../types";
2
- import { ObjectValue } from "../../values";
3
- export declare class GetBlock extends ObjectValue {
4
- constructor(scope: IScope);
5
- }
@@ -1,5 +0,0 @@
1
- import { IScope } from "../../types";
2
- import { MacroFunction } from "../Function";
3
- export declare class GetFlag extends MacroFunction {
4
- constructor(scope: IScope);
5
- }
@@ -1,5 +0,0 @@
1
- import { MacroFunction } from "..";
2
- import { IScope } from "../../types";
3
- export declare class GetLink extends MacroFunction {
4
- constructor(scope: IScope);
5
- }
@@ -1,5 +0,0 @@
1
- import { IScope } from "../../types";
2
- import { ObjectValue } from "../../values";
3
- export declare class Lookup extends ObjectValue {
4
- constructor(scope: IScope);
5
- }
@@ -1,5 +0,0 @@
1
- import { IScope } from "../../types";
2
- import { MacroFunction } from "../Function";
3
- export declare class PackColor extends MacroFunction {
4
- constructor(scope: IScope);
5
- }
@@ -1,5 +0,0 @@
1
- import { MacroFunction } from "..";
2
- import { IScope } from "../../types";
3
- export declare class Print extends MacroFunction<null> {
4
- constructor(scope: IScope);
5
- }
@@ -1,5 +0,0 @@
1
- import { MacroFunction } from "..";
2
- import { IScope } from "../../types";
3
- export declare class PrintFlush extends MacroFunction<null> {
4
- constructor(scope: IScope);
5
- }
@@ -1,7 +0,0 @@
1
- import { MacroFunction } from "..";
2
- import { IScope } from "../../types";
3
- export declare const validRadarFilters: readonly ["any", "enemy", "ally", "player", "attacker", "flying", "boss", "ground"];
4
- export declare const validRadarSorts: readonly ["distance", "health", "shield", "armor", "maxHealth"];
5
- export declare class Radar extends MacroFunction {
6
- constructor(scope: IScope);
7
- }
@@ -1,5 +0,0 @@
1
- import { MacroFunction } from "..";
2
- import { IScope } from "../../types";
3
- export declare class Sensor extends MacroFunction {
4
- constructor(scope: IScope);
5
- }
@@ -1,5 +0,0 @@
1
- import { IScope } from "../../types";
2
- import { ObjectValue } from "../../values";
3
- export declare class SetBlock extends ObjectValue {
4
- constructor(scope: IScope);
5
- }
@@ -1,5 +0,0 @@
1
- import { IScope } from "../../types";
2
- import { MacroFunction } from "../Function";
3
- export declare class SetFlag extends MacroFunction<null> {
4
- constructor(scope: IScope);
5
- }
@@ -1,5 +0,0 @@
1
- import { IScope } from "../../types";
2
- import { MacroFunction } from "../Function";
3
- export declare class SetRate extends MacroFunction<null> {
4
- constructor(scope: IScope);
5
- }
@@ -1,5 +0,0 @@
1
- import { IScope } from "../../types";
2
- import { ObjectValue } from "../../values";
3
- export declare class SetRule extends ObjectValue {
4
- constructor(scope: IScope);
5
- }
@@ -1,5 +0,0 @@
1
- import { IScope } from "../../types";
2
- import { MacroFunction } from "../Function";
3
- export declare class SpawnUnit extends MacroFunction {
4
- constructor(scope: IScope);
5
- }
@@ -1,5 +0,0 @@
1
- import { IScope } from "../../types";
2
- import { MacroFunction } from "../Function";
3
- export declare class SpawnWave extends MacroFunction<null> {
4
- constructor(scope: IScope);
5
- }
@@ -1,5 +0,0 @@
1
- import { IScope } from "../../types";
2
- import { MacroFunction } from "../Function";
3
- export declare class Stop extends MacroFunction<null> {
4
- constructor(scope: IScope);
5
- }
@@ -1,5 +0,0 @@
1
- import { MacroFunction } from "..";
2
- import { IScope } from "../../types";
3
- export declare class UnitBind extends MacroFunction<null> {
4
- constructor(scope: IScope);
5
- }
@@ -1,5 +0,0 @@
1
- import { IScope } from "../../types";
2
- import { ObjectValue } from "../../values";
3
- export declare class UnitControl extends ObjectValue {
4
- constructor(scope: IScope);
5
- }
@@ -1,5 +0,0 @@
1
- import { IScope } from "../../types";
2
- import { ObjectValue } from "../../values";
3
- export declare class UnitLocate extends ObjectValue {
4
- constructor(scope: IScope);
5
- }
@@ -1,5 +0,0 @@
1
- import { MacroFunction } from "..";
2
- import { IScope } from "../../types";
3
- export declare class UnitRadar extends MacroFunction {
4
- constructor(scope: IScope);
5
- }
@@ -1,5 +0,0 @@
1
- import { MacroFunction } from "..";
2
- import { IScope } from "../../types";
3
- export declare class Wait extends MacroFunction<null> {
4
- constructor(scope: IScope);
5
- }
@@ -1,30 +0,0 @@
1
- export * from "./Draw";
2
- export * from "./Print";
3
- export * from "./PrintFlush";
4
- export * from "./DrawFlush";
5
- export * from "./GetBlock";
6
- export * from "./GetLink";
7
- export * from "./Control";
8
- export { Radar } from "./Radar";
9
- export * from "./Sensor";
10
- export * from "./Wait";
11
- export * from "./Lookup";
12
- export * from "./PackColor";
13
- export * from "./End";
14
- export * from "./SetBlock";
15
- export * from "./SpawnUnit";
16
- export * from "./Stop";
17
- export * from "./UnitBind";
18
- export * from "./UnitControl";
19
- export * from "./UnitRadar";
20
- export * from "./UnitLocate";
21
- export * from "./ApplyStatus";
22
- export * from "./SpawnWave";
23
- export * from "./SetRule";
24
- export * from "./FlushMessage";
25
- export * from "./Cutscene";
26
- export * from "./Explosion";
27
- export * from "./SetRate";
28
- export * from "./Fetch";
29
- export * from "./GetFlag";
30
- export * from "./SetFlag";
@@ -1,6 +0,0 @@
1
- export * from "./Function";
2
- export * from "./Math";
3
- export * from "./Other";
4
- export * as commands from "./commands";
5
- export * from "./Memory";
6
- export { NamespaceMacro, VarsNamespace } from "./Namespace";