hytopia 0.7.8 → 0.7.9
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/bun-server.mjs +52 -52
- package/docs/server.particleemitter.burst.md +53 -0
- package/docs/server.particleemitter.md +14 -0
- package/docs/server.particleemitterevent.md +14 -0
- package/docs/server.particleemittereventpayloads._particle_emitter.burst_.md +16 -0
- package/docs/server.particleemittereventpayloads.md +19 -0
- package/node-server.mjs +21 -21
- package/package.json +1 -1
- package/server.api.json +114 -0
- package/server.d.ts +12 -0
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [server](./server.md) > [ParticleEmitter](./server.particleemitter.md) > [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
|
+
**Returns:**
|
|
51
|
+
|
|
52
|
+
void
|
|
53
|
+
|
|
@@ -806,6 +806,20 @@ Description
|
|
|
806
806
|
</th></tr></thead>
|
|
807
807
|
<tbody><tr><td>
|
|
808
808
|
|
|
809
|
+
[burst(count)](./server.particleemitter.burst.md)
|
|
810
|
+
|
|
811
|
+
|
|
812
|
+
</td><td>
|
|
813
|
+
|
|
814
|
+
|
|
815
|
+
</td><td>
|
|
816
|
+
|
|
817
|
+
Creates a burst of particles, regardless of pause state.
|
|
818
|
+
|
|
819
|
+
|
|
820
|
+
</td></tr>
|
|
821
|
+
<tr><td>
|
|
822
|
+
|
|
809
823
|
[despawn()](./server.particleemitter.despawn.md)
|
|
810
824
|
|
|
811
825
|
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [server](./server.md) > [ParticleEmitterEventPayloads](./server.particleemittereventpayloads.md) > ["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
|
+
```
|
|
@@ -37,6 +37,25 @@ Description
|
|
|
37
37
|
</th></tr></thead>
|
|
38
38
|
<tbody><tr><td>
|
|
39
39
|
|
|
40
|
+
["PARTICLE\_EMITTER.BURST"](./server.particleemittereventpayloads._particle_emitter.burst_.md)
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
</td><td>
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
</td><td>
|
|
47
|
+
|
|
48
|
+
{ particleEmitter: [ParticleEmitter](./server.particleemitter.md)<!-- -->; count: number; }
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
</td><td>
|
|
52
|
+
|
|
53
|
+
Emitted when a ParticleEmitter bursts the specified number of particles.
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
</td></tr>
|
|
57
|
+
<tr><td>
|
|
58
|
+
|
|
40
59
|
["PARTICLE\_EMITTER.DESPAWN"](./server.particleemittereventpayloads._particle_emitter.despawn_.md)
|
|
41
60
|
|
|
42
61
|
|