hytopia 0.6.6 → 0.6.8
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/README.md +3 -3
- package/bun-server.mjs +146 -146
- package/docs/server.collisiongroup.md +15 -15
- package/docs/server.entity.md +35 -0
- package/docs/server.entity.modeltextureuri.md +13 -0
- package/docs/server.entity.setmodeltextureuri.md +53 -0
- package/docs/server.entityevent.md +14 -0
- package/docs/server.entityeventpayloads._entity.set_model_texture_uri_.md +16 -0
- package/docs/server.entityeventpayloads.md +19 -0
- package/docs/server.modelentityoptions.md +19 -0
- package/docs/server.modelentityoptions.modeltextureuri.md +13 -0
- package/docs/server.moveoptions.md +1 -0
- package/docs/server.pathfindingentitycontroller._constructor_.md +49 -0
- package/docs/server.pathfindingentitycontroller.md +34 -0
- package/docs/server.playercamera.md +35 -0
- package/docs/server.playercamera.setshoulderangle.md +53 -0
- package/docs/server.playercamera.shoulderangle.md +13 -0
- package/docs/server.playercameraevent.md +14 -0
- package/docs/server.playercameraeventpayloads._player_camera.set_shoulder_angle_.md +16 -0
- package/docs/server.playercameraeventpayloads.md +19 -0
- package/docs/{server.rigidbody.createandaddchildcolliderstosimulation.md → server.rigidbody.createandaddchildcolliders.md} +7 -3
- package/docs/server.rigidbody.md +1 -1
- package/docs/server.simpleentitycontroller._constructor_.md +49 -0
- package/docs/server.simpleentitycontroller.md +62 -0
- package/docs/server.simpleentitycontroller.stopface.md +17 -0
- package/docs/server.simpleentitycontroller.stopmove.md +17 -0
- package/docs/server.supported_input_keys.md +1 -1
- package/node-server.mjs +150 -150
- package/package.json +1 -1
- package/server.api.json +472 -29
- package/server.d.ts +97 -20
package/server.api.json
CHANGED
@@ -9816,16 +9816,16 @@
|
|
9816
9816
|
},
|
9817
9817
|
{
|
9818
9818
|
"kind": "EnumMember",
|
9819
|
-
"canonicalReference": "server!CollisionGroup.
|
9819
|
+
"canonicalReference": "server!CollisionGroup.ENVIRONMENT_ENTITY:member",
|
9820
9820
|
"docComment": "",
|
9821
9821
|
"excerptTokens": [
|
9822
9822
|
{
|
9823
9823
|
"kind": "Content",
|
9824
|
-
"text": "
|
9824
|
+
"text": "ENVIRONMENT_ENTITY = "
|
9825
9825
|
},
|
9826
9826
|
{
|
9827
9827
|
"kind": "Content",
|
9828
|
-
"text": "
|
9828
|
+
"text": "8"
|
9829
9829
|
}
|
9830
9830
|
],
|
9831
9831
|
"initializerTokenRange": {
|
@@ -9833,20 +9833,20 @@
|
|
9833
9833
|
"endIndex": 2
|
9834
9834
|
},
|
9835
9835
|
"releaseTag": "Public",
|
9836
|
-
"name": "
|
9836
|
+
"name": "ENVIRONMENT_ENTITY"
|
9837
9837
|
},
|
9838
9838
|
{
|
9839
9839
|
"kind": "EnumMember",
|
9840
|
-
"canonicalReference": "server!CollisionGroup.
|
9840
|
+
"canonicalReference": "server!CollisionGroup.GROUP_1:member",
|
9841
9841
|
"docComment": "",
|
9842
9842
|
"excerptTokens": [
|
9843
9843
|
{
|
9844
9844
|
"kind": "Content",
|
9845
|
-
"text": "
|
9845
|
+
"text": "GROUP_1 = "
|
9846
9846
|
},
|
9847
9847
|
{
|
9848
9848
|
"kind": "Content",
|
9849
|
-
"text": "
|
9849
|
+
"text": "32"
|
9850
9850
|
}
|
9851
9851
|
],
|
9852
9852
|
"initializerTokenRange": {
|
@@ -9854,16 +9854,16 @@
|
|
9854
9854
|
"endIndex": 2
|
9855
9855
|
},
|
9856
9856
|
"releaseTag": "Public",
|
9857
|
-
"name": "
|
9857
|
+
"name": "GROUP_1"
|
9858
9858
|
},
|
9859
9859
|
{
|
9860
9860
|
"kind": "EnumMember",
|
9861
|
-
"canonicalReference": "server!CollisionGroup.
|
9861
|
+
"canonicalReference": "server!CollisionGroup.GROUP_10:member",
|
9862
9862
|
"docComment": "",
|
9863
9863
|
"excerptTokens": [
|
9864
9864
|
{
|
9865
9865
|
"kind": "Content",
|
9866
|
-
"text": "
|
9866
|
+
"text": "GROUP_10 = "
|
9867
9867
|
},
|
9868
9868
|
{
|
9869
9869
|
"kind": "Content",
|
@@ -9875,16 +9875,16 @@
|
|
9875
9875
|
"endIndex": 2
|
9876
9876
|
},
|
9877
9877
|
"releaseTag": "Public",
|
9878
|
-
"name": "
|
9878
|
+
"name": "GROUP_10"
|
9879
9879
|
},
|
9880
9880
|
{
|
9881
9881
|
"kind": "EnumMember",
|
9882
|
-
"canonicalReference": "server!CollisionGroup.
|
9882
|
+
"canonicalReference": "server!CollisionGroup.GROUP_11:member",
|
9883
9883
|
"docComment": "",
|
9884
9884
|
"excerptTokens": [
|
9885
9885
|
{
|
9886
9886
|
"kind": "Content",
|
9887
|
-
"text": "
|
9887
|
+
"text": "GROUP_11 = "
|
9888
9888
|
},
|
9889
9889
|
{
|
9890
9890
|
"kind": "Content",
|
@@ -9896,7 +9896,7 @@
|
|
9896
9896
|
"endIndex": 2
|
9897
9897
|
},
|
9898
9898
|
"releaseTag": "Public",
|
9899
|
-
"name": "
|
9899
|
+
"name": "GROUP_11"
|
9900
9900
|
},
|
9901
9901
|
{
|
9902
9902
|
"kind": "EnumMember",
|
@@ -9909,7 +9909,7 @@
|
|
9909
9909
|
},
|
9910
9910
|
{
|
9911
9911
|
"kind": "Content",
|
9912
|
-
"text": "
|
9912
|
+
"text": "64"
|
9913
9913
|
}
|
9914
9914
|
],
|
9915
9915
|
"initializerTokenRange": {
|
@@ -9930,7 +9930,7 @@
|
|
9930
9930
|
},
|
9931
9931
|
{
|
9932
9932
|
"kind": "Content",
|
9933
|
-
"text": "
|
9933
|
+
"text": "128"
|
9934
9934
|
}
|
9935
9935
|
],
|
9936
9936
|
"initializerTokenRange": {
|
@@ -9951,7 +9951,7 @@
|
|
9951
9951
|
},
|
9952
9952
|
{
|
9953
9953
|
"kind": "Content",
|
9954
|
-
"text": "
|
9954
|
+
"text": "256"
|
9955
9955
|
}
|
9956
9956
|
],
|
9957
9957
|
"initializerTokenRange": {
|
@@ -9972,7 +9972,7 @@
|
|
9972
9972
|
},
|
9973
9973
|
{
|
9974
9974
|
"kind": "Content",
|
9975
|
-
"text": "
|
9975
|
+
"text": "512"
|
9976
9976
|
}
|
9977
9977
|
],
|
9978
9978
|
"initializerTokenRange": {
|
@@ -9993,7 +9993,7 @@
|
|
9993
9993
|
},
|
9994
9994
|
{
|
9995
9995
|
"kind": "Content",
|
9996
|
-
"text": "
|
9996
|
+
"text": "1024"
|
9997
9997
|
}
|
9998
9998
|
],
|
9999
9999
|
"initializerTokenRange": {
|
@@ -10014,7 +10014,7 @@
|
|
10014
10014
|
},
|
10015
10015
|
{
|
10016
10016
|
"kind": "Content",
|
10017
|
-
"text": "
|
10017
|
+
"text": "2048"
|
10018
10018
|
}
|
10019
10019
|
],
|
10020
10020
|
"initializerTokenRange": {
|
@@ -10035,7 +10035,7 @@
|
|
10035
10035
|
},
|
10036
10036
|
{
|
10037
10037
|
"kind": "Content",
|
10038
|
-
"text": "
|
10038
|
+
"text": "4096"
|
10039
10039
|
}
|
10040
10040
|
],
|
10041
10041
|
"initializerTokenRange": {
|
@@ -10056,7 +10056,7 @@
|
|
10056
10056
|
},
|
10057
10057
|
{
|
10058
10058
|
"kind": "Content",
|
10059
|
-
"text": "
|
10059
|
+
"text": "8192"
|
10060
10060
|
}
|
10061
10061
|
],
|
10062
10062
|
"initializerTokenRange": {
|
@@ -10077,7 +10077,7 @@
|
|
10077
10077
|
},
|
10078
10078
|
{
|
10079
10079
|
"kind": "Content",
|
10080
|
-
"text": "
|
10080
|
+
"text": "16"
|
10081
10081
|
}
|
10082
10082
|
],
|
10083
10083
|
"initializerTokenRange": {
|
@@ -13661,6 +13661,36 @@
|
|
13661
13661
|
"isProtected": false,
|
13662
13662
|
"isAbstract": false
|
13663
13663
|
},
|
13664
|
+
{
|
13665
|
+
"kind": "Property",
|
13666
|
+
"canonicalReference": "server!Entity#modelTextureUri:member",
|
13667
|
+
"docComment": "/**\n * The URI or path to the texture that overrides the model entity's default texture.\n */\n",
|
13668
|
+
"excerptTokens": [
|
13669
|
+
{
|
13670
|
+
"kind": "Content",
|
13671
|
+
"text": "get modelTextureUri(): "
|
13672
|
+
},
|
13673
|
+
{
|
13674
|
+
"kind": "Content",
|
13675
|
+
"text": "string | undefined"
|
13676
|
+
},
|
13677
|
+
{
|
13678
|
+
"kind": "Content",
|
13679
|
+
"text": ";"
|
13680
|
+
}
|
13681
|
+
],
|
13682
|
+
"isReadonly": true,
|
13683
|
+
"isOptional": false,
|
13684
|
+
"releaseTag": "Public",
|
13685
|
+
"name": "modelTextureUri",
|
13686
|
+
"propertyTypeTokenRange": {
|
13687
|
+
"startIndex": 1,
|
13688
|
+
"endIndex": 2
|
13689
|
+
},
|
13690
|
+
"isStatic": false,
|
13691
|
+
"isProtected": false,
|
13692
|
+
"isAbstract": false
|
13693
|
+
},
|
13664
13694
|
{
|
13665
13695
|
"kind": "Property",
|
13666
13696
|
"canonicalReference": "server!Entity#modelUri:member",
|
@@ -13965,6 +13995,54 @@
|
|
13965
13995
|
"isAbstract": false,
|
13966
13996
|
"name": "setModelHiddenNodes"
|
13967
13997
|
},
|
13998
|
+
{
|
13999
|
+
"kind": "Method",
|
14000
|
+
"canonicalReference": "server!Entity#setModelTextureUri:member(1)",
|
14001
|
+
"docComment": "/**\n * Sets the texture uri of the entity's model. Setting this overrides the model's default texture.\n *\n * @param modelTextureUri - The texture uri of the entity's model.\n */\n",
|
14002
|
+
"excerptTokens": [
|
14003
|
+
{
|
14004
|
+
"kind": "Content",
|
14005
|
+
"text": "setModelTextureUri(modelTextureUri: "
|
14006
|
+
},
|
14007
|
+
{
|
14008
|
+
"kind": "Content",
|
14009
|
+
"text": "string | undefined"
|
14010
|
+
},
|
14011
|
+
{
|
14012
|
+
"kind": "Content",
|
14013
|
+
"text": "): "
|
14014
|
+
},
|
14015
|
+
{
|
14016
|
+
"kind": "Content",
|
14017
|
+
"text": "void"
|
14018
|
+
},
|
14019
|
+
{
|
14020
|
+
"kind": "Content",
|
14021
|
+
"text": ";"
|
14022
|
+
}
|
14023
|
+
],
|
14024
|
+
"isStatic": false,
|
14025
|
+
"returnTypeTokenRange": {
|
14026
|
+
"startIndex": 3,
|
14027
|
+
"endIndex": 4
|
14028
|
+
},
|
14029
|
+
"releaseTag": "Public",
|
14030
|
+
"isProtected": false,
|
14031
|
+
"overloadIndex": 1,
|
14032
|
+
"parameters": [
|
14033
|
+
{
|
14034
|
+
"parameterName": "modelTextureUri",
|
14035
|
+
"parameterTypeTokenRange": {
|
14036
|
+
"startIndex": 1,
|
14037
|
+
"endIndex": 2
|
14038
|
+
},
|
14039
|
+
"isOptional": false
|
14040
|
+
}
|
14041
|
+
],
|
14042
|
+
"isOptional": false,
|
14043
|
+
"isAbstract": false,
|
14044
|
+
"name": "setModelTextureUri"
|
14045
|
+
},
|
13968
14046
|
{
|
13969
14047
|
"kind": "Method",
|
13970
14048
|
"canonicalReference": "server!Entity#setOpacity:member(1)",
|
@@ -14814,6 +14892,27 @@
|
|
14814
14892
|
"releaseTag": "Public",
|
14815
14893
|
"name": "SET_MODEL_HIDDEN_NODES"
|
14816
14894
|
},
|
14895
|
+
{
|
14896
|
+
"kind": "EnumMember",
|
14897
|
+
"canonicalReference": "server!EntityEvent.SET_MODEL_TEXTURE_URI:member",
|
14898
|
+
"docComment": "",
|
14899
|
+
"excerptTokens": [
|
14900
|
+
{
|
14901
|
+
"kind": "Content",
|
14902
|
+
"text": "SET_MODEL_TEXTURE_URI = "
|
14903
|
+
},
|
14904
|
+
{
|
14905
|
+
"kind": "Content",
|
14906
|
+
"text": "\"ENTITY.SET_MODEL_TEXTURE_URI\""
|
14907
|
+
}
|
14908
|
+
],
|
14909
|
+
"initializerTokenRange": {
|
14910
|
+
"startIndex": 1,
|
14911
|
+
"endIndex": 2
|
14912
|
+
},
|
14913
|
+
"releaseTag": "Public",
|
14914
|
+
"name": "SET_MODEL_TEXTURE_URI"
|
14915
|
+
},
|
14817
14916
|
{
|
14818
14917
|
"kind": "EnumMember",
|
14819
14918
|
"canonicalReference": "server!EntityEvent.SET_OPACITY:member",
|
@@ -15419,6 +15518,51 @@
|
|
15419
15518
|
"endIndex": 8
|
15420
15519
|
}
|
15421
15520
|
},
|
15521
|
+
{
|
15522
|
+
"kind": "PropertySignature",
|
15523
|
+
"canonicalReference": "server!EntityEventPayloads#\"ENTITY.SET_MODEL_TEXTURE_URI\":member",
|
15524
|
+
"docComment": "/**\n * Emitted when the texture uri of the entity's model is set.\n */\n",
|
15525
|
+
"excerptTokens": [
|
15526
|
+
{
|
15527
|
+
"kind": "Content",
|
15528
|
+
"text": "["
|
15529
|
+
},
|
15530
|
+
{
|
15531
|
+
"kind": "Reference",
|
15532
|
+
"text": "EntityEvent.SET_MODEL_TEXTURE_URI",
|
15533
|
+
"canonicalReference": "server!EntityEvent.SET_MODEL_TEXTURE_URI:member"
|
15534
|
+
},
|
15535
|
+
{
|
15536
|
+
"kind": "Content",
|
15537
|
+
"text": "]: "
|
15538
|
+
},
|
15539
|
+
{
|
15540
|
+
"kind": "Content",
|
15541
|
+
"text": "{\n entity: "
|
15542
|
+
},
|
15543
|
+
{
|
15544
|
+
"kind": "Reference",
|
15545
|
+
"text": "Entity",
|
15546
|
+
"canonicalReference": "server!Entity:class"
|
15547
|
+
},
|
15548
|
+
{
|
15549
|
+
"kind": "Content",
|
15550
|
+
"text": ";\n modelTextureUri: string | undefined;\n }"
|
15551
|
+
},
|
15552
|
+
{
|
15553
|
+
"kind": "Content",
|
15554
|
+
"text": ";"
|
15555
|
+
}
|
15556
|
+
],
|
15557
|
+
"isReadonly": false,
|
15558
|
+
"isOptional": false,
|
15559
|
+
"releaseTag": "Public",
|
15560
|
+
"name": "\"ENTITY.SET_MODEL_TEXTURE_URI\"",
|
15561
|
+
"propertyTypeTokenRange": {
|
15562
|
+
"startIndex": 3,
|
15563
|
+
"endIndex": 6
|
15564
|
+
}
|
15565
|
+
},
|
15422
15566
|
{
|
15423
15567
|
"kind": "PropertySignature",
|
15424
15568
|
"canonicalReference": "server!EntityEventPayloads#\"ENTITY.SET_OPACITY\":member",
|
@@ -25639,6 +25783,33 @@
|
|
25639
25783
|
"endIndex": 2
|
25640
25784
|
}
|
25641
25785
|
},
|
25786
|
+
{
|
25787
|
+
"kind": "PropertySignature",
|
25788
|
+
"canonicalReference": "server!ModelEntityOptions#modelTextureUri:member",
|
25789
|
+
"docComment": "/**\n * The texture uri of the entity's model. Setting this overrides the model's default texture.\n */\n",
|
25790
|
+
"excerptTokens": [
|
25791
|
+
{
|
25792
|
+
"kind": "Content",
|
25793
|
+
"text": "modelTextureUri?: "
|
25794
|
+
},
|
25795
|
+
{
|
25796
|
+
"kind": "Content",
|
25797
|
+
"text": "string"
|
25798
|
+
},
|
25799
|
+
{
|
25800
|
+
"kind": "Content",
|
25801
|
+
"text": ";"
|
25802
|
+
}
|
25803
|
+
],
|
25804
|
+
"isReadonly": false,
|
25805
|
+
"isOptional": true,
|
25806
|
+
"releaseTag": "Public",
|
25807
|
+
"name": "modelTextureUri",
|
25808
|
+
"propertyTypeTokenRange": {
|
25809
|
+
"startIndex": 1,
|
25810
|
+
"endIndex": 2
|
25811
|
+
}
|
25812
|
+
},
|
25642
25813
|
{
|
25643
25814
|
"kind": "PropertySignature",
|
25644
25815
|
"canonicalReference": "server!ModelEntityOptions#modelUri:member",
|
@@ -26262,7 +26433,7 @@
|
|
26262
26433
|
},
|
26263
26434
|
{
|
26264
26435
|
"kind": "Content",
|
26265
|
-
"text": ";\n moveIgnoreAxes?: {\n x?: boolean;\n y?: boolean;\n z?: boolean;\n };\n moveStartIdleAnimationsOnCompletion?: boolean;\n}"
|
26436
|
+
"text": ";\n moveIgnoreAxes?: {\n x?: boolean;\n y?: boolean;\n z?: boolean;\n };\n moveStartIdleAnimationsOnCompletion?: boolean;\n moveStoppingDistance?: number;\n}"
|
26266
26437
|
},
|
26267
26438
|
{
|
26268
26439
|
"kind": "Content",
|
@@ -26414,6 +26585,39 @@
|
|
26414
26585
|
"name": "PathfindingEntityController",
|
26415
26586
|
"preserveMemberOrder": false,
|
26416
26587
|
"members": [
|
26588
|
+
{
|
26589
|
+
"kind": "Constructor",
|
26590
|
+
"canonicalReference": "server!PathfindingEntityController:constructor(1)",
|
26591
|
+
"docComment": "/**\n * Constructs a new instance of the `PathfindingEntityController` class\n *\n * @param options - Options for the controller.\n */\n",
|
26592
|
+
"excerptTokens": [
|
26593
|
+
{
|
26594
|
+
"kind": "Content",
|
26595
|
+
"text": "constructor(options?: "
|
26596
|
+
},
|
26597
|
+
{
|
26598
|
+
"kind": "Reference",
|
26599
|
+
"text": "PathfindingEntityControllerOptions",
|
26600
|
+
"canonicalReference": "server!~PathfindingEntityControllerOptions:interface"
|
26601
|
+
},
|
26602
|
+
{
|
26603
|
+
"kind": "Content",
|
26604
|
+
"text": ");"
|
26605
|
+
}
|
26606
|
+
],
|
26607
|
+
"releaseTag": "Public",
|
26608
|
+
"isProtected": false,
|
26609
|
+
"overloadIndex": 1,
|
26610
|
+
"parameters": [
|
26611
|
+
{
|
26612
|
+
"parameterName": "options",
|
26613
|
+
"parameterTypeTokenRange": {
|
26614
|
+
"startIndex": 1,
|
26615
|
+
"endIndex": 2
|
26616
|
+
},
|
26617
|
+
"isOptional": true
|
26618
|
+
}
|
26619
|
+
]
|
26620
|
+
},
|
26417
26621
|
{
|
26418
26622
|
"kind": "Property",
|
26419
26623
|
"canonicalReference": "server!PathfindingEntityController#debug:member",
|
@@ -28605,6 +28809,54 @@
|
|
28605
28809
|
"isAbstract": false,
|
28606
28810
|
"name": "setOffset"
|
28607
28811
|
},
|
28812
|
+
{
|
28813
|
+
"kind": "Method",
|
28814
|
+
"canonicalReference": "server!PlayerCamera#setShoulderAngle:member(1)",
|
28815
|
+
"docComment": "/**\n * Only used in third-person mode. Sets the shoulder angle of the camera in degrees. A positive value shifts the camera to the right, a negative value shifts it to the left.\n *\n * @param shoulderAngle - The shoulder angle to set in degrees.\n */\n",
|
28816
|
+
"excerptTokens": [
|
28817
|
+
{
|
28818
|
+
"kind": "Content",
|
28819
|
+
"text": "setShoulderAngle(shoulderAngle: "
|
28820
|
+
},
|
28821
|
+
{
|
28822
|
+
"kind": "Content",
|
28823
|
+
"text": "number"
|
28824
|
+
},
|
28825
|
+
{
|
28826
|
+
"kind": "Content",
|
28827
|
+
"text": "): "
|
28828
|
+
},
|
28829
|
+
{
|
28830
|
+
"kind": "Content",
|
28831
|
+
"text": "void"
|
28832
|
+
},
|
28833
|
+
{
|
28834
|
+
"kind": "Content",
|
28835
|
+
"text": ";"
|
28836
|
+
}
|
28837
|
+
],
|
28838
|
+
"isStatic": false,
|
28839
|
+
"returnTypeTokenRange": {
|
28840
|
+
"startIndex": 3,
|
28841
|
+
"endIndex": 4
|
28842
|
+
},
|
28843
|
+
"releaseTag": "Public",
|
28844
|
+
"isProtected": false,
|
28845
|
+
"overloadIndex": 1,
|
28846
|
+
"parameters": [
|
28847
|
+
{
|
28848
|
+
"parameterName": "shoulderAngle",
|
28849
|
+
"parameterTypeTokenRange": {
|
28850
|
+
"startIndex": 1,
|
28851
|
+
"endIndex": 2
|
28852
|
+
},
|
28853
|
+
"isOptional": false
|
28854
|
+
}
|
28855
|
+
],
|
28856
|
+
"isOptional": false,
|
28857
|
+
"isAbstract": false,
|
28858
|
+
"name": "setShoulderAngle"
|
28859
|
+
},
|
28608
28860
|
{
|
28609
28861
|
"kind": "Method",
|
28610
28862
|
"canonicalReference": "server!PlayerCamera#setTrackedEntity:member(1)",
|
@@ -28759,6 +29011,36 @@
|
|
28759
29011
|
"isAbstract": false,
|
28760
29012
|
"name": "setZoom"
|
28761
29013
|
},
|
29014
|
+
{
|
29015
|
+
"kind": "Property",
|
29016
|
+
"canonicalReference": "server!PlayerCamera#shoulderAngle:member",
|
29017
|
+
"docComment": "/**\n * The shoulder angle of the camera in degrees.\n */\n",
|
29018
|
+
"excerptTokens": [
|
29019
|
+
{
|
29020
|
+
"kind": "Content",
|
29021
|
+
"text": "get shoulderAngle(): "
|
29022
|
+
},
|
29023
|
+
{
|
29024
|
+
"kind": "Content",
|
29025
|
+
"text": "number"
|
29026
|
+
},
|
29027
|
+
{
|
29028
|
+
"kind": "Content",
|
29029
|
+
"text": ";"
|
29030
|
+
}
|
29031
|
+
],
|
29032
|
+
"isReadonly": true,
|
29033
|
+
"isOptional": false,
|
29034
|
+
"releaseTag": "Public",
|
29035
|
+
"name": "shoulderAngle",
|
29036
|
+
"propertyTypeTokenRange": {
|
29037
|
+
"startIndex": 1,
|
29038
|
+
"endIndex": 2
|
29039
|
+
},
|
29040
|
+
"isStatic": false,
|
29041
|
+
"isProtected": false,
|
29042
|
+
"isAbstract": false
|
29043
|
+
},
|
28762
29044
|
{
|
28763
29045
|
"kind": "Property",
|
28764
29046
|
"canonicalReference": "server!PlayerCamera#trackedEntity:member",
|
@@ -29096,6 +29378,27 @@
|
|
29096
29378
|
"releaseTag": "Public",
|
29097
29379
|
"name": "SET_OFFSET"
|
29098
29380
|
},
|
29381
|
+
{
|
29382
|
+
"kind": "EnumMember",
|
29383
|
+
"canonicalReference": "server!PlayerCameraEvent.SET_SHOULDER_ANGLE:member",
|
29384
|
+
"docComment": "",
|
29385
|
+
"excerptTokens": [
|
29386
|
+
{
|
29387
|
+
"kind": "Content",
|
29388
|
+
"text": "SET_SHOULDER_ANGLE = "
|
29389
|
+
},
|
29390
|
+
{
|
29391
|
+
"kind": "Content",
|
29392
|
+
"text": "\"PLAYER_CAMERA.SET_SHOULDER_ANGLE\""
|
29393
|
+
}
|
29394
|
+
],
|
29395
|
+
"initializerTokenRange": {
|
29396
|
+
"startIndex": 1,
|
29397
|
+
"endIndex": 2
|
29398
|
+
},
|
29399
|
+
"releaseTag": "Public",
|
29400
|
+
"name": "SET_SHOULDER_ANGLE"
|
29401
|
+
},
|
29099
29402
|
{
|
29100
29403
|
"kind": "EnumMember",
|
29101
29404
|
"canonicalReference": "server!PlayerCameraEvent.SET_TRACKED_ENTITY:member",
|
@@ -29689,6 +29992,51 @@
|
|
29689
29992
|
"endIndex": 8
|
29690
29993
|
}
|
29691
29994
|
},
|
29995
|
+
{
|
29996
|
+
"kind": "PropertySignature",
|
29997
|
+
"canonicalReference": "server!PlayerCameraEventPayloads#\"PLAYER_CAMERA.SET_SHOULDER_ANGLE\":member",
|
29998
|
+
"docComment": "/**\n * Emitted when the shoulder angle of the camera is set.\n */\n",
|
29999
|
+
"excerptTokens": [
|
30000
|
+
{
|
30001
|
+
"kind": "Content",
|
30002
|
+
"text": "["
|
30003
|
+
},
|
30004
|
+
{
|
30005
|
+
"kind": "Reference",
|
30006
|
+
"text": "PlayerCameraEvent.SET_SHOULDER_ANGLE",
|
30007
|
+
"canonicalReference": "server!PlayerCameraEvent.SET_SHOULDER_ANGLE:member"
|
30008
|
+
},
|
30009
|
+
{
|
30010
|
+
"kind": "Content",
|
30011
|
+
"text": "]: "
|
30012
|
+
},
|
30013
|
+
{
|
30014
|
+
"kind": "Content",
|
30015
|
+
"text": "{\n playerCamera: "
|
30016
|
+
},
|
30017
|
+
{
|
30018
|
+
"kind": "Reference",
|
30019
|
+
"text": "PlayerCamera",
|
30020
|
+
"canonicalReference": "server!PlayerCamera:class"
|
30021
|
+
},
|
30022
|
+
{
|
30023
|
+
"kind": "Content",
|
30024
|
+
"text": ";\n shoulderAngle: number;\n }"
|
30025
|
+
},
|
30026
|
+
{
|
30027
|
+
"kind": "Content",
|
30028
|
+
"text": ";"
|
30029
|
+
}
|
30030
|
+
],
|
30031
|
+
"isReadonly": false,
|
30032
|
+
"isOptional": false,
|
30033
|
+
"releaseTag": "Public",
|
30034
|
+
"name": "\"PLAYER_CAMERA.SET_SHOULDER_ANGLE\"",
|
30035
|
+
"propertyTypeTokenRange": {
|
30036
|
+
"startIndex": 3,
|
30037
|
+
"endIndex": 6
|
30038
|
+
}
|
30039
|
+
},
|
29692
30040
|
{
|
29693
30041
|
"kind": "PropertySignature",
|
29694
30042
|
"canonicalReference": "server!PlayerCameraEventPayloads#\"PLAYER_CAMERA.SET_TRACKED_ENTITY\":member",
|
@@ -34141,12 +34489,12 @@
|
|
34141
34489
|
},
|
34142
34490
|
{
|
34143
34491
|
"kind": "Method",
|
34144
|
-
"canonicalReference": "server!RigidBody#
|
34145
|
-
"docComment": "/**\n * Creates and adds multiple child colliders to the rigid body for the simulation it belongs to.\n *\n * @param colliderOptions - The options for the child colliders to add to the rigid body.\n *\n * @returns The child colliders that were added to the rigid body.\n */\n",
|
34492
|
+
"canonicalReference": "server!RigidBody#createAndAddChildColliders:member(1)",
|
34493
|
+
"docComment": "/**\n * Creates and adds multiple child colliders to the rigid body for the simulation it belongs to.\n *\n * @remarks\n *\n * If the rigid body is not simulated, the colliders will be added to the rigid body as pending child colliders and also simulated when the rigid body is simulated.\n *\n * @param colliderOptions - The options for the child colliders to add to the rigid body.\n *\n * @returns The child colliders that were added to the rigid body.\n */\n",
|
34146
34494
|
"excerptTokens": [
|
34147
34495
|
{
|
34148
34496
|
"kind": "Content",
|
34149
|
-
"text": "
|
34497
|
+
"text": "createAndAddChildColliders(colliderOptions: "
|
34150
34498
|
},
|
34151
34499
|
{
|
34152
34500
|
"kind": "Reference",
|
@@ -34195,7 +34543,7 @@
|
|
34195
34543
|
],
|
34196
34544
|
"isOptional": false,
|
34197
34545
|
"isAbstract": false,
|
34198
|
-
"name": "
|
34546
|
+
"name": "createAndAddChildColliders"
|
34199
34547
|
},
|
34200
34548
|
{
|
34201
34549
|
"kind": "Property",
|
@@ -38750,6 +39098,39 @@
|
|
38750
39098
|
"name": "SimpleEntityController",
|
38751
39099
|
"preserveMemberOrder": false,
|
38752
39100
|
"members": [
|
39101
|
+
{
|
39102
|
+
"kind": "Constructor",
|
39103
|
+
"canonicalReference": "server!SimpleEntityController:constructor(1)",
|
39104
|
+
"docComment": "/**\n * Constructs a new instance of the `SimpleEntityController` class\n *\n * @param options - Options for the controller.\n */\n",
|
39105
|
+
"excerptTokens": [
|
39106
|
+
{
|
39107
|
+
"kind": "Content",
|
39108
|
+
"text": "constructor(options?: "
|
39109
|
+
},
|
39110
|
+
{
|
39111
|
+
"kind": "Reference",
|
39112
|
+
"text": "SimpleEntityControllerOptions",
|
39113
|
+
"canonicalReference": "server!~SimpleEntityControllerOptions:interface"
|
39114
|
+
},
|
39115
|
+
{
|
39116
|
+
"kind": "Content",
|
39117
|
+
"text": ");"
|
39118
|
+
}
|
39119
|
+
],
|
39120
|
+
"releaseTag": "Public",
|
39121
|
+
"isProtected": false,
|
39122
|
+
"overloadIndex": 1,
|
39123
|
+
"parameters": [
|
39124
|
+
{
|
39125
|
+
"parameterName": "options",
|
39126
|
+
"parameterTypeTokenRange": {
|
39127
|
+
"startIndex": 1,
|
39128
|
+
"endIndex": 2
|
39129
|
+
},
|
39130
|
+
"isOptional": true
|
39131
|
+
}
|
39132
|
+
]
|
39133
|
+
},
|
38753
39134
|
{
|
38754
39135
|
"kind": "Method",
|
38755
39136
|
"canonicalReference": "server!SimpleEntityController#face:member(1)",
|
@@ -39190,6 +39571,68 @@
|
|
39190
39571
|
"isOptional": false,
|
39191
39572
|
"isAbstract": false,
|
39192
39573
|
"name": "spawn"
|
39574
|
+
},
|
39575
|
+
{
|
39576
|
+
"kind": "Method",
|
39577
|
+
"canonicalReference": "server!SimpleEntityController#stopFace:member(1)",
|
39578
|
+
"docComment": "/**\n * Stops the entity from attempting to face a target coordinate.\n */\n",
|
39579
|
+
"excerptTokens": [
|
39580
|
+
{
|
39581
|
+
"kind": "Content",
|
39582
|
+
"text": "stopFace(): "
|
39583
|
+
},
|
39584
|
+
{
|
39585
|
+
"kind": "Content",
|
39586
|
+
"text": "void"
|
39587
|
+
},
|
39588
|
+
{
|
39589
|
+
"kind": "Content",
|
39590
|
+
"text": ";"
|
39591
|
+
}
|
39592
|
+
],
|
39593
|
+
"isStatic": false,
|
39594
|
+
"returnTypeTokenRange": {
|
39595
|
+
"startIndex": 1,
|
39596
|
+
"endIndex": 2
|
39597
|
+
},
|
39598
|
+
"releaseTag": "Public",
|
39599
|
+
"isProtected": false,
|
39600
|
+
"overloadIndex": 1,
|
39601
|
+
"parameters": [],
|
39602
|
+
"isOptional": false,
|
39603
|
+
"isAbstract": false,
|
39604
|
+
"name": "stopFace"
|
39605
|
+
},
|
39606
|
+
{
|
39607
|
+
"kind": "Method",
|
39608
|
+
"canonicalReference": "server!SimpleEntityController#stopMove:member(1)",
|
39609
|
+
"docComment": "/**\n * Stops the entity from continuing to move it's current target coordinate.\n */\n",
|
39610
|
+
"excerptTokens": [
|
39611
|
+
{
|
39612
|
+
"kind": "Content",
|
39613
|
+
"text": "stopMove(): "
|
39614
|
+
},
|
39615
|
+
{
|
39616
|
+
"kind": "Content",
|
39617
|
+
"text": "void"
|
39618
|
+
},
|
39619
|
+
{
|
39620
|
+
"kind": "Content",
|
39621
|
+
"text": ";"
|
39622
|
+
}
|
39623
|
+
],
|
39624
|
+
"isStatic": false,
|
39625
|
+
"returnTypeTokenRange": {
|
39626
|
+
"startIndex": 1,
|
39627
|
+
"endIndex": 2
|
39628
|
+
},
|
39629
|
+
"releaseTag": "Public",
|
39630
|
+
"isProtected": false,
|
39631
|
+
"overloadIndex": 1,
|
39632
|
+
"parameters": [],
|
39633
|
+
"isOptional": false,
|
39634
|
+
"isAbstract": false,
|
39635
|
+
"name": "stopMove"
|
39193
39636
|
}
|
39194
39637
|
],
|
39195
39638
|
"extendsTokenRange": {
|
@@ -40150,7 +40593,7 @@
|
|
40150
40593
|
},
|
40151
40594
|
{
|
40152
40595
|
"kind": "Content",
|
40153
|
-
"text": "readonly [\"w\", \"a\", \"s\", \"d\", \"sp\", \"sh\", \"tb\", \"ml\", \"mr\", \"q\", \"e\", \"r\", \"f\", \"z\", \"x\", \"c\", \"v\", \"1\", \"2\", \"3\", \"4\", \"5\", \"6\", \"7\", \"8\", \"9\", \"0\"]"
|
40596
|
+
"text": "readonly [\"w\", \"a\", \"s\", \"d\", \"sp\", \"sh\", \"tb\", \"ml\", \"mr\", \"q\", \"e\", \"r\", \"f\", \"z\", \"x\", \"c\", \"v\", \"u\", \"i\", \"o\", \"j\", \"k\", \"l\", \"n\", \"m\", \"1\", \"2\", \"3\", \"4\", \"5\", \"6\", \"7\", \"8\", \"9\", \"0\"]"
|
40154
40597
|
}
|
40155
40598
|
],
|
40156
40599
|
"fileUrlPath": "src/players/Player.ts",
|