@hytopia.com/server-protocol 1.4.11 → 1.4.13

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.11",
3
+ "version": "1.4.13",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"
@@ -23,12 +23,15 @@ export type ParticleEmitterSchema = {
23
23
  os?: number; // opacity start
24
24
  osv?: number; // opacity start variance
25
25
  p?: VectorSchema; // spatial position
26
+ pa?: boolean; // paused state
26
27
  pv?: VectorSchema; // particle spatial variance relative to attachment or position
27
28
  r?: number; // rate, in particles per second
28
29
  rv?: number; // rate variance, in particles per second
29
30
  rm?: boolean; // remove/removed
30
- s?: number; // size, in pixels
31
- sv?: number; // size variance, in pixels
31
+ se?: number; // size end, in world units
32
+ sev?: number; // size end variance, in world units
33
+ ss?: number; // size start, in world units
34
+ ssv?: number; // size start variance, in world units
32
35
  t?: boolean; // transparent
33
36
  tu?: string; // texture uri
34
37
  v?: VectorSchema; // velocity per axis as vector3
@@ -56,12 +59,15 @@ export const particleEmitterSchema: JSONSchemaType<ParticleEmitterSchema> = {
56
59
  os: { type: 'number', nullable: true },
57
60
  osv: { type: 'number', nullable: true },
58
61
  p: { ...vectorSchema, nullable: true },
62
+ pa: { type: 'boolean', nullable: true },
59
63
  pv: { ...vectorSchema, nullable: true },
60
64
  r: { type: 'number', nullable: true },
61
65
  rv: { type: 'number', nullable: true },
62
66
  rm: { type: 'boolean', nullable: true },
63
- s: { type: 'number', nullable: true },
64
- sv: { type: 'number', nullable: true },
67
+ se: { type: 'number', nullable: true },
68
+ sev: { type: 'number', nullable: true },
69
+ ss: { type: 'number', nullable: true },
70
+ ssv: { type: 'number', nullable: true },
65
71
  t: { type: 'boolean', nullable: true },
66
72
  tu: { type: 'string', nullable: true },
67
73
  v: { ...vectorSchema, nullable: true },