@hytopia.com/server-protocol 1.4.50 → 1.4.51

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hytopia.com/server-protocol",
3
- "version": "1.4.50",
3
+ "version": "1.4.51",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"
@@ -26,6 +26,8 @@ export type ParticleEmitterSchema = {
26
26
  o?: VectorSchema; // offset
27
27
  oe?: number; // opacity end
28
28
  oev?: number; // opacity end variance
29
+ or?: number; // orientation mode: 0=billboard, 1=billboardY, 2=fixed
30
+ ofr?: VectorSchema; // orientation fixed rotation in degrees (x, y, z)
29
31
  os?: number; // opacity start
30
32
  osv?: number; // opacity start variance
31
33
  p?: VectorSchema; // spatial position
@@ -68,6 +70,8 @@ export const particleEmitterSchema: JSONSchemaType<ParticleEmitterSchema> = {
68
70
  o: { ...vectorSchema, nullable: true },
69
71
  oe: { type: 'number', nullable: true },
70
72
  oev: { type: 'number', nullable: true },
73
+ or: { type: 'number', nullable: true },
74
+ ofr: { ...vectorSchema, nullable: true },
71
75
  os: { type: 'number', nullable: true },
72
76
  osv: { type: 'number', nullable: true },
73
77
  p: { ...vectorSchema, nullable: true },