@nice2dev/game-engine 1.3.13 → 1.3.15
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/CHANGELOG.md +8 -0
- package/package.json +2 -2
- package/dist/types/accessibility/index.d.ts +0 -1
- package/dist/types/ai/index.d.ts +0 -1
- package/dist/types/animation/index.d.ts +0 -1
- package/dist/types/audio/HRTFAudio.d.ts +0 -180
- package/dist/types/audio/index.d.ts +0 -2
- package/dist/types/community/Community.d.ts +0 -112
- package/dist/types/community/index.d.ts +0 -1
- package/dist/types/core/TypeSafety.d.ts +0 -190
- package/dist/types/core/index.d.ts +0 -7
- package/dist/types/devtools/AssetStore.d.ts +0 -133
- package/dist/types/devtools/index.d.ts +0 -3
- package/dist/types/dialogue/index.d.ts +0 -2
- package/dist/types/docs/APIPlayground.d.ts +0 -26
- package/dist/types/docs/Cookbook.d.ts +0 -18
- package/dist/types/docs/Guides.d.ts +0 -18
- package/dist/types/docs/index.d.ts +0 -4
- package/dist/types/ecs/ECSOptimized.d.ts +0 -131
- package/dist/types/ecs/index.d.ts +0 -2
- package/dist/types/editor/NiceAnimationTimeline.d.ts +0 -114
- package/dist/types/editor/NiceLevelEditor.d.ts +0 -232
- package/dist/types/editor/NiceMaterialEditor.d.ts +0 -105
- package/dist/types/editor/NiceNodeGraph.d.ts +0 -87
- package/dist/types/editor/NiceParticleEditor.d.ts +0 -127
- package/dist/types/editor/behavior-tree/BTDebugPanel.d.ts +0 -102
- package/dist/types/editor/behavior-tree/BTEditorCanvas.d.ts +0 -79
- package/dist/types/editor/behavior-tree/BTEditorNode.d.ts +0 -58
- package/dist/types/editor/behavior-tree/BTEditorToolbar.d.ts +0 -75
- package/dist/types/editor/behavior-tree/BTNodePalette.d.ts +0 -72
- package/dist/types/editor/behavior-tree/BTPropertyPanel.d.ts +0 -66
- package/dist/types/editor/behavior-tree/BehaviorTreeEditor.d.ts +0 -186
- package/dist/types/editor/behavior-tree/index.d.ts +0 -14
- package/dist/types/editor/behavior-tree/serialization.d.ts +0 -30
- package/dist/types/editor/behavior-tree/types.d.ts +0 -299
- package/dist/types/editor/index.d.ts +0 -20
- package/dist/types/editor/state-machine/SMEditorCanvas.d.ts +0 -61
- package/dist/types/editor/state-machine/StateMachineEditor.d.ts +0 -139
- package/dist/types/editor/state-machine/index.d.ts +0 -11
- package/dist/types/editor/state-machine/serialization.d.ts +0 -23
- package/dist/types/editor/state-machine/types.d.ts +0 -241
- package/dist/types/engine/index.d.ts +0 -2
- package/dist/types/enterprise/index.d.ts +0 -1
- package/dist/types/epic/index.d.ts +0 -10
- package/dist/types/i18n/index.d.ts +0 -2
- package/dist/types/input/index.d.ts +0 -3
- package/dist/types/kids/index.d.ts +0 -2
- package/dist/types/legendary/index.d.ts +0 -57
- package/dist/types/monetization/index.d.ts +0 -1
- package/dist/types/multiplayer/NiceNetcode.d.ts +0 -434
- package/dist/types/multiplayer/index.d.ts +0 -5
- package/dist/types/network/index.d.ts +0 -2
- package/dist/types/pathfinding/index.d.ts +0 -1
- package/dist/types/performance/AssetCompression.d.ts +0 -137
- package/dist/types/performance/WASMModules.d.ts +0 -65
- package/dist/types/performance/WebGPUCompute.d.ts +0 -71
- package/dist/types/performance/index.d.ts +0 -1
- package/dist/types/physics/RapierIntegration.d.ts +0 -404
- package/dist/types/physics/index.d.ts +0 -2
- package/dist/types/plugins/index.d.ts +0 -2
- package/dist/types/procedural/index.d.ts +0 -2
- package/dist/types/release/index.d.ts +0 -1
- package/dist/types/rendering/WebGPUv2.d.ts +0 -173
- package/dist/types/rendering/index.d.ts +0 -3
- package/dist/types/runtime3d/index.d.ts +0 -2
- package/dist/types/scene/index.d.ts +0 -2
- package/dist/types/scripting/WasmCompiler.d.ts +0 -182
- package/dist/types/scripting/index.d.ts +0 -19
- package/dist/types/social/index.d.ts +0 -1
- package/dist/types/systems/NiceAI.d.ts +0 -637
- package/dist/types/systems/NiceAbility.d.ts +0 -225
- package/dist/types/systems/NiceAccessibility.d.ts +0 -230
- package/dist/types/systems/NiceAchievement.d.ts +0 -153
- package/dist/types/systems/NiceAchievementUI.d.ts +0 -196
- package/dist/types/systems/NiceAchievements.d.ts +0 -230
- package/dist/types/systems/NiceAction.d.ts +0 -81
- package/dist/types/systems/NiceAlchemy.d.ts +0 -195
- package/dist/types/systems/NiceAnalytics.d.ts +0 -493
- package/dist/types/systems/NiceAnimation.d.ts +0 -350
- package/dist/types/systems/NiceArena.d.ts +0 -215
- package/dist/types/systems/NiceAssetLoader.d.ts +0 -136
- package/dist/types/systems/NiceAuction.d.ts +0 -157
- package/dist/types/systems/NiceAudio.d.ts +0 -224
- package/dist/types/systems/NiceAugment.d.ts +0 -187
- package/dist/types/systems/NiceAura.d.ts +0 -193
- package/dist/types/systems/NiceBank.d.ts +0 -158
- package/dist/types/systems/NiceBattlePass.d.ts +0 -150
- package/dist/types/systems/NiceBehavior.d.ts +0 -160
- package/dist/types/systems/NiceBinding.d.ts +0 -96
- package/dist/types/systems/NiceBlacksmith.d.ts +0 -221
- package/dist/types/systems/NiceBuff.d.ts +0 -177
- package/dist/types/systems/NiceBuilding.d.ts +0 -207
- package/dist/types/systems/NiceBullet.d.ts +0 -167
- package/dist/types/systems/NiceCamera.d.ts +0 -252
- package/dist/types/systems/NiceCard.d.ts +0 -171
- package/dist/types/systems/NiceChat.d.ts +0 -148
- package/dist/types/systems/NiceCheat.d.ts +0 -375
- package/dist/types/systems/NiceClimbing.d.ts +0 -186
- package/dist/types/systems/NiceCloud.d.ts +0 -422
- package/dist/types/systems/NiceCollision.d.ts +0 -238
- package/dist/types/systems/NiceCombo.d.ts +0 -131
- package/dist/types/systems/NiceCommand.d.ts +0 -112
- package/dist/types/systems/NiceCompanion.d.ts +0 -182
- package/dist/types/systems/NiceController.d.ts +0 -144
- package/dist/types/systems/NiceCooking.d.ts +0 -193
- package/dist/types/systems/NiceCoroutine.d.ts +0 -101
- package/dist/types/systems/NiceCrafting.d.ts +0 -228
- package/dist/types/systems/NiceCutscene.d.ts +0 -437
- package/dist/types/systems/NiceDaily.d.ts +0 -133
- package/dist/types/systems/NiceDamage.d.ts +0 -271
- package/dist/types/systems/NiceDayNight.d.ts +0 -126
- package/dist/types/systems/NiceDebug.d.ts +0 -255
- package/dist/types/systems/NiceDestructible.d.ts +0 -150
- package/dist/types/systems/NiceDialogue.d.ts +0 -629
- package/dist/types/systems/NiceDungeon.d.ts +0 -202
- package/dist/types/systems/NiceECS.d.ts +0 -151
- package/dist/types/systems/NiceEnchant.d.ts +0 -148
- package/dist/types/systems/NiceEntityPool.d.ts +0 -127
- package/dist/types/systems/NiceEquipment.d.ts +0 -137
- package/dist/types/systems/NiceEvent.d.ts +0 -202
- package/dist/types/systems/NiceEventBus.d.ts +0 -164
- package/dist/types/systems/NiceFaction.d.ts +0 -173
- package/dist/types/systems/NiceFarming.d.ts +0 -163
- package/dist/types/systems/NiceFishing.d.ts +0 -196
- package/dist/types/systems/NiceFlocking.d.ts +0 -156
- package/dist/types/systems/NiceFog.d.ts +0 -137
- package/dist/types/systems/NiceFormation.d.ts +0 -140
- package/dist/types/systems/NiceGacha.d.ts +0 -134
- package/dist/types/systems/NiceGambling.d.ts +0 -175
- package/dist/types/systems/NiceGem.d.ts +0 -165
- package/dist/types/systems/NiceGesture.d.ts +0 -502
- package/dist/types/systems/NiceGrappling.d.ts +0 -154
- package/dist/types/systems/NiceGrid.d.ts +0 -142
- package/dist/types/systems/NiceGuild.d.ts +0 -162
- package/dist/types/systems/NiceHaptics.d.ts +0 -112
- package/dist/types/systems/NiceHousing.d.ts +0 -197
- package/dist/types/systems/NiceInput.d.ts +0 -280
- package/dist/types/systems/NiceInventory.d.ts +0 -534
- package/dist/types/systems/NiceLOD.d.ts +0 -144
- package/dist/types/systems/NiceLeaderboard.d.ts +0 -191
- package/dist/types/systems/NiceLevel.d.ts +0 -304
- package/dist/types/systems/NiceLighting.d.ts +0 -214
- package/dist/types/systems/NiceLocalization.d.ts +0 -148
- package/dist/types/systems/NiceLocomotion.d.ts +0 -398
- package/dist/types/systems/NiceLogger.d.ts +0 -117
- package/dist/types/systems/NiceLoot.d.ts +0 -176
- package/dist/types/systems/NiceMail.d.ts +0 -164
- package/dist/types/systems/NiceMap.d.ts +0 -234
- package/dist/types/systems/NiceMarriage.d.ts +0 -150
- package/dist/types/systems/NiceMastery.d.ts +0 -171
- package/dist/types/systems/NiceMatch.d.ts +0 -196
- package/dist/types/systems/NiceMatch3.d.ts +0 -118
- package/dist/types/systems/NiceMessageBus.d.ts +0 -115
- package/dist/types/systems/NiceMinimap.d.ts +0 -258
- package/dist/types/systems/NiceMining.d.ts +0 -175
- package/dist/types/systems/NiceModding.d.ts +0 -452
- package/dist/types/systems/NiceMount.d.ts +0 -152
- package/dist/types/systems/NiceNavigation.d.ts +0 -307
- package/dist/types/systems/NiceNetwork.d.ts +0 -568
- package/dist/types/systems/NiceNotification.d.ts +0 -438
- package/dist/types/systems/NiceObjective.d.ts +0 -395
- package/dist/types/systems/NiceParticle.d.ts +0 -639
- package/dist/types/systems/NiceParty.d.ts +0 -168
- package/dist/types/systems/NicePerformance.d.ts +0 -144
- package/dist/types/systems/NicePet.d.ts +0 -167
- package/dist/types/systems/NicePhotoMode.d.ts +0 -270
- package/dist/types/systems/NicePhysics.d.ts +0 -326
- package/dist/types/systems/NicePlatformer.d.ts +0 -158
- package/dist/types/systems/NicePool.d.ts +0 -128
- package/dist/types/systems/NicePortal.d.ts +0 -178
- package/dist/types/systems/NicePostProcess.d.ts +0 -254
- package/dist/types/systems/NiceProcedural.d.ts +0 -202
- package/dist/types/systems/NiceProfile.d.ts +0 -223
- package/dist/types/systems/NiceProjectile.d.ts +0 -157
- package/dist/types/systems/NicePvP.d.ts +0 -199
- package/dist/types/systems/NiceQTE.d.ts +0 -160
- package/dist/types/systems/NiceQuest.d.ts +0 -620
- package/dist/types/systems/NiceRaid.d.ts +0 -215
- package/dist/types/systems/NiceRanking.d.ts +0 -399
- package/dist/types/systems/NiceReplay.d.ts +0 -180
- package/dist/types/systems/NiceReputation.d.ts +0 -151
- package/dist/types/systems/NiceResource.d.ts +0 -200
- package/dist/types/systems/NiceRhythm.d.ts +0 -148
- package/dist/types/systems/NiceRoguelike.d.ts +0 -276
- package/dist/types/systems/NiceRune.d.ts +0 -202
- package/dist/types/systems/NiceSaveSystem.d.ts +0 -194
- package/dist/types/systems/NiceSceneManager.d.ts +0 -112
- package/dist/types/systems/NiceScore.d.ts +0 -186
- package/dist/types/systems/NiceScreenFX.d.ts +0 -235
- package/dist/types/systems/NiceScreenshot.d.ts +0 -443
- package/dist/types/systems/NiceScribe.d.ts +0 -239
- package/dist/types/systems/NiceSeason.d.ts +0 -176
- package/dist/types/systems/NiceSerialization.d.ts +0 -89
- package/dist/types/systems/NiceServiceLocator.d.ts +0 -94
- package/dist/types/systems/NiceShop.d.ts +0 -528
- package/dist/types/systems/NiceSignal.d.ts +0 -112
- package/dist/types/systems/NiceSkillTree.d.ts +0 -237
- package/dist/types/systems/NiceSocial.d.ts +0 -580
- package/dist/types/systems/NiceSpawner.d.ts +0 -237
- package/dist/types/systems/NiceSpell.d.ts +0 -216
- package/dist/types/systems/NiceState.d.ts +0 -224
- package/dist/types/systems/NiceStateMachine.d.ts +0 -108
- package/dist/types/systems/NiceStatus.d.ts +0 -116
- package/dist/types/systems/NiceStealth.d.ts +0 -204
- package/dist/types/systems/NiceSteam.d.ts +0 -255
- package/dist/types/systems/NiceStreaming.d.ts +0 -173
- package/dist/types/systems/NiceSwimming.d.ts +0 -166
- package/dist/types/systems/NiceTalent.d.ts +0 -154
- package/dist/types/systems/NiceTarget.d.ts +0 -121
- package/dist/types/systems/NiceTerrain.d.ts +0 -143
- package/dist/types/systems/NiceTilemap.d.ts +0 -218
- package/dist/types/systems/NiceTimer.d.ts +0 -153
- package/dist/types/systems/NiceTournament.d.ts +0 -190
- package/dist/types/systems/NiceTrading.d.ts +0 -238
- package/dist/types/systems/NiceTransmog.d.ts +0 -142
- package/dist/types/systems/NiceTutorial.d.ts +0 -248
- package/dist/types/systems/NiceTween.d.ts +0 -164
- package/dist/types/systems/NiceUI.d.ts +0 -364
- package/dist/types/systems/NiceVFX.d.ts +0 -333
- package/dist/types/systems/NiceVehicle.d.ts +0 -176
- package/dist/types/systems/NiceVoice.d.ts +0 -502
- package/dist/types/systems/NiceWater.d.ts +0 -162
- package/dist/types/systems/NiceWave.d.ts +0 -174
- package/dist/types/systems/NiceWaypoint.d.ts +0 -165
- package/dist/types/systems/NiceWeather.d.ts +0 -225
- package/dist/types/systems/NiceXR.d.ts +0 -187
- package/dist/types/systems/index.d.ts +0 -182
- package/dist/types/templates/index.d.ts +0 -2
- package/dist/types/tilemap/index.d.ts +0 -1
- package/dist/types/tutorials/TutorialEditor.d.ts +0 -43
- package/dist/types/tutorials/VoiceNarration.d.ts +0 -75
- package/dist/types/tutorials/content/Tutorials_T04.d.ts +0 -3
- package/dist/types/tutorials/content/UITutorials.d.ts +0 -14
- package/dist/types/tutorials/content/index.d.ts +0 -5
- package/dist/types/tutorials/index.d.ts +0 -6
- package/dist/types/ui/index.d.ts +0 -2
- package/dist/types/visual-scripting/VisualScriptDebugger.d.ts +0 -145
- package/dist/types/visual-scripting/VisualScriptExecutor.d.ts +0 -100
- package/dist/types/visual-scripting/VisualScriptGraph.d.ts +0 -173
- package/dist/types/visual-scripting/VisualScriptNode.d.ts +0 -157
- package/dist/types/visual-scripting/index.d.ts +0 -6
- package/dist/types/visual-scripting/nodes/ActionNodes.d.ts +0 -152
- package/dist/types/visual-scripting/nodes/EventNodes.d.ts +0 -95
- package/dist/types/visual-scripting/nodes/FlowControlNodes.d.ts +0 -134
- package/dist/types/visual-scripting/nodes/LogicNodes.d.ts +0 -122
- package/dist/types/visual-scripting/nodes/MathNodes.d.ts +0 -170
- package/dist/types/visual-scripting/nodes/UtilityNodes.d.ts +0 -131
- package/dist/types/visual-scripting/nodes/VariableNodes.d.ts +0 -107
- package/dist/types/visual-scripting/nodes/index.d.ts +0 -21
- package/dist/types/visual-scripting/nodes/registerNodes.d.ts +0 -29
- package/dist/types/visual-scripting/types.d.ts +0 -402
- package/dist/types/xr/WebXRLayers.d.ts +0 -319
- package/dist/types/xr/index.d.ts +0 -2
|
@@ -1,131 +0,0 @@
|
|
|
1
|
-
import type { ExecutionContext, ExecutionResult } from '../types';
|
|
2
|
-
import { PureFunctionNode, VisualScriptNode, type NodeMetadata } from '../VisualScriptNode';
|
|
3
|
-
export declare class ConcatStringsNode extends PureFunctionNode {
|
|
4
|
-
static readonly metadata: NodeMetadata;
|
|
5
|
-
constructor();
|
|
6
|
-
protected setupPins(): void;
|
|
7
|
-
execute(context: ExecutionContext): ExecutionResult;
|
|
8
|
-
}
|
|
9
|
-
export declare class StringLengthNode extends PureFunctionNode {
|
|
10
|
-
static readonly metadata: NodeMetadata;
|
|
11
|
-
constructor();
|
|
12
|
-
protected setupPins(): void;
|
|
13
|
-
execute(context: ExecutionContext): ExecutionResult;
|
|
14
|
-
}
|
|
15
|
-
export declare class SubstringNode extends PureFunctionNode {
|
|
16
|
-
static readonly metadata: NodeMetadata;
|
|
17
|
-
constructor();
|
|
18
|
-
protected setupPins(): void;
|
|
19
|
-
execute(context: ExecutionContext): ExecutionResult;
|
|
20
|
-
}
|
|
21
|
-
export declare class ToUpperCaseNode extends PureFunctionNode {
|
|
22
|
-
static readonly metadata: NodeMetadata;
|
|
23
|
-
constructor();
|
|
24
|
-
protected setupPins(): void;
|
|
25
|
-
execute(context: ExecutionContext): ExecutionResult;
|
|
26
|
-
}
|
|
27
|
-
export declare class ToLowerCaseNode extends PureFunctionNode {
|
|
28
|
-
static readonly metadata: NodeMetadata;
|
|
29
|
-
constructor();
|
|
30
|
-
protected setupPins(): void;
|
|
31
|
-
execute(context: ExecutionContext): ExecutionResult;
|
|
32
|
-
}
|
|
33
|
-
export declare class StringContainsNode extends PureFunctionNode {
|
|
34
|
-
static readonly metadata: NodeMetadata;
|
|
35
|
-
constructor();
|
|
36
|
-
protected setupPins(): void;
|
|
37
|
-
execute(context: ExecutionContext): ExecutionResult;
|
|
38
|
-
}
|
|
39
|
-
export declare class FormatStringNode extends PureFunctionNode {
|
|
40
|
-
static readonly metadata: NodeMetadata;
|
|
41
|
-
constructor();
|
|
42
|
-
protected setupPins(): void;
|
|
43
|
-
execute(context: ExecutionContext): ExecutionResult;
|
|
44
|
-
}
|
|
45
|
-
export declare class ArrayLengthNode extends PureFunctionNode {
|
|
46
|
-
static readonly metadata: NodeMetadata;
|
|
47
|
-
constructor();
|
|
48
|
-
protected setupPins(): void;
|
|
49
|
-
execute(context: ExecutionContext): ExecutionResult;
|
|
50
|
-
}
|
|
51
|
-
export declare class ArrayGetNode extends PureFunctionNode {
|
|
52
|
-
static readonly metadata: NodeMetadata;
|
|
53
|
-
constructor();
|
|
54
|
-
protected setupPins(): void;
|
|
55
|
-
execute(context: ExecutionContext): ExecutionResult;
|
|
56
|
-
}
|
|
57
|
-
export declare class ArrayAddNode extends VisualScriptNode {
|
|
58
|
-
static readonly metadata: NodeMetadata;
|
|
59
|
-
constructor();
|
|
60
|
-
protected setupPins(): void;
|
|
61
|
-
execute(context: ExecutionContext): ExecutionResult;
|
|
62
|
-
getNextExecutionPin(): string | null;
|
|
63
|
-
}
|
|
64
|
-
export declare class ArrayRemoveNode extends VisualScriptNode {
|
|
65
|
-
static readonly metadata: NodeMetadata;
|
|
66
|
-
constructor();
|
|
67
|
-
protected setupPins(): void;
|
|
68
|
-
execute(context: ExecutionContext): ExecutionResult;
|
|
69
|
-
getNextExecutionPin(): string | null;
|
|
70
|
-
}
|
|
71
|
-
export declare class ArrayContainsNode extends PureFunctionNode {
|
|
72
|
-
static readonly metadata: NodeMetadata;
|
|
73
|
-
constructor();
|
|
74
|
-
protected setupPins(): void;
|
|
75
|
-
execute(context: ExecutionContext): ExecutionResult;
|
|
76
|
-
}
|
|
77
|
-
export declare class ArrayClearNode extends VisualScriptNode {
|
|
78
|
-
static readonly metadata: NodeMetadata;
|
|
79
|
-
constructor();
|
|
80
|
-
protected setupPins(): void;
|
|
81
|
-
execute(context: ExecutionContext): ExecutionResult;
|
|
82
|
-
getNextExecutionPin(): string | null;
|
|
83
|
-
}
|
|
84
|
-
export declare class GetDeltaTimeNode extends PureFunctionNode {
|
|
85
|
-
static readonly metadata: NodeMetadata;
|
|
86
|
-
constructor();
|
|
87
|
-
protected setupPins(): void;
|
|
88
|
-
execute(context: ExecutionContext): ExecutionResult;
|
|
89
|
-
}
|
|
90
|
-
export declare class GetTotalTimeNode extends PureFunctionNode {
|
|
91
|
-
static readonly metadata: NodeMetadata;
|
|
92
|
-
constructor();
|
|
93
|
-
protected setupPins(): void;
|
|
94
|
-
execute(context: ExecutionContext): ExecutionResult;
|
|
95
|
-
}
|
|
96
|
-
export declare class GetFrameCountNode extends PureFunctionNode {
|
|
97
|
-
static readonly metadata: NodeMetadata;
|
|
98
|
-
constructor();
|
|
99
|
-
protected setupPins(): void;
|
|
100
|
-
execute(context: ExecutionContext): ExecutionResult;
|
|
101
|
-
}
|
|
102
|
-
export declare class ToStringNode extends PureFunctionNode {
|
|
103
|
-
static readonly metadata: NodeMetadata;
|
|
104
|
-
constructor();
|
|
105
|
-
protected setupPins(): void;
|
|
106
|
-
execute(context: ExecutionContext): ExecutionResult;
|
|
107
|
-
}
|
|
108
|
-
export declare class ToNumberNode extends PureFunctionNode {
|
|
109
|
-
static readonly metadata: NodeMetadata;
|
|
110
|
-
constructor();
|
|
111
|
-
protected setupPins(): void;
|
|
112
|
-
execute(context: ExecutionContext): ExecutionResult;
|
|
113
|
-
}
|
|
114
|
-
export declare class ToBooleanNode extends PureFunctionNode {
|
|
115
|
-
static readonly metadata: NodeMetadata;
|
|
116
|
-
constructor();
|
|
117
|
-
protected setupPins(): void;
|
|
118
|
-
execute(context: ExecutionContext): ExecutionResult;
|
|
119
|
-
}
|
|
120
|
-
export declare class CommentNode extends PureFunctionNode {
|
|
121
|
-
static readonly metadata: NodeMetadata;
|
|
122
|
-
constructor();
|
|
123
|
-
protected setupPins(): void;
|
|
124
|
-
execute(context: ExecutionContext): ExecutionResult;
|
|
125
|
-
}
|
|
126
|
-
export declare class RerouteNode extends PureFunctionNode {
|
|
127
|
-
static readonly metadata: NodeMetadata;
|
|
128
|
-
constructor();
|
|
129
|
-
protected setupPins(): void;
|
|
130
|
-
execute(_context: ExecutionContext): ExecutionResult;
|
|
131
|
-
}
|
|
@@ -1,107 +0,0 @@
|
|
|
1
|
-
import type { ExecutionContext, ExecutionResult, PinDataType as _PinDataType } from '../types';
|
|
2
|
-
import { VisualScriptNode, PureFunctionNode, type NodeMetadata } from '../VisualScriptNode';
|
|
3
|
-
export declare class GetVariableNode extends PureFunctionNode {
|
|
4
|
-
static readonly metadata: NodeMetadata;
|
|
5
|
-
constructor();
|
|
6
|
-
protected setupPins(): void;
|
|
7
|
-
/** Set which variable to get */
|
|
8
|
-
setVariable(name: string, type?: _PinDataType): void;
|
|
9
|
-
execute(context: ExecutionContext): ExecutionResult;
|
|
10
|
-
}
|
|
11
|
-
export declare class SetVariableNode extends VisualScriptNode {
|
|
12
|
-
static readonly metadata: NodeMetadata;
|
|
13
|
-
constructor();
|
|
14
|
-
protected setupPins(): void;
|
|
15
|
-
/** Set which variable to set */
|
|
16
|
-
setVariable(name: string, type?: _PinDataType): void;
|
|
17
|
-
execute(context: ExecutionContext): ExecutionResult;
|
|
18
|
-
getNextExecutionPin(): string | null;
|
|
19
|
-
}
|
|
20
|
-
export declare class GetGlobalVariableNode extends PureFunctionNode {
|
|
21
|
-
static readonly metadata: NodeMetadata;
|
|
22
|
-
constructor();
|
|
23
|
-
protected setupPins(): void;
|
|
24
|
-
execute(context: ExecutionContext): ExecutionResult;
|
|
25
|
-
}
|
|
26
|
-
export declare class SetGlobalVariableNode extends VisualScriptNode {
|
|
27
|
-
static readonly metadata: NodeMetadata;
|
|
28
|
-
constructor();
|
|
29
|
-
protected setupPins(): void;
|
|
30
|
-
execute(context: ExecutionContext): ExecutionResult;
|
|
31
|
-
getNextExecutionPin(): string | null;
|
|
32
|
-
}
|
|
33
|
-
export declare class IncrementVariableNode extends VisualScriptNode {
|
|
34
|
-
static readonly metadata: NodeMetadata;
|
|
35
|
-
constructor();
|
|
36
|
-
protected setupPins(): void;
|
|
37
|
-
execute(context: ExecutionContext): ExecutionResult;
|
|
38
|
-
getNextExecutionPin(): string | null;
|
|
39
|
-
}
|
|
40
|
-
export declare class DecrementVariableNode extends VisualScriptNode {
|
|
41
|
-
static readonly metadata: NodeMetadata;
|
|
42
|
-
constructor();
|
|
43
|
-
protected setupPins(): void;
|
|
44
|
-
execute(context: ExecutionContext): ExecutionResult;
|
|
45
|
-
getNextExecutionPin(): string | null;
|
|
46
|
-
}
|
|
47
|
-
export declare class ToggleVariableNode extends VisualScriptNode {
|
|
48
|
-
static readonly metadata: NodeMetadata;
|
|
49
|
-
constructor();
|
|
50
|
-
protected setupPins(): void;
|
|
51
|
-
execute(context: ExecutionContext): ExecutionResult;
|
|
52
|
-
getNextExecutionPin(): string | null;
|
|
53
|
-
}
|
|
54
|
-
export declare class NumberLiteralNode extends PureFunctionNode {
|
|
55
|
-
static readonly metadata: NodeMetadata;
|
|
56
|
-
constructor();
|
|
57
|
-
protected setupPins(): void;
|
|
58
|
-
execute(context: ExecutionContext): ExecutionResult;
|
|
59
|
-
}
|
|
60
|
-
export declare class StringLiteralNode extends PureFunctionNode {
|
|
61
|
-
static readonly metadata: NodeMetadata;
|
|
62
|
-
constructor();
|
|
63
|
-
protected setupPins(): void;
|
|
64
|
-
execute(context: ExecutionContext): ExecutionResult;
|
|
65
|
-
}
|
|
66
|
-
export declare class Vector2LiteralNode extends PureFunctionNode {
|
|
67
|
-
static readonly metadata: NodeMetadata;
|
|
68
|
-
constructor();
|
|
69
|
-
protected setupPins(): void;
|
|
70
|
-
execute(context: ExecutionContext): ExecutionResult;
|
|
71
|
-
}
|
|
72
|
-
export declare class Vector3LiteralNode extends PureFunctionNode {
|
|
73
|
-
static readonly metadata: NodeMetadata;
|
|
74
|
-
constructor();
|
|
75
|
-
protected setupPins(): void;
|
|
76
|
-
execute(context: ExecutionContext): ExecutionResult;
|
|
77
|
-
}
|
|
78
|
-
export declare class ColorLiteralNode extends PureFunctionNode {
|
|
79
|
-
static readonly metadata: NodeMetadata;
|
|
80
|
-
constructor();
|
|
81
|
-
protected setupPins(): void;
|
|
82
|
-
execute(context: ExecutionContext): ExecutionResult;
|
|
83
|
-
}
|
|
84
|
-
export declare class MakeVector2Node extends PureFunctionNode {
|
|
85
|
-
static readonly metadata: NodeMetadata;
|
|
86
|
-
constructor();
|
|
87
|
-
protected setupPins(): void;
|
|
88
|
-
execute(context: ExecutionContext): ExecutionResult;
|
|
89
|
-
}
|
|
90
|
-
export declare class BreakVector2Node extends PureFunctionNode {
|
|
91
|
-
static readonly metadata: NodeMetadata;
|
|
92
|
-
constructor();
|
|
93
|
-
protected setupPins(): void;
|
|
94
|
-
execute(context: ExecutionContext): ExecutionResult;
|
|
95
|
-
}
|
|
96
|
-
export declare class MakeVector3Node extends PureFunctionNode {
|
|
97
|
-
static readonly metadata: NodeMetadata;
|
|
98
|
-
constructor();
|
|
99
|
-
protected setupPins(): void;
|
|
100
|
-
execute(context: ExecutionContext): ExecutionResult;
|
|
101
|
-
}
|
|
102
|
-
export declare class BreakVector3Node extends PureFunctionNode {
|
|
103
|
-
static readonly metadata: NodeMetadata;
|
|
104
|
-
constructor();
|
|
105
|
-
protected setupPins(): void;
|
|
106
|
-
execute(_context: ExecutionContext): ExecutionResult;
|
|
107
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
export * from './EventNodes';
|
|
2
|
-
export * from './FlowControlNodes';
|
|
3
|
-
export * from './MathNodes';
|
|
4
|
-
export * from './LogicNodes';
|
|
5
|
-
export * from './VariableNodes';
|
|
6
|
-
export * from './ActionNodes';
|
|
7
|
-
export * from './UtilityNodes';
|
|
8
|
-
export { registerAllNodes } from './registerNodes';
|
|
9
|
-
export declare const nodeRegistry: Record<string, {
|
|
10
|
-
displayName?: string;
|
|
11
|
-
category?: string;
|
|
12
|
-
description?: string;
|
|
13
|
-
metadata: {
|
|
14
|
-
name: string;
|
|
15
|
-
displayName?: string;
|
|
16
|
-
category: string;
|
|
17
|
-
description: string;
|
|
18
|
-
subcategory?: string;
|
|
19
|
-
tags?: string[];
|
|
20
|
-
};
|
|
21
|
-
}>;
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import './EventNodes';
|
|
2
|
-
import './FlowControlNodes';
|
|
3
|
-
import './MathNodes';
|
|
4
|
-
import './LogicNodes';
|
|
5
|
-
import './VariableNodes';
|
|
6
|
-
import './ActionNodes';
|
|
7
|
-
import './UtilityNodes';
|
|
8
|
-
import type { NodeMetadata } from '../VisualScriptNode';
|
|
9
|
-
/**
|
|
10
|
-
* Register all built-in nodes.
|
|
11
|
-
* Call this once at application startup.
|
|
12
|
-
*/
|
|
13
|
-
export declare function registerAllNodes(): void;
|
|
14
|
-
/**
|
|
15
|
-
* Get a list of all registered node type IDs
|
|
16
|
-
*/
|
|
17
|
-
export declare function getRegisteredNodeTypes(): string[];
|
|
18
|
-
/**
|
|
19
|
-
* Get all nodes organized by category
|
|
20
|
-
*/
|
|
21
|
-
export declare function getNodesByCategory(): Map<string, string[]>;
|
|
22
|
-
/**
|
|
23
|
-
* Search for nodes by keyword
|
|
24
|
-
*/
|
|
25
|
-
export declare function searchNodes(query: string): string[];
|
|
26
|
-
/**
|
|
27
|
-
* Get metadata for a node type
|
|
28
|
-
*/
|
|
29
|
-
export declare function getNodeMetadata(typeId: string): NodeMetadata | undefined;
|
|
@@ -1,402 +0,0 @@
|
|
|
1
|
-
/** Data types that can flow through pins */
|
|
2
|
-
export type PinDataType = 'execution' | 'boolean' | 'number' | 'string' | 'vector2' | 'vector3' | 'color' | 'object' | 'entity' | 'component' | 'array' | 'any' | 'enum' | 'struct' | 'integer' | 'float' | 'vector4' | 'transform' | (string & {});
|
|
3
|
-
/** Pin direction */
|
|
4
|
-
export type PinDirection = 'input' | 'output';
|
|
5
|
-
/** Pin definition */
|
|
6
|
-
export interface PinDefinition {
|
|
7
|
-
/** Unique pin identifier within node */
|
|
8
|
-
id: string;
|
|
9
|
-
/** Display name */
|
|
10
|
-
name: string;
|
|
11
|
-
/** Pin direction (optional in definitions; auto-set when used by addInputPin/addOutputPin) */
|
|
12
|
-
direction?: PinDirection;
|
|
13
|
-
/** Data type */
|
|
14
|
-
dataType: PinDataType;
|
|
15
|
-
/** For arrays, the element type */
|
|
16
|
-
elementType?: PinDataType;
|
|
17
|
-
/** For enums, the allowed values */
|
|
18
|
-
enumValues?: string[];
|
|
19
|
-
/** For structs, the struct definition name */
|
|
20
|
-
structType?: string;
|
|
21
|
-
/** Default value */
|
|
22
|
-
defaultValue?: unknown;
|
|
23
|
-
/** Is this pin required for execution? */
|
|
24
|
-
required?: boolean;
|
|
25
|
-
/** Can multiple connections attach to this pin? */
|
|
26
|
-
allowMultiple?: boolean;
|
|
27
|
-
/** Description/tooltip */
|
|
28
|
-
description?: string;
|
|
29
|
-
/** Is pin hidden in collapsed state? */
|
|
30
|
-
hiddenWhenCollapsed?: boolean;
|
|
31
|
-
}
|
|
32
|
-
/** Runtime pin instance */
|
|
33
|
-
export interface Pin extends PinDefinition {
|
|
34
|
-
/** Pin direction (always set on runtime instances) */
|
|
35
|
-
direction: PinDirection;
|
|
36
|
-
/** Node this pin belongs to */
|
|
37
|
-
nodeId: string;
|
|
38
|
-
/** Current value (for inputs with defaults or outputs) */
|
|
39
|
-
value?: unknown;
|
|
40
|
-
/** Connected pins */
|
|
41
|
-
connections: PinConnection[];
|
|
42
|
-
}
|
|
43
|
-
/** Connection between two pins */
|
|
44
|
-
export interface PinConnection {
|
|
45
|
-
/** Source node ID */
|
|
46
|
-
sourceNodeId: string;
|
|
47
|
-
/** Source pin ID */
|
|
48
|
-
sourcePinId: string;
|
|
49
|
-
/** Target node ID */
|
|
50
|
-
targetNodeId: string;
|
|
51
|
-
/** Target pin ID */
|
|
52
|
-
targetPinId: string;
|
|
53
|
-
/** Connection ID */
|
|
54
|
-
id: string;
|
|
55
|
-
}
|
|
56
|
-
/** Node category for organization. Built-in categories listed; custom strings allowed. */
|
|
57
|
-
export type NodeCategory = 'event' | 'flow' | 'action' | 'function' | 'variable' | 'math' | 'logic' | 'conversion' | 'input' | 'physics' | 'audio' | 'debug' | 'custom' | (string & {});
|
|
58
|
-
/** Node metadata */
|
|
59
|
-
export interface NodeMetadata {
|
|
60
|
-
/** Unique node type identifier */
|
|
61
|
-
typeId: string;
|
|
62
|
-
/** Display name */
|
|
63
|
-
name: string;
|
|
64
|
-
/** Category */
|
|
65
|
-
category: NodeCategory;
|
|
66
|
-
/** Subcategory for organization */
|
|
67
|
-
subcategory?: string;
|
|
68
|
-
/** Description */
|
|
69
|
-
description: string;
|
|
70
|
-
/** Icon name or path */
|
|
71
|
-
icon?: string;
|
|
72
|
-
/** Color theme */
|
|
73
|
-
color?: string;
|
|
74
|
-
/** Keywords for search */
|
|
75
|
-
keywords?: string[];
|
|
76
|
-
/** Is this a pure function? (no execution pins) */
|
|
77
|
-
isPure?: boolean;
|
|
78
|
-
/** Is this node latent? (async execution) */
|
|
79
|
-
isLatent?: boolean;
|
|
80
|
-
/** Is this a development-only node? */
|
|
81
|
-
isDevOnly?: boolean;
|
|
82
|
-
/** Is this node deprecated? */
|
|
83
|
-
deprecated?: boolean;
|
|
84
|
-
/** Deprecation message */
|
|
85
|
-
deprecationMessage?: string;
|
|
86
|
-
}
|
|
87
|
-
/** Node instance state */
|
|
88
|
-
export interface NodeState {
|
|
89
|
-
/** Instance ID */
|
|
90
|
-
id: string;
|
|
91
|
-
/** Node type */
|
|
92
|
-
typeId: string;
|
|
93
|
-
/** Position in graph */
|
|
94
|
-
position: {
|
|
95
|
-
x: number;
|
|
96
|
-
y: number;
|
|
97
|
-
};
|
|
98
|
-
/** Is node collapsed? */
|
|
99
|
-
collapsed?: boolean;
|
|
100
|
-
/** Comment/annotation */
|
|
101
|
-
comment?: string;
|
|
102
|
-
/** Breakpoint set? */
|
|
103
|
-
hasBreakpoint?: boolean;
|
|
104
|
-
/** Custom property values */
|
|
105
|
-
properties?: Record<string, unknown>;
|
|
106
|
-
/** Input pin values (defaults/overrides) */
|
|
107
|
-
inputValues?: Record<string, unknown>;
|
|
108
|
-
}
|
|
109
|
-
/** Visual script graph */
|
|
110
|
-
export interface VisualScriptGraphData {
|
|
111
|
-
/** Graph ID */
|
|
112
|
-
id: string;
|
|
113
|
-
/** Graph name */
|
|
114
|
-
name: string;
|
|
115
|
-
/** Description */
|
|
116
|
-
description?: string;
|
|
117
|
-
/** Graph type */
|
|
118
|
-
type: 'event' | 'function' | 'macro';
|
|
119
|
-
/** All nodes in graph */
|
|
120
|
-
nodes: NodeState[];
|
|
121
|
-
/** All connections */
|
|
122
|
-
connections: PinConnection[];
|
|
123
|
-
/** Local variables */
|
|
124
|
-
variables: VariableDefinition[];
|
|
125
|
-
/** Graph-level comments/annotations */
|
|
126
|
-
comments: GraphComment[];
|
|
127
|
-
/** Subgraph references */
|
|
128
|
-
subgraphs?: string[];
|
|
129
|
-
/** Metadata */
|
|
130
|
-
metadata?: Record<string, unknown>;
|
|
131
|
-
}
|
|
132
|
-
/** Variable definition */
|
|
133
|
-
export interface VariableDefinition {
|
|
134
|
-
/** Variable ID */
|
|
135
|
-
id: string;
|
|
136
|
-
/** Variable name */
|
|
137
|
-
name: string;
|
|
138
|
-
/** Data type */
|
|
139
|
-
type: PinDataType;
|
|
140
|
-
/** Default value */
|
|
141
|
-
defaultValue?: unknown;
|
|
142
|
-
/** Is exposed to editor? */
|
|
143
|
-
exposed?: boolean;
|
|
144
|
-
/** Is read-only? */
|
|
145
|
-
readonly?: boolean;
|
|
146
|
-
/** Category for grouping */
|
|
147
|
-
category?: string;
|
|
148
|
-
/** Description */
|
|
149
|
-
description?: string;
|
|
150
|
-
/** For arrays */
|
|
151
|
-
elementType?: PinDataType;
|
|
152
|
-
/** For structs */
|
|
153
|
-
structType?: string;
|
|
154
|
-
}
|
|
155
|
-
/** Graph comment/annotation */
|
|
156
|
-
export interface GraphComment {
|
|
157
|
-
/** Comment ID */
|
|
158
|
-
id: string;
|
|
159
|
-
/** Text content */
|
|
160
|
-
text: string;
|
|
161
|
-
/** Position */
|
|
162
|
-
position: {
|
|
163
|
-
x: number;
|
|
164
|
-
y: number;
|
|
165
|
-
};
|
|
166
|
-
/** Size */
|
|
167
|
-
size: {
|
|
168
|
-
width: number;
|
|
169
|
-
height: number;
|
|
170
|
-
};
|
|
171
|
-
/** Color */
|
|
172
|
-
color?: string;
|
|
173
|
-
/** Is it a group box? */
|
|
174
|
-
isGroup?: boolean;
|
|
175
|
-
/** Node IDs inside this group */
|
|
176
|
-
containedNodes?: string[];
|
|
177
|
-
}
|
|
178
|
-
/** Execution context for running scripts */
|
|
179
|
-
export interface ExecutionContext {
|
|
180
|
-
/** Current entity */
|
|
181
|
-
entity?: unknown;
|
|
182
|
-
/** Current component */
|
|
183
|
-
component?: unknown;
|
|
184
|
-
/** Global variables */
|
|
185
|
-
globals: Map<string, unknown>;
|
|
186
|
-
/** Local variables */
|
|
187
|
-
locals: Map<string, unknown>;
|
|
188
|
-
/** Delta time */
|
|
189
|
-
deltaTime: number;
|
|
190
|
-
/** Total time */
|
|
191
|
-
totalTime: number;
|
|
192
|
-
/** Frame count */
|
|
193
|
-
frameCount: number;
|
|
194
|
-
/** Input state */
|
|
195
|
-
input?: InputState;
|
|
196
|
-
/** Physics world reference */
|
|
197
|
-
physics?: unknown;
|
|
198
|
-
/** Audio manager reference */
|
|
199
|
-
audio?: unknown;
|
|
200
|
-
/** Custom context data */
|
|
201
|
-
custom: Map<string, unknown>;
|
|
202
|
-
}
|
|
203
|
-
/** Input state for context */
|
|
204
|
-
export interface InputState {
|
|
205
|
-
/** Currently pressed keys */
|
|
206
|
-
keys: Set<string>;
|
|
207
|
-
/** Keys pressed this frame */
|
|
208
|
-
keysDown: Set<string>;
|
|
209
|
-
/** Keys released this frame */
|
|
210
|
-
keysUp: Set<string>;
|
|
211
|
-
/** Mouse position */
|
|
212
|
-
mousePosition: {
|
|
213
|
-
x: number;
|
|
214
|
-
y: number;
|
|
215
|
-
};
|
|
216
|
-
/** Mouse buttons */
|
|
217
|
-
mouseButtons: {
|
|
218
|
-
left: boolean;
|
|
219
|
-
right: boolean;
|
|
220
|
-
middle: boolean;
|
|
221
|
-
};
|
|
222
|
-
/** Mouse buttons pressed this frame */
|
|
223
|
-
mouseDown: {
|
|
224
|
-
left: boolean;
|
|
225
|
-
right: boolean;
|
|
226
|
-
middle: boolean;
|
|
227
|
-
};
|
|
228
|
-
/** Mouse buttons released this frame */
|
|
229
|
-
mouseUp: {
|
|
230
|
-
left: boolean;
|
|
231
|
-
right: boolean;
|
|
232
|
-
middle: boolean;
|
|
233
|
-
};
|
|
234
|
-
/** Mouse wheel delta */
|
|
235
|
-
mouseWheel: number;
|
|
236
|
-
/** Gamepad state */
|
|
237
|
-
gamepads?: GamepadState[];
|
|
238
|
-
/** Touch points */
|
|
239
|
-
touches?: TouchPoint[];
|
|
240
|
-
}
|
|
241
|
-
/** Gamepad state */
|
|
242
|
-
export interface GamepadState {
|
|
243
|
-
/** Gamepad index */
|
|
244
|
-
index: number;
|
|
245
|
-
/** Is connected */
|
|
246
|
-
connected: boolean;
|
|
247
|
-
/** Buttons */
|
|
248
|
-
buttons: boolean[];
|
|
249
|
-
/** Button pressed this frame */
|
|
250
|
-
buttonsDown: boolean[];
|
|
251
|
-
/** Axes values */
|
|
252
|
-
axes: number[];
|
|
253
|
-
}
|
|
254
|
-
/** Touch point */
|
|
255
|
-
export interface TouchPoint {
|
|
256
|
-
/** Touch ID */
|
|
257
|
-
id: number;
|
|
258
|
-
/** Position */
|
|
259
|
-
position: {
|
|
260
|
-
x: number;
|
|
261
|
-
y: number;
|
|
262
|
-
};
|
|
263
|
-
/** Phase */
|
|
264
|
-
phase: 'began' | 'moved' | 'stationary' | 'ended' | 'cancelled';
|
|
265
|
-
}
|
|
266
|
-
/** Execution result */
|
|
267
|
-
export interface ExecutionResult {
|
|
268
|
-
/** Was execution successful? */
|
|
269
|
-
success: boolean;
|
|
270
|
-
/** Output values */
|
|
271
|
-
outputs: Map<string, unknown>;
|
|
272
|
-
/** Error if failed */
|
|
273
|
-
error?: Error;
|
|
274
|
-
/** Execution path (for debugging) */
|
|
275
|
-
executionPath?: string[];
|
|
276
|
-
/** Execution time in ms */
|
|
277
|
-
executionTime?: number;
|
|
278
|
-
}
|
|
279
|
-
/** Debug mode */
|
|
280
|
-
export type DebugMode = 'disabled' | 'step' | 'stepping' | 'breakpoints' | 'trace' | 'paused' | 'running';
|
|
281
|
-
/** Alias for DebugMode */
|
|
282
|
-
export type DebuggerMode = DebugMode;
|
|
283
|
-
/** Breakpoint */
|
|
284
|
-
export interface Breakpoint {
|
|
285
|
-
/** Graph ID */
|
|
286
|
-
graphId: string;
|
|
287
|
-
/** Node ID */
|
|
288
|
-
nodeId: string;
|
|
289
|
-
/** Is enabled? */
|
|
290
|
-
enabled: boolean;
|
|
291
|
-
/** Condition expression */
|
|
292
|
-
condition?: string;
|
|
293
|
-
/** Hit count trigger */
|
|
294
|
-
hitCount?: number;
|
|
295
|
-
/** Current hit count */
|
|
296
|
-
currentHits?: number;
|
|
297
|
-
/** Log message on hit */
|
|
298
|
-
logMessage?: string;
|
|
299
|
-
}
|
|
300
|
-
/** Debug event */
|
|
301
|
-
export interface DebugEvent {
|
|
302
|
-
/** Event type */
|
|
303
|
-
type: 'node_enter' | 'node_exit' | 'breakpoint_hit' | 'error' | 'variable_change' | 'execution_start' | 'execution_end';
|
|
304
|
-
/** Timestamp */
|
|
305
|
-
timestamp: number;
|
|
306
|
-
/** Graph ID */
|
|
307
|
-
graphId: string;
|
|
308
|
-
/** Node ID (if applicable) */
|
|
309
|
-
nodeId?: string;
|
|
310
|
-
/** Variable name (if applicable) */
|
|
311
|
-
variableName?: string;
|
|
312
|
-
/** Old value */
|
|
313
|
-
oldValue?: unknown;
|
|
314
|
-
/** New value */
|
|
315
|
-
newValue?: unknown;
|
|
316
|
-
/** Error (if applicable) */
|
|
317
|
-
error?: Error;
|
|
318
|
-
/** Additional data */
|
|
319
|
-
data?: Record<string, unknown>;
|
|
320
|
-
}
|
|
321
|
-
/** Watch expression */
|
|
322
|
-
export interface WatchExpression {
|
|
323
|
-
/** Expression ID */
|
|
324
|
-
id: string;
|
|
325
|
-
/** Expression text */
|
|
326
|
-
expression: string;
|
|
327
|
-
/** Current value */
|
|
328
|
-
value?: unknown;
|
|
329
|
-
/** Last error */
|
|
330
|
-
error?: string;
|
|
331
|
-
}
|
|
332
|
-
/** Debugger state */
|
|
333
|
-
export interface DebuggerState {
|
|
334
|
-
/** Is debugging active */
|
|
335
|
-
active?: boolean;
|
|
336
|
-
/** Debug mode */
|
|
337
|
-
mode: DebugMode;
|
|
338
|
-
/** Is execution paused */
|
|
339
|
-
paused?: boolean;
|
|
340
|
-
/** Current node ID being debugged */
|
|
341
|
-
currentNodeId: string | null;
|
|
342
|
-
/** Breakpoints */
|
|
343
|
-
breakpoints: Breakpoint[];
|
|
344
|
-
/** Watch expressions (Map from id to expression) */
|
|
345
|
-
watches: Map<string, WatchExpression>;
|
|
346
|
-
/** Call stack */
|
|
347
|
-
callStack: CallStackFrame[];
|
|
348
|
-
/** Event history */
|
|
349
|
-
eventHistory?: DebugEvent[];
|
|
350
|
-
/** Max history size */
|
|
351
|
-
maxHistorySize?: number;
|
|
352
|
-
}
|
|
353
|
-
/** Call stack frame */
|
|
354
|
-
export interface CallStackFrame {
|
|
355
|
-
/** Graph ID */
|
|
356
|
-
graphId: string;
|
|
357
|
-
/** Graph name */
|
|
358
|
-
graphName: string;
|
|
359
|
-
/** Current node ID */
|
|
360
|
-
nodeId: string;
|
|
361
|
-
/** Node name */
|
|
362
|
-
nodeName: string;
|
|
363
|
-
/** Local variables at this point */
|
|
364
|
-
locals: Map<string, unknown>;
|
|
365
|
-
/** Execution time in frame */
|
|
366
|
-
frameTime: number;
|
|
367
|
-
}
|
|
368
|
-
/** Visual script event */
|
|
369
|
-
export type VisualScriptEvent = {
|
|
370
|
-
type: 'begin_play';
|
|
371
|
-
} | {
|
|
372
|
-
type: 'tick';
|
|
373
|
-
deltaTime: number;
|
|
374
|
-
} | {
|
|
375
|
-
type: 'end_play';
|
|
376
|
-
} | {
|
|
377
|
-
type: 'collision_enter';
|
|
378
|
-
other: unknown;
|
|
379
|
-
} | {
|
|
380
|
-
type: 'collision_exit';
|
|
381
|
-
other: unknown;
|
|
382
|
-
} | {
|
|
383
|
-
type: 'trigger_enter';
|
|
384
|
-
other: unknown;
|
|
385
|
-
} | {
|
|
386
|
-
type: 'trigger_exit';
|
|
387
|
-
other: unknown;
|
|
388
|
-
} | {
|
|
389
|
-
type: 'input_action';
|
|
390
|
-
action: string;
|
|
391
|
-
value: number;
|
|
392
|
-
} | {
|
|
393
|
-
type: 'custom';
|
|
394
|
-
name: string;
|
|
395
|
-
data: unknown;
|
|
396
|
-
};
|
|
397
|
-
/** Checks if two pin types can connect */
|
|
398
|
-
export declare function canConnect(source: PinDataType, target: PinDataType): boolean;
|
|
399
|
-
/** Get color for pin type */
|
|
400
|
-
export declare function getPinColor(type: PinDataType): string;
|
|
401
|
-
/** Get default value for type */
|
|
402
|
-
export declare function getDefaultValue(type: PinDataType): unknown;
|