From ecaa6a08527bad93c71bdb8211b6c2f8232ff878 Mon Sep 17 00:00:00 2001 From: metamuffin Date: Thu, 9 Jan 2025 21:58:28 +0100 Subject: add name to mesh parts and prefabs --- doc/protocol.md | 2 +- doc/resources.md | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'doc') diff --git a/doc/protocol.md b/doc/protocol.md index bb20a05..63355dd 100644 --- a/doc/protocol.md +++ b/doc/protocol.md @@ -29,7 +29,7 @@ encoded text. 0x07 parent(parent: Obj, child: Obj) 0x08 sound(id: Obj, data: Vec) 0x09 prefab_index(res: Res) -0x0a prefab_name(res: Res, name: String) +0x0a announce_prefab(res: Res) ``` ## Resources diff --git a/doc/resources.md b/doc/resources.md index ba1ce72..6be292b 100644 --- a/doc/resources.md +++ b/doc/resources.md @@ -34,6 +34,7 @@ white except normals are zero. | Key | Value Type | | | ------------------ | ------------- | ------------------ | +| name | String | | | index | Resource | | | g_metallic | Float | | | g_roughness | Float | | -- cgit v1.2.3-70-g09d2