mirror of
https://github.com/Heretek-AI/GDevelop.git
synced 2026-07-21 09:35:27 -04:00
75bfa5cb45
- Global or scene variables can be used with a unique action and condition. - Object variables can be used with a unique action and condition. - Variables need to be declared following the same logic as the new expression syntax. - Local variable can be declared on events - Extensions have their own variables - Show a diagnostic report when a preview is launched and there are missing scene variables, object variables or behaviors. - This is especially useful if external events are shared between several scenes.
12 lines
898 B
JavaScript
12 lines
898 B
JavaScript
// Automatically generated by GDevelop.js/scripts/generate-types.js
|
|
declare class gdVariableInstructionSwitcher {
|
|
static isSwitchableVariableInstruction(instructionType: string): boolean;
|
|
static isSwitchableObjectVariableInstruction(instructionType: string): boolean;
|
|
static getSwitchableVariableInstructionIdentifier(instructionType: string): string;
|
|
static getSwitchableInstructionVariableType(instructionType: string): Variable_Type;
|
|
static switchVariableInstructionType(instruction: gdInstruction, variableType: Variable_Type): void;
|
|
static getVariableTypeFromParameters(platform: gdPlatform, projectScopedContainers: gdProjectScopedContainers, instruction: gdInstruction): Variable_Type;
|
|
static switchBetweenUnifiedInstructionIfNeeded(platform: gdPlatform, projectScopedContainers: gdProjectScopedContainers, instruction: gdInstruction): void;
|
|
delete(): void;
|
|
ptr: number;
|
|
}; |