hytopia 0.1.99 → 0.2.0
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/docs/server.player.md +21 -0
- package/docs/server.player.profilepictureurl.md +13 -0
- package/examples/zombies-fps/README.md +5 -0
- package/package.json +1 -1
- package/server.api.json +47 -17
- package/server.d.ts +5 -4
- package/server.js +94 -88
- package/tsdoc-metadata.json +1 -1
package/docs/server.player.md
CHANGED
@@ -103,6 +103,27 @@ The unique HYTOPIA UUID for the player.
|
|
103
103
|
The current [PlayerInput](./server.playerinput.md) of the player.
|
104
104
|
|
105
105
|
|
106
|
+
</td></tr>
|
107
|
+
<tr><td>
|
108
|
+
|
109
|
+
[profilePictureUrl](./server.player.profilepictureurl.md)
|
110
|
+
|
111
|
+
|
112
|
+
</td><td>
|
113
|
+
|
114
|
+
`readonly`
|
115
|
+
|
116
|
+
|
117
|
+
</td><td>
|
118
|
+
|
119
|
+
string \| undefined
|
120
|
+
|
121
|
+
|
122
|
+
</td><td>
|
123
|
+
|
124
|
+
The profile picture URL for the player.
|
125
|
+
|
126
|
+
|
106
127
|
</td></tr>
|
107
128
|
<tr><td>
|
108
129
|
|
@@ -0,0 +1,13 @@
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
+
|
3
|
+
[Home](./index.md) > [server](./server.md) > [Player](./server.player.md) > [profilePictureUrl](./server.player.profilepictureurl.md)
|
4
|
+
|
5
|
+
## Player.profilePictureUrl property
|
6
|
+
|
7
|
+
The profile picture URL for the player.
|
8
|
+
|
9
|
+
**Signature:**
|
10
|
+
|
11
|
+
```typescript
|
12
|
+
readonly profilePictureUrl: string | undefined;
|
13
|
+
```
|
@@ -0,0 +1,5 @@
|
|
1
|
+
# zombies-fps
|
2
|
+
|
3
|
+
A game inspired by the Call of Duty Zombies game mode. This is a basic, but mostly full featured game where players fight
|
4
|
+
off waves of zombies, can unlock rooms and weapons through crates, revive each other, and more. It implements the basics of a
|
5
|
+
complete gun system that uses raycasts as well.
|
package/package.json
CHANGED
package/server.api.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"metadata": {
|
3
3
|
"toolPackage": "@microsoft/api-extractor",
|
4
|
-
"toolVersion": "7.
|
4
|
+
"toolVersion": "7.50.0",
|
5
5
|
"schemaVersion": 1011,
|
6
6
|
"oldestForwardsCompatibleVersion": 1001,
|
7
7
|
"tsdocConfig": {
|
@@ -7115,7 +7115,7 @@
|
|
7115
7115
|
{
|
7116
7116
|
"kind": "Reference",
|
7117
7117
|
"text": "RAPIER.Collider",
|
7118
|
-
"canonicalReference": "@dimforge/rapier3d-compat!Collider:class"
|
7118
|
+
"canonicalReference": "@dimforge/rapier3d-compat-simd!Collider:class"
|
7119
7119
|
},
|
7120
7120
|
{
|
7121
7121
|
"kind": "Content",
|
@@ -9391,7 +9391,7 @@
|
|
9391
9391
|
{
|
9392
9392
|
"kind": "Reference",
|
9393
9393
|
"text": "RAPIER.Vector",
|
9394
|
-
"canonicalReference": "@dimforge/rapier3d-compat!Vector:interface"
|
9394
|
+
"canonicalReference": "@dimforge/rapier3d-compat-simd!Vector:interface"
|
9395
9395
|
},
|
9396
9396
|
{
|
9397
9397
|
"kind": "Content",
|
@@ -9400,7 +9400,7 @@
|
|
9400
9400
|
{
|
9401
9401
|
"kind": "Reference",
|
9402
9402
|
"text": "RAPIER.Vector",
|
9403
|
-
"canonicalReference": "@dimforge/rapier3d-compat!Vector:interface"
|
9403
|
+
"canonicalReference": "@dimforge/rapier3d-compat-simd!Vector:interface"
|
9404
9404
|
},
|
9405
9405
|
{
|
9406
9406
|
"kind": "Content",
|
@@ -18286,6 +18286,36 @@
|
|
18286
18286
|
"isAbstract": false,
|
18287
18287
|
"name": "leaveWorld"
|
18288
18288
|
},
|
18289
|
+
{
|
18290
|
+
"kind": "Property",
|
18291
|
+
"canonicalReference": "server!Player#profilePictureUrl:member",
|
18292
|
+
"docComment": "/**\n * The profile picture URL for the player.\n */\n",
|
18293
|
+
"excerptTokens": [
|
18294
|
+
{
|
18295
|
+
"kind": "Content",
|
18296
|
+
"text": "readonly profilePictureUrl: "
|
18297
|
+
},
|
18298
|
+
{
|
18299
|
+
"kind": "Content",
|
18300
|
+
"text": "string | undefined"
|
18301
|
+
},
|
18302
|
+
{
|
18303
|
+
"kind": "Content",
|
18304
|
+
"text": ";"
|
18305
|
+
}
|
18306
|
+
],
|
18307
|
+
"isReadonly": true,
|
18308
|
+
"isOptional": false,
|
18309
|
+
"releaseTag": "Public",
|
18310
|
+
"name": "profilePictureUrl",
|
18311
|
+
"propertyTypeTokenRange": {
|
18312
|
+
"startIndex": 1,
|
18313
|
+
"endIndex": 2
|
18314
|
+
},
|
18315
|
+
"isStatic": false,
|
18316
|
+
"isProtected": false,
|
18317
|
+
"isAbstract": false
|
18318
|
+
},
|
18289
18319
|
{
|
18290
18320
|
"kind": "Property",
|
18291
18321
|
"canonicalReference": "server!Player#ui:member",
|
@@ -24793,7 +24823,7 @@
|
|
24793
24823
|
{
|
24794
24824
|
"kind": "Reference",
|
24795
24825
|
"text": "RAPIER.InteractionGroups",
|
24796
|
-
"canonicalReference": "@dimforge/rapier3d-compat!InteractionGroups:type"
|
24826
|
+
"canonicalReference": "@dimforge/rapier3d-compat-simd!InteractionGroups:type"
|
24797
24827
|
},
|
24798
24828
|
{
|
24799
24829
|
"kind": "Content",
|
@@ -24877,7 +24907,7 @@
|
|
24877
24907
|
{
|
24878
24908
|
"kind": "Reference",
|
24879
24909
|
"text": "RAPIER.QueryFilterFlags",
|
24880
|
-
"canonicalReference": "@dimforge/rapier3d-compat!QueryFilterFlags:enum"
|
24910
|
+
"canonicalReference": "@dimforge/rapier3d-compat-simd!QueryFilterFlags:enum"
|
24881
24911
|
},
|
24882
24912
|
{
|
24883
24913
|
"kind": "Content",
|
@@ -24886,7 +24916,7 @@
|
|
24886
24916
|
{
|
24887
24917
|
"kind": "Reference",
|
24888
24918
|
"text": "RAPIER.Collider",
|
24889
|
-
"canonicalReference": "@dimforge/rapier3d-compat!Collider:class"
|
24919
|
+
"canonicalReference": "@dimforge/rapier3d-compat-simd!Collider:class"
|
24890
24920
|
},
|
24891
24921
|
{
|
24892
24922
|
"kind": "Content",
|
@@ -24895,7 +24925,7 @@
|
|
24895
24925
|
{
|
24896
24926
|
"kind": "Reference",
|
24897
24927
|
"text": "RAPIER.RigidBody",
|
24898
|
-
"canonicalReference": "@dimforge/rapier3d-compat!RigidBody:class"
|
24928
|
+
"canonicalReference": "@dimforge/rapier3d-compat-simd!RigidBody:class"
|
24899
24929
|
},
|
24900
24930
|
{
|
24901
24931
|
"kind": "Content",
|
@@ -24904,7 +24934,7 @@
|
|
24904
24934
|
{
|
24905
24935
|
"kind": "Reference",
|
24906
24936
|
"text": "RAPIER.Collider",
|
24907
|
-
"canonicalReference": "@dimforge/rapier3d-compat!Collider:class"
|
24937
|
+
"canonicalReference": "@dimforge/rapier3d-compat-simd!Collider:class"
|
24908
24938
|
},
|
24909
24939
|
{
|
24910
24940
|
"kind": "Content",
|
@@ -26795,7 +26825,7 @@
|
|
26795
26825
|
{
|
26796
26826
|
"kind": "Reference",
|
26797
26827
|
"text": "RAPIER.RigidBody",
|
26798
|
-
"canonicalReference": "@dimforge/rapier3d-compat!RigidBody:class"
|
26828
|
+
"canonicalReference": "@dimforge/rapier3d-compat-simd!RigidBody:class"
|
26799
26829
|
},
|
26800
26830
|
{
|
26801
26831
|
"kind": "Content",
|
@@ -30436,7 +30466,7 @@
|
|
30436
30466
|
{
|
30437
30467
|
"kind": "Reference",
|
30438
30468
|
"text": "RAPIER.ColliderHandle",
|
30439
|
-
"canonicalReference": "@dimforge/rapier3d-compat!ColliderHandle:type"
|
30469
|
+
"canonicalReference": "@dimforge/rapier3d-compat-simd!ColliderHandle:type"
|
30440
30470
|
},
|
30441
30471
|
{
|
30442
30472
|
"kind": "Content",
|
@@ -30445,7 +30475,7 @@
|
|
30445
30475
|
{
|
30446
30476
|
"kind": "Reference",
|
30447
30477
|
"text": "RAPIER.ColliderHandle",
|
30448
|
-
"canonicalReference": "@dimforge/rapier3d-compat!ColliderHandle:type"
|
30478
|
+
"canonicalReference": "@dimforge/rapier3d-compat-simd!ColliderHandle:type"
|
30449
30479
|
},
|
30450
30480
|
{
|
30451
30481
|
"kind": "Content",
|
@@ -30507,7 +30537,7 @@
|
|
30507
30537
|
{
|
30508
30538
|
"kind": "Reference",
|
30509
30539
|
"text": "RAPIER.Vector3",
|
30510
|
-
"canonicalReference": "@dimforge/rapier3d-compat!Vector3:class"
|
30540
|
+
"canonicalReference": "@dimforge/rapier3d-compat-simd!Vector3:class"
|
30511
30541
|
},
|
30512
30542
|
{
|
30513
30543
|
"kind": "Content",
|
@@ -30598,7 +30628,7 @@
|
|
30598
30628
|
{
|
30599
30629
|
"kind": "Reference",
|
30600
30630
|
"text": "RAPIER.Vector3",
|
30601
|
-
"canonicalReference": "@dimforge/rapier3d-compat!Vector3:class"
|
30631
|
+
"canonicalReference": "@dimforge/rapier3d-compat-simd!Vector3:class"
|
30602
30632
|
},
|
30603
30633
|
{
|
30604
30634
|
"kind": "Content",
|
@@ -30607,7 +30637,7 @@
|
|
30607
30637
|
{
|
30608
30638
|
"kind": "Reference",
|
30609
30639
|
"text": "RAPIER.Vector3",
|
30610
|
-
"canonicalReference": "@dimforge/rapier3d-compat!Vector3:class"
|
30640
|
+
"canonicalReference": "@dimforge/rapier3d-compat-simd!Vector3:class"
|
30611
30641
|
},
|
30612
30642
|
{
|
30613
30643
|
"kind": "Content",
|
@@ -30702,7 +30732,7 @@
|
|
30702
30732
|
{
|
30703
30733
|
"kind": "Reference",
|
30704
30734
|
"text": "RAPIER.Vector3",
|
30705
|
-
"canonicalReference": "@dimforge/rapier3d-compat!Vector3:class"
|
30735
|
+
"canonicalReference": "@dimforge/rapier3d-compat-simd!Vector3:class"
|
30706
30736
|
},
|
30707
30737
|
{
|
30708
30738
|
"kind": "Content",
|
@@ -30815,7 +30845,7 @@
|
|
30815
30845
|
{
|
30816
30846
|
"kind": "Reference",
|
30817
30847
|
"text": "RapierSdpMatrix3",
|
30818
|
-
"canonicalReference": "@dimforge/rapier3d-compat!SdpMatrix3:class"
|
30848
|
+
"canonicalReference": "@dimforge/rapier3d-compat-simd!SdpMatrix3:class"
|
30819
30849
|
},
|
30820
30850
|
{
|
30821
30851
|
"kind": "Content",
|
package/server.d.ts
CHANGED
@@ -1,13 +1,12 @@
|
|
1
|
-
/// <reference types="node" />
|
2
|
-
|
3
1
|
import type { AnyPacket } from '@hytopia.com/server-protocol';
|
4
2
|
import http from 'http';
|
5
3
|
import type { IncomingMessage } from 'http';
|
6
4
|
import type { InputSchema } from '@hytopia.com/server-protocol';
|
7
5
|
import type { IPacket } from '@hytopia.com/server-protocol';
|
6
|
+
import type { LobbyMembershipDto } from '@hytopia.com/creative-lib/dist/impl/getSession';
|
8
7
|
import protocol from '@hytopia.com/server-protocol';
|
9
|
-
import RAPIER from '@dimforge/rapier3d-compat';
|
10
|
-
import { SdpMatrix3 } from '@dimforge/rapier3d-compat';
|
8
|
+
import RAPIER from '@dimforge/rapier3d-compat-simd';
|
9
|
+
import { SdpMatrix3 } from '@dimforge/rapier3d-compat-simd';
|
11
10
|
import type { Socket as Socket_2 } from 'net';
|
12
11
|
import { WebSocket as WebSocket_2 } from 'ws';
|
13
12
|
|
@@ -2343,6 +2342,8 @@ export declare class Player {
|
|
2343
2342
|
readonly id: string;
|
2344
2343
|
/** The unique HYTOPIA username for the player. */
|
2345
2344
|
readonly username: string;
|
2345
|
+
/** The profile picture URL for the player. */
|
2346
|
+
readonly profilePictureUrl: string | undefined;
|
2346
2347
|
/** The camera for the player. */
|
2347
2348
|
readonly camera: PlayerCamera;
|
2348
2349
|
|