hytopia 0.8.6-devtrace-27bfff8 → 0.8.6-devtrace-bb174a9

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",
3
- "version": "0.8.6-devtrace-27bfff8",
3
+ "version": "0.8.6-devtrace-bb174a9",
4
4
  "description": "The HYTOPIA SDK makes it easy for developers to create massively multiplayer games using JavaScript or TypeScript.",
5
5
  "type": "module",
6
6
  "main": "./node-server.mjs",
package/server.api.json CHANGED
@@ -28804,54 +28804,6 @@
28804
28804
  "isProtected": false,
28805
28805
  "isAbstract": false
28806
28806
  },
28807
- {
28808
- "kind": "Method",
28809
- "canonicalReference": "server!ParticleEmitter#burst:member(1)",
28810
- "docComment": "/**\n * Creates a burst of particles, regardless of pause state.\n *\n * @param count - The number of particles to burst.\n */\n",
28811
- "excerptTokens": [
28812
- {
28813
- "kind": "Content",
28814
- "text": "burst(count: "
28815
- },
28816
- {
28817
- "kind": "Content",
28818
- "text": "number"
28819
- },
28820
- {
28821
- "kind": "Content",
28822
- "text": "): "
28823
- },
28824
- {
28825
- "kind": "Content",
28826
- "text": "void"
28827
- },
28828
- {
28829
- "kind": "Content",
28830
- "text": ";"
28831
- }
28832
- ],
28833
- "isStatic": false,
28834
- "returnTypeTokenRange": {
28835
- "startIndex": 3,
28836
- "endIndex": 4
28837
- },
28838
- "releaseTag": "Public",
28839
- "isProtected": false,
28840
- "overloadIndex": 1,
28841
- "parameters": [
28842
- {
28843
- "parameterName": "count",
28844
- "parameterTypeTokenRange": {
28845
- "startIndex": 1,
28846
- "endIndex": 2
28847
- },
28848
- "isOptional": false
28849
- }
28850
- ],
28851
- "isOptional": false,
28852
- "isAbstract": false,
28853
- "name": "burst"
28854
- },
28855
28807
  {
28856
28808
  "kind": "Property",
28857
28809
  "canonicalReference": "server!ParticleEmitter#colorEnd:member",
@@ -31331,27 +31283,6 @@
31331
31283
  "name": "ParticleEmitterEvent",
31332
31284
  "preserveMemberOrder": false,
31333
31285
  "members": [
31334
- {
31335
- "kind": "EnumMember",
31336
- "canonicalReference": "server!ParticleEmitterEvent.BURST:member",
31337
- "docComment": "",
31338
- "excerptTokens": [
31339
- {
31340
- "kind": "Content",
31341
- "text": "BURST = "
31342
- },
31343
- {
31344
- "kind": "Content",
31345
- "text": "\"PARTICLE_EMITTER.BURST\""
31346
- }
31347
- ],
31348
- "initializerTokenRange": {
31349
- "startIndex": 1,
31350
- "endIndex": 2
31351
- },
31352
- "releaseTag": "Public",
31353
- "name": "BURST"
31354
- },
31355
31286
  {
31356
31287
  "kind": "EnumMember",
31357
31288
  "canonicalReference": "server!ParticleEmitterEvent.DESPAWN:member",
@@ -32020,51 +31951,6 @@
32020
31951
  "name": "ParticleEmitterEventPayloads",
32021
31952
  "preserveMemberOrder": false,
32022
31953
  "members": [
32023
- {
32024
- "kind": "PropertySignature",
32025
- "canonicalReference": "server!ParticleEmitterEventPayloads#\"PARTICLE_EMITTER.BURST\":member",
32026
- "docComment": "/**\n * Emitted when a ParticleEmitter bursts the specified number of particles.\n */\n",
32027
- "excerptTokens": [
32028
- {
32029
- "kind": "Content",
32030
- "text": "["
32031
- },
32032
- {
32033
- "kind": "Reference",
32034
- "text": "ParticleEmitterEvent.BURST",
32035
- "canonicalReference": "server!ParticleEmitterEvent.BURST:member"
32036
- },
32037
- {
32038
- "kind": "Content",
32039
- "text": "]: "
32040
- },
32041
- {
32042
- "kind": "Content",
32043
- "text": "{\n particleEmitter: "
32044
- },
32045
- {
32046
- "kind": "Reference",
32047
- "text": "ParticleEmitter",
32048
- "canonicalReference": "server!ParticleEmitter:class"
32049
- },
32050
- {
32051
- "kind": "Content",
32052
- "text": ";\n count: number;\n }"
32053
- },
32054
- {
32055
- "kind": "Content",
32056
- "text": ";"
32057
- }
32058
- ],
32059
- "isReadonly": false,
32060
- "isOptional": false,
32061
- "releaseTag": "Public",
32062
- "name": "\"PARTICLE_EMITTER.BURST\"",
32063
- "propertyTypeTokenRange": {
32064
- "startIndex": 3,
32065
- "endIndex": 6
32066
- }
32067
- },
32068
31954
  {
32069
31955
  "kind": "PropertySignature",
32070
31956
  "canonicalReference": "server!ParticleEmitterEventPayloads#\"PARTICLE_EMITTER.DESPAWN\":member",
package/server.d.ts CHANGED
@@ -5,12 +5,12 @@ import http from 'http';
5
5
  import type { IncomingMessage } from 'http';
6
6
  import type { InputSchema } from '@hytopia.com/server-protocol';
7
7
  import type { LobbyMembershipDto } from '@hytopia.com/creative-lib/dist/impl/getSession';
8
+ import mediasoup from 'mediasoup';
8
9
  import protocol from '@hytopia.com/server-protocol';
9
10
  import RAPIER from '@dimforge/rapier3d-simd-compat';
10
11
  import { SdpMatrix3 } from '@dimforge/rapier3d-simd-compat';
11
12
  import * as Sentry from '@sentry/node';
12
13
  import type { Socket } from 'net';
13
- import type { types } from 'mediasoup';
14
14
  import { WebSocket as WebSocket_2 } from 'ws';
15
15
 
16
16
  /**
@@ -3868,12 +3868,6 @@ export declare class ParticleEmitter extends EventRouter implements protocol.Ser
3868
3868
  * @param velocityVariance - The velocity variance of an emitted particle.
3869
3869
  */
3870
3870
  setVelocityVariance(velocityVariance: Vector3Like): void;
3871
- /**
3872
- * Creates a burst of particles, regardless of pause state.
3873
- *
3874
- * @param count - The number of particles to burst.
3875
- */
3876
- burst(count: number): void;
3877
3871
  /**
3878
3872
  * Despawns the ParticleEmitter from the world.
3879
3873
  */
@@ -3897,7 +3891,6 @@ export declare class ParticleEmitter extends EventRouter implements protocol.Ser
3897
3891
 
3898
3892
  /** Event types a ParticleEmitter instance can emit. See {@link ParticleEmitterEventPayloads} @public */
3899
3893
  export declare enum ParticleEmitterEvent {
3900
- BURST = "PARTICLE_EMITTER.BURST",
3901
3894
  DESPAWN = "PARTICLE_EMITTER.DESPAWN",
3902
3895
  SET_ALPHA_TEST = "PARTICLE_EMITTER.SET_ALPHA_TEST",
3903
3896
  SET_ATTACHED_TO_ENTITY = "PARTICLE_EMITTER.SET_ATTACHED_TO_ENTITY",
@@ -3933,11 +3926,6 @@ export declare enum ParticleEmitterEvent {
3933
3926
 
3934
3927
  /** Event payloads for ParticleEmitter emitted events. @public */
3935
3928
  export declare interface ParticleEmitterEventPayloads {
3936
- /** Emitted when a ParticleEmitter bursts the specified number of particles. */
3937
- [ParticleEmitterEvent.BURST]: {
3938
- particleEmitter: ParticleEmitter;
3939
- count: number;
3940
- };
3941
3929
  /** Emitted when a ParticleEmitter is despawned. */
3942
3930
  [ParticleEmitterEvent.DESPAWN]: {
3943
3931
  particleEmitter: ParticleEmitter;
@@ -1,54 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [server](./server.md) &gt; [ParticleEmitter](./server.particleemitter.md) &gt; [burst](./server.particleemitter.burst.md)
4
-
5
- ## ParticleEmitter.burst() method
6
-
7
- Creates a burst of particles, regardless of pause state.
8
-
9
- **Signature:**
10
-
11
- ```typescript
12
- burst(count: number): void;
13
- ```
14
-
15
- ## Parameters
16
-
17
- <table><thead><tr><th>
18
-
19
- Parameter
20
-
21
-
22
- </th><th>
23
-
24
- Type
25
-
26
-
27
- </th><th>
28
-
29
- Description
30
-
31
-
32
- </th></tr></thead>
33
- <tbody><tr><td>
34
-
35
- count
36
-
37
-
38
- </td><td>
39
-
40
- number
41
-
42
-
43
- </td><td>
44
-
45
- The number of particles to burst.
46
-
47
-
48
- </td></tr>
49
- </tbody></table>
50
-
51
- **Returns:**
52
-
53
- void
54
-
@@ -1,16 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [server](./server.md) &gt; [ParticleEmitterEventPayloads](./server.particleemittereventpayloads.md) &gt; ["PARTICLE\_EMITTER.BURST"](./server.particleemittereventpayloads._particle_emitter.burst_.md)
4
-
5
- ## ParticleEmitterEventPayloads."PARTICLE\_EMITTER.BURST" property
6
-
7
- Emitted when a ParticleEmitter bursts the specified number of particles.
8
-
9
- **Signature:**
10
-
11
- ```typescript
12
- [ParticleEmitterEvent.BURST]: {
13
- particleEmitter: ParticleEmitter;
14
- count: number;
15
- };
16
- ```