gdcore-tools 2.0.0-gd-v5.4.218-autobuild → 2.0.0-gd-v5.4.220-autobuild

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 (43) hide show
  1. package/dist/Runtime/Extensions/3D/CustomRuntimeObject3D.js +1 -1
  2. package/dist/Runtime/Extensions/3D/CustomRuntimeObject3D.js.map +2 -2
  3. package/dist/Runtime/Extensions/AnchorBehavior/anchorruntimebehavior.js +1 -1
  4. package/dist/Runtime/Extensions/AnchorBehavior/anchorruntimebehavior.js.map +2 -2
  5. package/dist/Runtime/Extensions/Physics2Behavior/JsExtension.js +19 -19
  6. package/dist/Runtime/Extensions/Physics2Behavior/physics2runtimebehavior.js +1 -1
  7. package/dist/Runtime/Extensions/Physics2Behavior/physics2runtimebehavior.js.map +2 -2
  8. package/dist/Runtime/Extensions/Physics2Behavior/physics2tools.js +1 -1
  9. package/dist/Runtime/Extensions/Physics2Behavior/physics2tools.js.map +2 -2
  10. package/dist/Runtime/Extensions/Physics3DBehavior/JsExtension.js +2442 -0
  11. package/dist/Runtime/Extensions/Physics3DBehavior/Physics3DRuntimeBehavior.js +2 -0
  12. package/dist/Runtime/Extensions/Physics3DBehavior/Physics3DRuntimeBehavior.js.map +7 -0
  13. package/dist/Runtime/Extensions/Physics3DBehavior/Physics3DTools.js +2 -0
  14. package/dist/Runtime/Extensions/Physics3DBehavior/Physics3DTools.js.map +7 -0
  15. package/dist/Runtime/Extensions/Physics3DBehavior/PhysicsCharacter3DRuntimeBehavior.js +2 -0
  16. package/dist/Runtime/Extensions/Physics3DBehavior/PhysicsCharacter3DRuntimeBehavior.js.map +7 -0
  17. package/dist/Runtime/Extensions/Physics3DBehavior/jolt-physics.d.ts +4874 -0
  18. package/dist/Runtime/Extensions/Physics3DBehavior/jolt-physics.wasm.js +2 -0
  19. package/dist/Runtime/Extensions/Physics3DBehavior/jolt-physics.wasm.js.map +7 -0
  20. package/dist/Runtime/Extensions/Physics3DBehavior/jolt-physics.wasm.wasm +0 -0
  21. package/dist/Runtime/Extensions/PlatformBehavior/platformerobjectruntimebehavior.js.map +2 -2
  22. package/dist/Runtime/Extensions/TileMap/helper/TileMapHelper.js +1 -1
  23. package/dist/Runtime/Extensions/TileMap/helper/TileMapHelper.js.map +1 -1
  24. package/dist/Runtime/Extensions/TileMap/simpletilemapruntimeobject.js +1 -1
  25. package/dist/Runtime/Extensions/TileMap/simpletilemapruntimeobject.js.map +2 -2
  26. package/dist/Runtime/RuntimeInstanceContainer.js +1 -1
  27. package/dist/Runtime/RuntimeInstanceContainer.js.map +2 -2
  28. package/dist/Runtime/RuntimeLayer.js +1 -1
  29. package/dist/Runtime/RuntimeLayer.js.map +2 -2
  30. package/dist/Runtime/layer.js +1 -1
  31. package/dist/Runtime/layer.js.map +2 -2
  32. package/dist/Runtime/pixi-renderers/pixi-image-manager.js +1 -1
  33. package/dist/Runtime/pixi-renderers/pixi-image-manager.js.map +2 -2
  34. package/dist/Runtime/pixi-renderers/runtimegame-pixi-renderer.js +1 -1
  35. package/dist/Runtime/pixi-renderers/runtimegame-pixi-renderer.js.map +2 -2
  36. package/dist/Runtime/runtimegame.js +1 -1
  37. package/dist/Runtime/runtimegame.js.map +2 -2
  38. package/dist/Runtime/types/global-types.d.ts +20 -3
  39. package/dist/Runtime/types/project-data.d.ts +1 -1
  40. package/dist/lib/libGD.cjs +1 -1
  41. package/dist/lib/libGD.wasm +0 -0
  42. package/gd.d.ts +17 -3
  43. package/package.json +1 -1
