@hytopia.com/server-protocol 1.3.40 → 1.3.42
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.
- package/package.json +1 -1
- package/schemas/Model.ts +3 -1
- package/schemas/index.ts +3 -2
package/package.json
CHANGED
package/schemas/Model.ts
CHANGED
|
@@ -14,11 +14,12 @@ export type ModelSchema = {
|
|
|
14
14
|
as?: string[]; // animations stop
|
|
15
15
|
bh?: VectorSchema; // block model half extents
|
|
16
16
|
bt?: string; // block model texture uri
|
|
17
|
-
n?: ModelNodeSchema[]; // model node
|
|
17
|
+
n?: ModelNodeSchema[]; // model node overrides
|
|
18
18
|
p?: VectorSchema; // position
|
|
19
19
|
pm?: number; // parent model id (When model is attached to another model)
|
|
20
20
|
pn?: string; // parent node name (Optional node attached to when model is attached to another model)
|
|
21
21
|
r?: QuaternionSchema; // rotation
|
|
22
|
+
rm?: boolean; // removed/remove
|
|
22
23
|
u?: string; // model uri
|
|
23
24
|
}
|
|
24
25
|
|
|
@@ -37,6 +38,7 @@ export const modelSchema: JSONSchemaType<ModelSchema> = {
|
|
|
37
38
|
pm: { type: 'number', nullable: true },
|
|
38
39
|
pn: { type: 'string', nullable: true },
|
|
39
40
|
r: { ...quaternionSchema, nullable: true },
|
|
41
|
+
rm: { type: 'boolean', nullable: true },
|
|
40
42
|
u: { type: 'string', nullable: true },
|
|
41
43
|
},
|
|
42
44
|
required: [ 'i' ],
|
package/schemas/index.ts
CHANGED
|
@@ -10,12 +10,13 @@ export * from './ChatMessages';
|
|
|
10
10
|
export * from './Chunk';
|
|
11
11
|
export * from './Chunks';
|
|
12
12
|
export * from './DebugConfig';
|
|
13
|
-
export * from './Entity';
|
|
14
|
-
export * from './Entities';
|
|
15
13
|
export * from './HexColor';
|
|
16
14
|
export * from './Input';
|
|
17
15
|
export * from './Light';
|
|
18
16
|
export * from './Lights';
|
|
17
|
+
export * from './Model';
|
|
18
|
+
export * from './ModelNode';
|
|
19
|
+
export * from './Models';
|
|
19
20
|
export * from './PhysicsDebugRaycast';
|
|
20
21
|
export * from './PhysicsDebugRaycasts';
|
|
21
22
|
export * from './PhysicsDebugRender';
|