hytopia 0.7.1 → 0.7.3-dev1

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.
Files changed (69) hide show
  1. package/bun-server.mjs +159 -159
  2. package/docs/server.array3number.md +13 -0
  3. package/docs/server.array4number.md +13 -0
  4. package/docs/server.audiomanager.getallaudios.md +37 -1
  5. package/docs/server.audiomanager.md +1 -1
  6. package/docs/server.blocktype._constructor_.md +15 -1
  7. package/docs/server.blocktype.blocktyperegistry.md +13 -0
  8. package/docs/server.blocktype.md +22 -1
  9. package/docs/server.blocktyperegistry.getallblocktypes.md +37 -1
  10. package/docs/server.blocktyperegistry.md +1 -1
  11. package/docs/server.chunk._constructor_.md +15 -1
  12. package/docs/server.chunk.chunklattice.md +13 -0
  13. package/docs/server.chunk.md +22 -1
  14. package/docs/server.chunklattice.getallchunks.md +37 -1
  15. package/docs/server.chunklattice.md +22 -1
  16. package/docs/server.chunklattice.world.md +13 -0
  17. package/docs/server.entitymanager.getallentities.md +37 -1
  18. package/docs/server.entitymanager.md +1 -1
  19. package/docs/server.lightmanager.getalllights.md +37 -1
  20. package/docs/server.lightmanager.md +1 -1
  21. package/docs/server.md +33 -0
  22. package/docs/server.particleemitter.md +120 -29
  23. package/docs/server.particleemitter.paused.md +13 -0
  24. package/docs/server.particleemitter.restart.md +1 -1
  25. package/docs/{server.particleemitter.setsize.md → server.particleemitter.setsizeend.md} +6 -6
  26. package/docs/server.particleemitter.setsizeendvariance.md +53 -0
  27. package/docs/{server.particleemitter.setsizevariance.md → server.particleemitter.setsizestart.md} +6 -6
  28. package/docs/server.particleemitter.setsizestartvariance.md +53 -0
  29. package/docs/server.particleemitter.sizeend.md +13 -0
  30. package/docs/server.particleemitter.sizeendvariance.md +13 -0
  31. package/docs/server.particleemitter.sizestart.md +13 -0
  32. package/docs/server.particleemitter.sizestartvariance.md +13 -0
  33. package/docs/server.particleemitter.stop.md +1 -1
  34. package/docs/server.particleemitterevent.md +46 -4
  35. package/docs/server.particleemittereventpayloads._particle_emitter.set_paused_.md +16 -0
  36. package/docs/server.particleemittereventpayloads._particle_emitter.set_size_end_.md +16 -0
  37. package/docs/server.particleemittereventpayloads._particle_emitter.set_size_end_variance_.md +16 -0
  38. package/docs/server.particleemittereventpayloads._particle_emitter.set_size_start_.md +16 -0
  39. package/docs/server.particleemittereventpayloads._particle_emitter.set_size_start_variance_.md +16 -0
  40. package/docs/server.particleemittereventpayloads.md +63 -6
  41. package/docs/server.particleemittermanager.getallparticleemitters.md +37 -1
  42. package/docs/server.particleemittermanager.md +1 -1
  43. package/docs/server.particleemitteroptions.md +42 -4
  44. package/docs/server.particleemitteroptions.sizeend.md +13 -0
  45. package/docs/server.particleemitteroptions.sizeendvariance.md +13 -0
  46. package/docs/server.particleemitteroptions.sizestart.md +13 -0
  47. package/docs/server.particleemitteroptions.sizestartvariance.md +13 -0
  48. package/docs/server.sceneuimanager.getallsceneuis.md +37 -1
  49. package/docs/server.sceneuimanager.md +1 -1
  50. package/docs/server.tickallocator.getarray.md +71 -0
  51. package/docs/server.tickallocator.getarray3number.md +55 -0
  52. package/docs/server.tickallocator.getarray4number.md +55 -0
  53. package/docs/server.tickallocator.getobject.md +71 -0
  54. package/docs/server.tickallocator.getset.md +71 -0
  55. package/docs/server.tickallocator.map.md +71 -0
  56. package/docs/server.tickallocator.md +148 -0
  57. package/docs/server.tickallocator.reset.md +17 -0
  58. package/docs/server.world.md +21 -0
  59. package/docs/server.world.tickallocator.md +13 -0
  60. package/node-server.mjs +163 -163
  61. package/package.json +1 -1
  62. package/server.api.json +1442 -113
  63. package/server.d.ts +230 -52
  64. package/docs/server.particleemitter.isstopped.md +0 -13
  65. package/docs/server.particleemitter.size.md +0 -13
  66. package/docs/server.particleemittereventpayloads._particle_emitter.set_size_.md +0 -16
  67. package/docs/server.particleemittereventpayloads._particle_emitter.set_size_variance_.md +0 -16
  68. package/docs/server.particleemitteroptions.size.md +0 -13
  69. package/docs/server.particleemitteroptions.sizevariance.md +0 -13