Binary file
package/gd.d.ts CHANGED
@@ -39,6 +39,14 @@ export enum VariablesContainer_SourceType {
39
39
  ExtensionScene = 6,
40
40
  }
41
41
 
42
+ export enum ObjectsContainer_SourceType {
43
+ Unknown = 0,
44
+ Global = 1,
45
+ Scene = 2,
46
+ Object = 3,
47
+ Function = 4,
48
+ }
49
+
42
50
  export enum ObjectsContainersList_VariableExistence {
43
51
  DoesNotExist = 0,
44
52
  Exists = 1,
@@ -465,7 +473,8 @@ export class ObjectFolderOrObject extends EmscriptenObject {
465
473
  }
466
474
 
467
475
  export class ObjectsContainer extends EmscriptenObject {
468
- constructor();
476
+ constructor(sourceType: ObjectsContainer_SourceType);
477
+ getSourceType(): ObjectsContainer_SourceType;
469
478
  insertNewObject(project: Project, type: string, name: string, pos: number): gdObject;
470
479
  insertNewObjectInFolder(project: Project, type: string, name: string, folder: ObjectFolderOrObject, pos: number): gdObject;
471
480
  insertObject(obj: gdObject, pos: number): gdObject;
@@ -588,6 +597,7 @@ export class Project extends EmscriptenObject {
588
597
  insertEventsFunctionsExtension(eventsFunctionsExtension: EventsFunctionsExtension, position: number): EventsFunctionsExtension;
589
598
  removeEventsFunctionsExtension(name: string): void;
590
599
  getEventsFunctionsExtensionPosition(name: string): number;
600
+ unserializeAndInsertExtensionsFrom(eventsFunctionsExtensionsElement: SerializerElement): void;
591
601
  hasEventsBasedBehavior(type: string): boolean;
592
602
  getEventsBasedBehavior(type: string): EventsBasedBehavior;
593
603
  hasEventsBasedObject(type: string): boolean;
@@ -614,6 +624,7 @@ export class ObjectsContainersList extends EmscriptenObject {
614
624
  hasObjectOrGroupNamed(name: string): boolean;
615
625
  hasObjectNamed(name: string): boolean;
616
626
  hasObjectOrGroupWithVariableNamed(objectName: string, variableName: string): ObjectsContainersList_VariableExistence;
627
+ getObjectsContainerSourceType(objectOrGroupName: string): ObjectsContainer_SourceType;
617
628
  getObjectsContainer(index: number): ObjectsContainer;
618
629
  getObjectsContainersCount(): number;
619
630
  }
@@ -867,6 +878,8 @@ export class Layer extends EmscriptenObject {
867
878
  getRenderingType(): string;
868
879
  setCameraType(cameraType: string): void;
869
880
  getCameraType(): string;
881
+ setDefaultCameraBehavior(defaultCameraBehavior: string): void;
882
+ getDefaultCameraBehavior(): string;
870
883
  setVisibility(visible: boolean): void;
871
884
  getVisibility(): boolean;
872
885
  setLocked(isLocked: boolean): void;
@@ -1851,7 +1864,7 @@ export class VectorEventsSearchResult extends EmscriptenObject {
1851
1864
  }
1852
1865
 
1853
1866
  export class EventsRefactorer extends EmscriptenObject {
1854
- static renameObjectInEvents(platform: Platform, projectScopedContainers: ProjectScopedContainers, events: EventsList, oldName: string, newName: string): void;
1867
+ static renameObjectInEvents(platform: Platform, projectScopedContainers: ProjectScopedContainers, events: EventsList, targetedObjectsContainer: ObjectsContainer, oldName: string, newName: string): void;
1855
1868
  static replaceStringInEvents(project: ObjectsContainer, layout: ObjectsContainer, events: EventsList, toReplace: string, newString: string, matchCase: boolean, inConditions: boolean, inActions: boolean, inEventStrings: boolean): VectorEventsSearchResult;
1856
1869
  static searchInEvents(platform: Platform, events: EventsList, search: string, matchCase: boolean, inConditions: boolean, inActions: boolean, inEventStrings: boolean, inEventSentences: boolean): VectorEventsSearchResult;
1857
1870
  }
@@ -1893,6 +1906,7 @@ export class WholeProjectRefactorer extends EmscriptenObject {
1893
1906
  static renameEventsFunction(project: Project, eventsFunctionsExtension: EventsFunctionsExtension, oldName: string, newName: string): void;
1894
1907
  static renameBehaviorEventsFunction(project: Project, eventsFunctionsExtension: EventsFunctionsExtension, eventsBasedBehavior: EventsBasedBehavior, oldName: string, newName: string): void;
1895
1908
  static renameObjectEventsFunction(project: Project, eventsFunctionsExtension: EventsFunctionsExtension, eventsBasedObject: EventsBasedObject, oldName: string, newName: string): void;
1909
+ static renameParameter(project: Project, projectScopedContainers: ProjectScopedContainers, eventsFunction: EventsFunction, parameterObjectsContainer: ObjectsContainer, oldName: string, newName: string): void;
1896
1910
  static moveEventsFunctionParameter(project: Project, eventsFunctionsExtension: EventsFunctionsExtension, functionName: string, oldIndex: number, newIndex: number): void;
1897
1911
  static moveBehaviorEventsFunctionParameter(project: Project, eventsFunctionsExtension: EventsFunctionsExtension, eventsBasedBehavior: EventsBasedBehavior, functionName: string, oldIndex: number, newIndex: number): void;
1898
1912
  static moveObjectEventsFunctionParameter(project: Project, eventsFunctionsExtension: EventsFunctionsExtension, eventsBasedObject: EventsBasedObject, functionName: string, oldIndex: number, newIndex: number): void;
@@ -1919,7 +1933,7 @@ export class WholeProjectRefactorer extends EmscriptenObject {
1919
1933
  static objectOrGroupRenamedInScene(project: Project, scene: Layout, oldName: string, newName: string, isObjectGroup: boolean): void;
1920
1934
  static objectRemovedInScene(project: Project, scene: Layout, objectName: string): void;
1921
1935
  static behaviorsAddedToObjectInScene(project: Project, scene: Layout, objectName: string): void;
1922
- static objectOrGroupRenamedInEventsFunction(project: Project, projectScopedContainers: ProjectScopedContainers, eventsFunction: EventsFunction, oldName: string, newName: string, isObjectGroup: boolean): void;
1936
+ static objectOrGroupRenamedInEventsFunction(project: Project, projectScopedContainers: ProjectScopedContainers, eventsFunction: EventsFunction, parameterObjectsContainer: ObjectsContainer, oldName: string, newName: string, isObjectGroup: boolean): void;
1923
1937
  static objectRemovedInEventsFunction(project: Project, eventsFunction: EventsFunction, objectName: string): void;
1924
1938
  static objectOrGroupRenamedInEventsBasedObject(project: Project, projectScopedContainers: ProjectScopedContainers, eventsBasedObject: EventsBasedObject, oldName: string, newName: string, isObjectGroup: boolean): void;
1925
1939
  static objectRemovedInEventsBasedObject(project: Project, eventsBasedObject: EventsBasedObject, objectName: string): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gdcore-tools",
3
- "version": "2.0.0-gd-v5.4.218-autobuild",
3
+ "version": "2.0.0-gd-v5.4.220-autobuild",
4
4
  "description": "A package of GDevelop's Core library with additional helper tools.",
5
5
  "types": "./types/index.d.ts",
6
6
  "exports": {