From 5b24931204b0279782d7a7e9f964dcd93aa50c05 Mon Sep 17 00:00:00 2001 From: tapple Date: Thu, 2 Jul 2026 09:39:08 -0700 Subject: [PATCH] name improvements for prim media and http wrappers --- generated/cpp/fluent_builder_descriptors.cpp | 6 +++--- generated/secondlife.d.luau | 6 +++--- lsl_definitions.yaml | 3 +++ 3 files changed, 9 insertions(+), 6 deletions(-) diff --git a/generated/cpp/fluent_builder_descriptors.cpp b/generated/cpp/fluent_builder_descriptors.cpp index 53eb671..b034917 100644 --- a/generated/cpp/fluent_builder_descriptors.cpp +++ b/generated/cpp/fluent_builder_descriptors.cpp @@ -2,7 +2,7 @@ static const FluentParamDescriptor kHTTPRequestParamsDescs[] = { {"method", 's', 0}, {"mimetype", 's', 1}, - {"body_maxlength", 'i', 2}, + {"max_body_length", 'i', 2}, {"verify_cert", 'b', 3}, {"verbose_throttle", 'b', 4}, {"custom_header", 'M', 5}, @@ -98,8 +98,8 @@ static const FluentParamDescriptor kPrimMediaParamsDescs[] = { {"auto_scale", 'b', 6}, {"auto_zoom", 'b', 7}, {"first_click_interact", 'b', 8}, - {"width_pixels", 'i', 9}, - {"height_pixels", 'i', 10}, + {"width", 'i', 9}, + {"height", 'i', 10}, {"whitelist_enable", 'b', 11}, {"whitelist", 'C', 12}, {"perms_interact", 'i', 13}, diff --git a/generated/secondlife.d.luau b/generated/secondlife.d.luau index a74157d..09b8745 100644 --- a/generated/secondlife.d.luau +++ b/generated/secondlife.d.luau @@ -134,8 +134,8 @@ export type MediaParams = { auto_scale: boolean?, auto_zoom: boolean?, first_click_interact: boolean?, - width_pixels: number?, - height_pixels: number?, + width: number?, + height: number?, whitelist_enable: boolean?, whitelist: {string}?, perms_interact: number?, @@ -144,7 +144,7 @@ export type MediaParams = { export type HttpRequestParams = { method: string?, mimetype: string?, - body_maxlength: number?, + max_body_length: number?, verify_cert: boolean?, verbose_throttle: boolean?, custom_header: {[string]: string | number | boolean | vector | quaternion}?, diff --git a/lsl_definitions.yaml b/lsl_definitions.yaml index 4ab1ede..976fa82 100644 --- a/lsl_definitions.yaml +++ b/lsl_definitions.yaml @@ -1967,6 +1967,7 @@ constants: value-type: string-multi HTTP_BODY_MAXLENGTH: member-of: [HTTPRequestParam] + pretty-name: max_body_length tooltip: "Sets the maximum (UTF-8 encoded) byte length of the HTTP response body. The maximum limit depends on the VM being used (Mono Max: 16384 bytes, LSO Max: 4096 bytes)." @@ -4099,6 +4100,7 @@ constants: value-type: boolean PRIM_MEDIA_HEIGHT_PIXELS: member-of: [PrimMediaParam] + pretty-name: height tooltip: Integer. Gets or sets the height of the media in pixels. type: integer value: 10 @@ -4186,6 +4188,7 @@ constants: value-type: boolean PRIM_MEDIA_WIDTH_PIXELS: member-of: [PrimMediaParam] + pretty-name: width tooltip: Integer. Gets or sets the width of the media in pixels. type: integer value: 9