@@ -357,6 +357,25 @@ Emitted when the opacity variance of an emitted particle at the start of its lif
357
357
  Emitted when the opacity of an emitted particle at the start of its lifetime is set.
358
358
 
359
359
 
360
+ </td></tr>
361
+ <tr><td>
362
+
363
+ ["PARTICLE\_EMITTER.SET\_PAUSED"](./server.particleemittereventpayloads._particle_emitter.set_paused_.md)
364
+
365
+
366
+ </td><td>
367
+
368
+
369
+ </td><td>
370
+
371
+ { particleEmitter: [ParticleEmitter](./server.particleemitter.md)<!-- -->; paused: boolean; }
372
+
373
+
374
+ </td><td>
375
+
376
+ Emitted when the paused state of an emitted particle is set.
377
+
378
+
360
379
  </td></tr>
361
380
  <tr><td>
362
381
 
@@ -436,7 +455,45 @@ Emitted when the rate per second at which particles are emitted is set.
436
455
  </td></tr>
437
456
  <tr><td>
438
457
 
439
- ["PARTICLE\_EMITTER.SET\_SIZE\_VARIANCE"](./server.particleemittereventpayloads._particle_emitter.set_size_variance_.md)
458
+ ["PARTICLE\_EMITTER.SET\_SIZE\_END\_VARIANCE"](./server.particleemittereventpayloads._particle_emitter.set_size_end_variance_.md)
459
+
460
+
461
+ </td><td>
462
+
463
+
464
+ </td><td>
465
+
466
+ { particleEmitter: [ParticleEmitter](./server.particleemitter.md)<!-- -->; sizeEndVariance: number; }
467
+
468
+
469
+ </td><td>
470
+
471
+ Emitted when the size variance at the end of an emitted particle's lifetime is set.
472
+
473
+
474
+ </td></tr>
475
+ <tr><td>
476
+
477
+ ["PARTICLE\_EMITTER.SET\_SIZE\_END"](./server.particleemittereventpayloads._particle_emitter.set_size_end_.md)
478
+
479
+
480
+ </td><td>
481
+
482
+
483
+ </td><td>
484
+
485
+ { particleEmitter: [ParticleEmitter](./server.particleemitter.md)<!-- -->; sizeEnd: number; }
486
+
487
+
488
+ </td><td>
489
+
490
+ Emitted when the size at the end of an emitted particle's lifetime is set.
491
+
492
+
493
+ </td></tr>
494
+ <tr><td>
495
+
496
+ ["PARTICLE\_EMITTER.SET\_SIZE\_START\_VARIANCE"](./server.particleemittereventpayloads._particle_emitter.set_size_start_variance_.md)
440
497
 
441
498
 
442
499
  </td><td>
@@ -444,18 +501,18 @@ Emitted when the rate per second at which particles are emitted is set.
444
501
 
445
502
  </td><td>
446
503
 
447
- { particleEmitter: [ParticleEmitter](./server.particleemitter.md)<!-- -->; sizeVariance: number; }
504
+ { particleEmitter: [ParticleEmitter](./server.particleemitter.md)<!-- -->; sizeStartVariance: number; }
448
505
 
449
506
 
450
507
  </td><td>
451
508
 
452
- Emitted when the size variance of an emitted particle is set.
509
+ Emitted when the size variance at the start of an emitted particle's lifetime is set.
453
510
 
454
511
 
455
512
  </td></tr>
456
513
  <tr><td>
457
514
 
458
- ["PARTICLE\_EMITTER.SET\_SIZE"](./server.particleemittereventpayloads._particle_emitter.set_size_.md)
515
+ ["PARTICLE\_EMITTER.SET\_SIZE\_START"](./server.particleemittereventpayloads._particle_emitter.set_size_start_.md)
459
516
 
