From ca19c8647689107305b594c6d8dd43fd040cf227 Mon Sep 17 00:00:00 2001 From: maji Date: Sat, 24 Jan 2026 22:18:09 +0700 Subject: [PATCH] 2.0.0-beta46 --- yaml/types/AddonObject.yaml | 42 ++++++++++++++ yaml/types/AddonToolItem.yaml | 13 +++++ yaml/types/CreatorAddons.yaml | 21 +++++++ yaml/types/CreatorHistory.yaml | 4 +- yaml/types/CreatorSelections.yaml | 12 +++- yaml/types/Grabbable.yaml | 7 +++ yaml/types/HttpResponseData.yaml | 7 +++ yaml/types/HttpService.yaml | 91 +++++++++++++++++++++++++++++++ yaml/types/IOService.yaml | 6 +- yaml/types/NetMessage.yaml | 26 +++++++++ yaml/types/NetworkEvent.yaml | 16 +++--- yaml/types/Physical.yaml | 7 --- yaml/types/Script.yaml | 2 +- yaml/types/UIField.yaml | 7 +++ 14 files changed, 237 insertions(+), 24 deletions(-) create mode 100644 yaml/types/AddonObject.yaml create mode 100644 yaml/types/AddonToolItem.yaml create mode 100644 yaml/types/CreatorAddons.yaml diff --git a/yaml/types/AddonObject.yaml b/yaml/types/AddonObject.yaml new file mode 100644 index 0000000..8b472fa --- /dev/null +++ b/yaml/types/AddonObject.yaml @@ -0,0 +1,42 @@ +Name: AddonObject +BaseType: null +Properties: + - Name: Identifier + Type: string + IsAccessibleByScripts: true + IsReadOnly: true + IsObsolete: false + IsStatic: false + Description: Missing Documentation + - Name: AddonName + Type: string + IsAccessibleByScripts: true + IsReadOnly: false + IsObsolete: false + IsStatic: false + Description: Missing Documentation + - Name: AddonIcon + Type: PTImageAsset + IsAccessibleByScripts: true + IsReadOnly: false + IsObsolete: false + IsStatic: false + Description: Missing Documentation +Methods: + - Name: CreateToolItem + ReturnType: AddonToolItem + Parameters: + - Name: txt + Type: string + IsOptional: false + DefaultValue: "" + IsAsync: false + IsObsolete: false + IsStatic: false + Description: Missing Documentation +Events: [] +IsStatic: false +IsAbstract: false +IsInstantiatable: false +StaticAlias: null +Description: Missing Documentation diff --git a/yaml/types/AddonToolItem.yaml b/yaml/types/AddonToolItem.yaml new file mode 100644 index 0000000..da66448 --- /dev/null +++ b/yaml/types/AddonToolItem.yaml @@ -0,0 +1,13 @@ +Name: AddonToolItem +BaseType: null +Properties: [] +Methods: [] +Events: + - Name: Pressed + Arguments: "" + Description: Missing Documentation +IsStatic: false +IsAbstract: false +IsInstantiatable: false +StaticAlias: null +Description: Missing Documentation diff --git a/yaml/types/CreatorAddons.yaml b/yaml/types/CreatorAddons.yaml new file mode 100644 index 0000000..c76b128 --- /dev/null +++ b/yaml/types/CreatorAddons.yaml @@ -0,0 +1,21 @@ +Name: CreatorAddons +BaseType: Instance +Properties: [] +Methods: + - Name: Register + ReturnType: AddonObject + Parameters: + - Name: identifier + Type: string + IsOptional: false + DefaultValue: "" + IsAsync: false + IsObsolete: false + IsStatic: false + Description: Missing Documentation +Events: [] +IsStatic: true +IsAbstract: false +IsInstantiatable: false +StaticAlias: Addons +Description: Missing Documentation diff --git a/yaml/types/CreatorHistory.yaml b/yaml/types/CreatorHistory.yaml index 0c272f5..7aad134 100644 --- a/yaml/types/CreatorHistory.yaml +++ b/yaml/types/CreatorHistory.yaml @@ -43,9 +43,9 @@ Methods: IsStatic: false Description: Commit the current action Events: [] -IsStatic: false +IsStatic: true IsAbstract: false IsInstantiatable: false -StaticAlias: null +StaticAlias: History Description: CreatorHistory is a class that manages history (undo-redo) of this game instance. This class is only available in the creator. diff --git a/yaml/types/CreatorSelections.yaml b/yaml/types/CreatorSelections.yaml index 2b1c3ff..f304042 100644 --- a/yaml/types/CreatorSelections.yaml +++ b/yaml/types/CreatorSelections.yaml @@ -64,10 +64,16 @@ Methods: IsObsolete: false IsStatic: false Description: Check if instance has been selected -Events: [] -IsStatic: false +Events: + - Name: Selected + Arguments: "" + Description: Missing Documentation + - Name: Deselected + Arguments: "" + Description: Missing Documentation +IsStatic: true IsAbstract: false IsInstantiatable: false -StaticAlias: null +StaticAlias: Selections Description: CreatorSelections is an object that manages selections in the game instance. This class is only available in the creator. diff --git a/yaml/types/Grabbable.yaml b/yaml/types/Grabbable.yaml index 8dd99a8..c902652 100644 --- a/yaml/types/Grabbable.yaml +++ b/yaml/types/Grabbable.yaml @@ -15,6 +15,13 @@ Properties: IsObsolete: false IsStatic: false Description: Determines the max range that this object can be dragged. + - Name: UseDragForce + Type: boolean + IsAccessibleByScripts: true + IsReadOnly: false + IsObsolete: false + IsStatic: false + Description: Missing Documentation - Name: PermissionMode Type: GrabbablePermissionModeEnum IsAccessibleByScripts: true diff --git a/yaml/types/HttpResponseData.yaml b/yaml/types/HttpResponseData.yaml index 8260a19..3756eaa 100644 --- a/yaml/types/HttpResponseData.yaml +++ b/yaml/types/HttpResponseData.yaml @@ -30,6 +30,13 @@ Properties: IsObsolete: false IsStatic: false Description: The response payload returned by the server as a string buffer. + - Name: Buffer + Type: buffer + IsAccessibleByScripts: true + IsReadOnly: true + IsObsolete: false + IsStatic: false + Description: Missing Documentation Methods: [] Events: [] IsStatic: false diff --git a/yaml/types/HttpService.yaml b/yaml/types/HttpService.yaml index 1a804a8..ce21443 100644 --- a/yaml/types/HttpService.yaml +++ b/yaml/types/HttpService.yaml @@ -104,6 +104,97 @@ Methods: IsObsolete: false IsStatic: false Description: Sends a PATCH request to the specified url. + - Name: GetBufferAsync + ReturnType: buffer + Parameters: + - Name: url + Type: string + IsOptional: false + DefaultValue: "" + - Name: headers + Type: table + IsOptional: true + DefaultValue: null + IsAsync: true + IsObsolete: false + IsStatic: false + Description: Missing Documentation + - Name: PostBufferAsync + ReturnType: buffer + Parameters: + - Name: url + Type: string + IsOptional: false + DefaultValue: "" + - Name: body + Type: string + IsOptional: false + DefaultValue: "" + - Name: headers + Type: table + IsOptional: true + DefaultValue: null + IsAsync: true + IsObsolete: false + IsStatic: false + Description: Missing Documentation + - Name: PutBufferAsync + ReturnType: buffer + Parameters: + - Name: url + Type: string + IsOptional: false + DefaultValue: "" + - Name: body + Type: string + IsOptional: false + DefaultValue: "" + - Name: headers + Type: table + IsOptional: true + DefaultValue: null + IsAsync: true + IsObsolete: false + IsStatic: false + Description: Missing Documentation + - Name: DeleteBufferAsync + ReturnType: buffer + Parameters: + - Name: url + Type: string + IsOptional: false + DefaultValue: "" + - Name: body + Type: string + IsOptional: false + DefaultValue: "" + - Name: headers + Type: table + IsOptional: true + DefaultValue: null + IsAsync: true + IsObsolete: false + IsStatic: false + Description: Missing Documentation + - Name: PatchBufferAsync + ReturnType: buffer + Parameters: + - Name: url + Type: string + IsOptional: false + DefaultValue: "" + - Name: body + Type: string + IsOptional: false + DefaultValue: "" + - Name: headers + Type: table + IsOptional: true + DefaultValue: null + IsAsync: true + IsObsolete: false + IsStatic: false + Description: Missing Documentation Events: [] IsStatic: true IsAbstract: false diff --git a/yaml/types/IOService.yaml b/yaml/types/IOService.yaml index 94a2371..e61cb34 100644 --- a/yaml/types/IOService.yaml +++ b/yaml/types/IOService.yaml @@ -3,7 +3,7 @@ BaseType: Instance Properties: [] Methods: - Name: ReadBytesFromPath - ReturnType: string + ReturnType: buffer Parameters: - Name: path Type: string @@ -21,7 +21,7 @@ Methods: IsOptional: false DefaultValue: "" - Name: bytes - Type: string + Type: buffer IsOptional: false DefaultValue: "" IsAsync: true @@ -36,7 +36,7 @@ Methods: IsStatic: false Description: List all files in the project - Name: ReadBytesFromID - ReturnType: string + ReturnType: buffer Parameters: - Name: id Type: string diff --git a/yaml/types/NetMessage.yaml b/yaml/types/NetMessage.yaml index 2879d93..185e0e6 100644 --- a/yaml/types/NetMessage.yaml +++ b/yaml/types/NetMessage.yaml @@ -122,6 +122,21 @@ Methods: IsObsolete: false IsStatic: false Description: Adds an Instance value to the message with the specified key. + - Name: AddBuffer + ReturnType: nil + Parameters: + - Name: key + Type: string + IsOptional: false + DefaultValue: "" + - Name: buffer + Type: buffer + IsOptional: false + DefaultValue: "" + IsAsync: false + IsObsolete: false + IsStatic: false + Description: Missing Documentation - Name: GetString ReturnType: string Parameters: @@ -210,6 +225,17 @@ Methods: IsObsolete: false IsStatic: false Description: Gets an Instance value from the message with the specified key. + - Name: GetBuffer + ReturnType: buffer + Parameters: + - Name: key + Type: string + IsOptional: false + DefaultValue: "" + IsAsync: false + IsObsolete: false + IsStatic: false + Description: Missing Documentation - Name: New ReturnType: NetMessage Parameters: [] diff --git a/yaml/types/NetworkEvent.yaml b/yaml/types/NetworkEvent.yaml index bb8d623..857cf9b 100644 --- a/yaml/types/NetworkEvent.yaml +++ b/yaml/types/NetworkEvent.yaml @@ -16,8 +16,8 @@ Methods: Parameters: - Name: msg Type: NetMessage - IsOptional: false - DefaultValue: "" + IsOptional: true + DefaultValue: null - Name: _ Type: any IsOptional: true @@ -31,12 +31,12 @@ Methods: Parameters: - Name: msg Type: NetMessage - IsOptional: false - DefaultValue: "" + IsOptional: true + DefaultValue: null - Name: player Type: Player - IsOptional: false - DefaultValue: "" + IsOptional: true + DefaultValue: null IsAsync: false IsObsolete: false IsStatic: false @@ -46,8 +46,8 @@ Methods: Parameters: - Name: msg Type: NetMessage - IsOptional: false - DefaultValue: "" + IsOptional: true + DefaultValue: null IsAsync: false IsObsolete: false IsStatic: false diff --git a/yaml/types/Physical.yaml b/yaml/types/Physical.yaml index 2a305a4..ed9cc12 100644 --- a/yaml/types/Physical.yaml +++ b/yaml/types/Physical.yaml @@ -15,13 +15,6 @@ Properties: IsObsolete: false IsStatic: false Description: Determines whether this object can collide with other objects. - - Name: CanTouch - Type: boolean - IsAccessibleByScripts: true - IsReadOnly: false - IsObsolete: false - IsStatic: false - Description: Missing Documentation - Name: Velocity Type: Vector3 IsAccessibleByScripts: true diff --git a/yaml/types/Script.yaml b/yaml/types/Script.yaml index 09ac4f4..e8986eb 100644 --- a/yaml/types/Script.yaml +++ b/yaml/types/Script.yaml @@ -3,7 +3,7 @@ BaseType: Instance Properties: - Name: Source Type: string - IsAccessibleByScripts: false + IsAccessibleByScripts: true IsReadOnly: false IsObsolete: false IsStatic: false diff --git a/yaml/types/UIField.yaml b/yaml/types/UIField.yaml index 8a269ed..3bee95e 100644 --- a/yaml/types/UIField.yaml +++ b/yaml/types/UIField.yaml @@ -85,6 +85,13 @@ Properties: IsObsolete: false IsStatic: false Description: Missing Documentation + - Name: AbsolutePosition + Type: Vector2 + IsAccessibleByScripts: true + IsReadOnly: true + IsObsolete: false + IsStatic: false + Description: Missing Documentation - Name: AbsoluteSize Type: Vector2 IsAccessibleByScripts: true