summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorRunitaiLinden <davep@lindenlab.com>2023-08-29 16:42:55 -0500
committerRunitaiLinden <davep@lindenlab.com>2023-08-29 16:42:55 -0500
commit455bbcf742691b709353aa3c3e35a76d0ff38ee4 (patch)
treefa806a884bde35d117c40a3d1348b52833dcd020 /scripts
parenta3a811606088f1b40d9e098ddff8b38a2420b8e9 (diff)
SL-20229 Add GenericStreamingMessage and use it to receive GLTF material overrides
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/messages/message_template.msg19
-rwxr-xr-xscripts/messages/message_template.msg.sha12
2 files changed, 20 insertions, 1 deletions
diff --git a/scripts/messages/message_template.msg b/scripts/messages/message_template.msg
index a3ddc6d336..c019a76793 100755
--- a/scripts/messages/message_template.msg
+++ b/scripts/messages/message_template.msg
@@ -5790,6 +5790,25 @@ version 2.0
}
}
+// GenericStreamingMessage
+// Optimized generic message for streaming arbitrary data to viewer
+// Avoid payloads over 7KB (8KB ceiling)
+// Method -- magic number indicating method to use to decode payload:
+// 0x4175 - GLTF material override data
+// Payload -- data to be decoded
+{
+ GenericStreamingMessage High 31 Trusted Unencoded
+ {
+ MethodData Single
+ { Method U16 }
+ }
+
+ {
+ DataBlock Single
+ { Data Variable 2 }
+ }
+}
+
// LargeGenericMessage
// Similar to the above messages, but can handle larger payloads and serialized
// LLSD. Uses HTTP transport
diff --git a/scripts/messages/message_template.msg.sha1 b/scripts/messages/message_template.msg.sha1
index 4712a03e8d..ddde49680e 100755
--- a/scripts/messages/message_template.msg.sha1
+++ b/scripts/messages/message_template.msg.sha1
@@ -1 +1 @@
-dddb11f7e45f1779ff536819f36a20e63d572ba8 \ No newline at end of file
+992450072b9c04c2157247be5cf5341b96d6f167 \ No newline at end of file