460
517
 
461
518
  </td><td>
@@ -463,12 +520,12 @@ Emitted when the size variance of an emitted particle is set.
463
520
 
464
521
  </td><td>
465
522
 
466
- { particleEmitter: [ParticleEmitter](./server.particleemitter.md)<!-- -->; size: number; }
523
+ { particleEmitter: [ParticleEmitter](./server.particleemitter.md)<!-- -->; sizeStart: number; }
467
524
 
468
525
 
469
526
  </td><td>
470
527
 
471
- Emitted when the size of an emitted particle is set.
528
+ Emitted when the size at the start of an emitted particle's lifetime is set.
472
529
 
473
530
 
474
531
  </td></tr>
@@ -9,8 +9,44 @@ Retrieves all spawned ParticleEmitter instances for the world.
9
9
  **Signature:**
10
10
 
11
11
  ```typescript
12
- getAllParticleEmitters(): ParticleEmitter[];
12
+ getAllParticleEmitters(tickAllocated?: boolean): ParticleEmitter[];
13
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
+ tickAllocated
36
+
37
+
38
+ </td><td>
39
+
40
+ boolean
41
+
42
+
43
+ </td><td>
44
+
45
+ _(Optional)_ Whether to use the tick allocator to allocate the returned array of ParticleEmitter instances. The allocated array will be collected and released at the end of the current tick if true. Only use this if you know what you're doing.
46
+
47
+
48
+ </td></tr>
49
+ </tbody></table>
14
50
  **Returns:**
15
51
 
16
52
  [ParticleEmitter](./server.particleemitter.md)<!-- -->\[\]
@@ -98,7 +98,7 @@ Retrieves all spawned ParticleEmitter instances attached to a specific entity.
98
98
  </td></tr>
99
99
  <tr><td>
100
100
 
101
- [getAllParticleEmitters()](./server.particleemittermanager.getallparticleemitters.md)
101
+ [getAllParticleEmitters(tickAllocated)](./server.particleemittermanager.getallparticleemitters.md)
102
102
 
103
103
 
104
104
  </td><td>
@@ -417,7 +417,7 @@ _(Optional)_ The rate per second variance of the particle emission rate.
417
417
  </td></tr>
418
418
  <tr><td>
419
419
 
420
- [size?](./server.particleemitteroptions.size.md)
420
+ [sizeEnd?](./server.particleemitteroptions.sizeend.md)
421
421
 
422
422
 
423
423
  </td><td>
@@ -430,13 +430,13 @@ number
430
430
 
431
431
  </td><td>
432
432
 
433
- _(Optional)_ The size of an emitted particle.
433
+ _(Optional)_ The size at the end of an emitted particle's lifetime.
434
434
 
435
435
 
436
436
  </td></tr>
437
437
  <tr><td>
438
438
 
439
- [sizeVariance?](./server.particleemitteroptions.sizevariance.md)
439
+ [sizeEndVariance?](./server.particleemitteroptions.sizeendvariance.md)
440
440
 
441
441
 
442
442
  </td><td>
@@ -449,7 +449,45 @@ number
449
449
 
450
450
  </td><td>
451
451
 
452
- _(Optional)_ The size variance of an emitted particle.
452
+ _(Optional)_ The size variance at the end of an emitted particle's lifetime.
453
+
454
+
455
+ </td></tr>
456
+ <tr><td>
457
+
458
+ [sizeStart?](./server.particleemitteroptions.sizestart.md)
459
+
460
+
461
+ </td><td>
462
+
463
+
464
+ </td><td>
465
+
466
+ number
467
+
468
+
469
+ </td><td>
470
+
471
+ _(Optional)_ The size at the start of an emitted particle's lifetime.
472
+
473
+
474
+ </td></tr>
475
+ <tr><td>
476
+
477
+ [sizeStartVariance?](./server.particleemitteroptions.sizestartvariance.md)
478
+
479
+
480
+ </td><td>
481
+
482
+
483
+ </td><td>
484
+
485
+ number
486
+
487
+
488
+ </td><td>
489
+
490
+ _(Optional)_ The size variance at the start of an emitted particle's lifetime.
453
491
 
454
492
 
455
493
  </td></tr>
@@ -0,0 +1,13 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [server](./server.md) &gt; [ParticleEmitterOptions](./server.particleemitteroptions.md) &gt; [sizeEnd](./server.particleemitteroptions.sizeend.md)
4
+
5
+ ## ParticleEmitterOptions.sizeEnd property
6
+
7
+ The size at the end of an emitted particle's lifetime.
8
+
9
+ **Signature:**
10
+
11
+ ```typescript
12
+ sizeEnd?: number;
13
+ ```
@@ -0,0 +1,13 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [server](./server.md) &gt; [ParticleEmitterOptions](./server.particleemitteroptions.md) &gt; [sizeEndVariance](./server.particleemitteroptions.sizeendvariance.md)
4
+
5
+ ## ParticleEmitterOptions.sizeEndVariance property
6
+
7
+ The size variance at the end of an emitted particle's lifetime.
8
+
9
+ **Signature:**
10
+
11
+ ```typescript
12
+ sizeEndVariance?: number;
13
+ ```
@@ -0,0 +1,13 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [server](./server.md) &gt; [ParticleEmitterOptions](./server.particleemitteroptions.md) &gt; [sizeStart](./server.particleemitteroptions.sizestart.md)
4
+
5
+ ## ParticleEmitterOptions.sizeStart property
6
+
7
+ The size at the start of an emitted particle's lifetime.
8
+
9
+ **Signature:**
10
+
11
+ ```typescript
12
+ sizeStart?: number;
13
+ ```
@@ -0,0 +1,13 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [server](./server.md) &gt; [ParticleEmitterOptions](./server.particleemitteroptions.md) &gt; [sizeStartVariance](./server.particleemitteroptions.sizestartvariance.md)
4
+
5
+ ## ParticleEmitterOptions.sizeStartVariance property
6
+
7
+ The size variance at the start of an emitted particle's lifetime.
8
+
9
+ **Signature:**
10
+
11
+ ```typescript
12
+ sizeStartVariance?: number;
13
+ ```
@@ -9,8 +9,44 @@ Retrieves all loaded SceneUI instances for the world.
9
9
  **Signature:**
10
10
 
11
11
  ```typescript
12
- getAllSceneUIs(): SceneUI[];
12
+ getAllSceneUIs(tickAllocated?: boolean): SceneUI[];
13
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
+ tickAllocated
36
+
37
+
38
+ </td><td>
39
+
40
+ boolean
41
+
42
+
43
+ </td><td>
44
+
45
+ _(Optional)_ Whether to use the tick allocator to allocate the returned array of SceneUI instances. The allocated array will be collected and released at the end of the current tick if true. Only use this if you know what you're doing.
46
+
47
+
48
+ </td></tr>
49
+ </tbody></table>
14
50
  **Returns:**
15
51
 
16
52
  [SceneUI](./server.sceneui.md)<!-- -->\[\]
@@ -98,7 +98,7 @@ Retrieves all loaded SceneUI instances attached to a specific entity.
98
98
  </td></tr>
99
99
  <tr><td>
100
100
 
101
- [getAllSceneUIs()](./server.sceneuimanager.getallsceneuis.md)
101
+ [getAllSceneUIs(tickAllocated)](./server.sceneuimanager.getallsceneuis.md)
102
102
 
103
103
 
104
104
  </td><td>
@@ -0,0 +1,71 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [server](./server.md) &gt; [TickAllocator](./server.tickallocator.md) &gt; [getArray](./server.tickallocator.getarray.md)
4
+
5
+ ## TickAllocator.getArray() method
6
+
7
+ Gets a generic array from the pool. Array is reset to empty state and ready for use.
8
+
9
+ **Signature:**
10
+
11
+ ```typescript
12
+ getArray<T extends unknown[] = unknown[]>(copyFromA?: Iterable<unknown>, copyFromB?: Iterable<unknown>): T;
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
+ copyFromA
36
+
37
+
38
+ </td><td>
39
+
40
+ Iterable&lt;unknown&gt;
41
+
42
+
43
+ </td><td>
44
+
45
+ _(Optional)_
46
+
47
+
48
+ </td></tr>
49
+ <tr><td>
50
+
51
+ copyFromB
52
+
53
+
54
+ </td><td>
55
+
56
+ Iterable&lt;unknown&gt;
57
+
58
+
59
+ </td><td>
60
+
61
+ _(Optional)_
62
+
63
+
64
+ </td></tr>
65
+ </tbody></table>
66
+ **Returns:**
67
+
68
+ T
69
+
70
+ A reusable array.
71
+
@@ -0,0 +1,55 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [server](./server.md) &gt; [TickAllocator](./server.tickallocator.md) &gt; [getArray3Number](./server.tickallocator.getarray3number.md)
4
+
5
+ ## TickAllocator.getArray3Number() method
6
+
7
+ Gets a 3-element number array from the pool. Array is reset to \[0, 0, 0\] and ready for use.
8
+
9
+ **Signature:**
10
+
11
+ ```typescript
12
+ getArray3Number(copyFrom?: Array3Number | Set<number>): Array3Number;
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
+ copyFrom
36
+
37
+
38
+ </td><td>
39
+
40
+ [Array3Number](./server.array3number.md) \| Set&lt;number&gt;
41
+
42
+
43
+ </td><td>
44
+
45
+ _(Optional)_
46
+
47
+
48
+ </td></tr>
49
+ </tbody></table>
50
+ **Returns:**
51
+
52
+ [Array3Number](./server.array3number.md)
53
+
54
+ A reusable 3-element array.
55
+
@@ -0,0 +1,55 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [server](./server.md) &gt; [TickAllocator](./server.tickallocator.md) &gt; [getArray4Number](./server.tickallocator.getarray4number.md)
4
+
5
+ ## TickAllocator.getArray4Number() method
6
+
7
+ Gets a 4-element number array from the pool. Array is reset to \[0, 0, 0, 0\] and ready for use.
8
+
9
+ **Signature:**
10
+
11
+ ```typescript
12
+ getArray4Number(copyFrom?: Array4Number | Set<number>): Array4Number;
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
+ copyFrom
36
+
37
+
38
+ </td><td>
39
+
40
+ [Array4Number](./server.array4number.md) \| Set&lt;number&gt;
41
+
42
+
43
+ </td><td>
44
+
45
+ _(Optional)_
46
+
47
+
48
+ </td></tr>
49
+ </tbody></table>
50
+ **Returns:**
51
+
52
+ [Array4Number](./server.array4number.md)
53
+
54
+ A reusable 4-element array.
55
+
@@ -0,0 +1,71 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [server](./server.md) &gt; [TickAllocator](./server.tickallocator.md) &gt; [getObject](./server.tickallocator.getobject.md)
4
+
5
+ ## TickAllocator.getObject() method
6
+
7
+ Gets a plain object from the pool. Object is reset to empty state and ready for use.
8
+
9
+ **Signature:**
10
+
11
+ ```typescript
12
+ getObject<T extends Record<string, unknown> = Record<string, unknown>>(copyFromA?: T, copyFromB?: T): T;
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
+ copyFromA
36
+
37
+
38
+ </td><td>
39
+
40
+ T
41
+
42
+
43
+ </td><td>
44
+
45
+ _(Optional)_
46
+
47
+
48
+ </td></tr>
49
+ <tr><td>
50
+
51
+ copyFromB
52
+
53
+
54
+ </td><td>
55
+
56
+ T
57
+
58
+
59
+ </td><td>
60
+
61
+ _(Optional)_
62
+
63
+
64
+ </td></tr>
65
+ </tbody></table>
66
+ **Returns:**
67
+
68
+ T
69
+
70
+ A reusable plain object.
71
+
@@ -0,0 +1,71 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [server](./server.md) &gt; [TickAllocator](./server.tickallocator.md) &gt; [getSet](./server.tickallocator.getset.md)
4
+
5
+ ## TickAllocator.getSet() method
6
+
7
+ Gets a set from the pool. Set is reset to empty state and ready for use.
8
+
9
+ **Signature:**
10
+
11
+ ```typescript
12
+ getSet<T>(copyFromA?: Set<T> | T[], copyFromB?: Set<T> | T[]): Set<T>;
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
+ copyFromA
36
+
37
+
38
+ </td><td>
39
+
40
+ Set&lt;T&gt; \| T\[\]
41
+
42
+
43
+ </td><td>
44
+
45
+ _(Optional)_
46
+
47
+
48
+ </td></tr>
49
+ <tr><td>
50
+
51
+ copyFromB
52
+
53
+
54
+ </td><td>
55
+
56
+ Set&lt;T&gt; \| T\[\]
57
+
58
+
59
+ </td><td>
60
+
61
+ _(Optional)_
62
+
63
+
64
+ </td></tr>
65
+ </tbody></table>
66
+ **Returns:**
67
+
68
+ Set&lt;T&gt;
69
+
70
+ A reusable set.
71
+