hytopia 0.1.26 → 0.1.29
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +2 -1
- package/docs/server.basecharactercontroller.md +5 -5
- package/docs/server.basecharactercontroller.ontick.md +13 -0
- package/docs/server.basecharactercontroller.tick.md +53 -0
- package/docs/server.defaultcharactercontroller.md +0 -14
- package/docs/server.facecallback.md +15 -0
- package/docs/server.facecompletecallback.md +15 -0
- package/docs/server.faceoptions.md +18 -0
- package/docs/server.hytopia.basecharactercontroller.md +5 -5
- package/docs/server.hytopia.basecharactercontroller.ontick.md +13 -0
- package/docs/server.hytopia.basecharactercontroller.tick.md +53 -0
- package/docs/server.hytopia.defaultcharactercontroller.md +0 -14
- package/docs/server.hytopia.facecallback.md +15 -0
- package/docs/server.hytopia.facecompletecallback.md +15 -0
- package/docs/server.hytopia.faceoptions.md +18 -0
- package/docs/server.hytopia.md +99 -0
- package/docs/server.hytopia.movecallback.md +15 -0
- package/docs/server.hytopia.movecompletecallback.md +15 -0
- package/docs/server.hytopia.moveoptions.md +18 -0
- package/docs/server.hytopia.simplecharactercontroller.face.md +89 -0
- package/docs/server.hytopia.simplecharactercontroller.md +88 -0
- package/docs/server.hytopia.simplecharactercontroller.move.md +89 -0
- package/docs/server.hytopia.worldloopeventpayload.md +73 -0
- package/docs/server.hytopia.worldloopeventpayload.start.md +53 -0
- package/docs/server.hytopia.worldloopeventpayload.start.worldloop.md +11 -0
- package/docs/server.hytopia.worldloopeventpayload.stop.md +53 -0
- package/docs/server.hytopia.worldloopeventpayload.stop.worldloop.md +11 -0
- package/docs/server.hytopia.worldloopeventpayload.tickend.md +70 -0
- package/docs/server.hytopia.worldloopeventpayload.tickend.tickdurationms.md +11 -0
- package/docs/server.hytopia.worldloopeventpayload.tickend.worldloop.md +11 -0
- package/docs/server.hytopia.worldloopeventpayload.tickerror.error.md +11 -0
- package/docs/server.hytopia.worldloopeventpayload.tickerror.md +70 -0
- package/docs/server.hytopia.worldloopeventpayload.tickerror.worldloop.md +11 -0
- package/docs/server.hytopia.worldloopeventpayload.tickstart.md +70 -0
- package/docs/server.hytopia.worldloopeventpayload.tickstart.tickdeltams.md +11 -0
- package/docs/server.hytopia.worldloopeventpayload.tickstart.worldloop.md +11 -0
- package/docs/server.hytopia.worldloopeventtype.md +103 -0
- package/docs/server.md +99 -0
- package/docs/server.movecallback.md +15 -0
- package/docs/server.movecompletecallback.md +15 -0
- package/docs/server.moveoptions.md +18 -0
- package/docs/server.simplecharactercontroller.face.md +89 -0
- package/docs/server.simplecharactercontroller.md +88 -0
- package/docs/server.simplecharactercontroller.move.md +89 -0
- package/docs/server.worldloopeventpayload.md +73 -0
- package/docs/server.worldloopeventpayload.start.md +53 -0
- package/docs/server.worldloopeventpayload.start.worldloop.md +11 -0
- package/docs/server.worldloopeventpayload.stop.md +53 -0
- package/docs/server.worldloopeventpayload.stop.worldloop.md +11 -0
- package/docs/server.worldloopeventpayload.tickend.md +70 -0
- package/docs/server.worldloopeventpayload.tickend.tickdurationms.md +11 -0
- package/docs/server.worldloopeventpayload.tickend.worldloop.md +11 -0
- package/docs/server.worldloopeventpayload.tickerror.error.md +11 -0
- package/docs/server.worldloopeventpayload.tickerror.md +70 -0
- package/docs/server.worldloopeventpayload.tickerror.worldloop.md +11 -0
- package/docs/server.worldloopeventpayload.tickstart.md +70 -0
- package/docs/server.worldloopeventpayload.tickstart.tickdeltams.md +11 -0
- package/docs/server.worldloopeventpayload.tickstart.worldloop.md +11 -0
- package/docs/server.worldloopeventtype.md +103 -0
- package/package.json +1 -1
- package/server.api.json +1857 -263
- package/server.d.ts +175 -20
- package/server.js +60 -60
- package/docs/server.basecharactercontroller.ontickpathfindingmovement.md +0 -13
- package/docs/server.basecharactercontroller.tickpathfindingmovement.md +0 -69
- package/docs/server.defaultcharactercontroller.tickpathfindingmovement.md +0 -69
- package/docs/server.hytopia.basecharactercontroller.ontickpathfindingmovement.md +0 -13
- package/docs/server.hytopia.basecharactercontroller.tickpathfindingmovement.md +0 -69
- package/docs/server.hytopia.defaultcharactercontroller.tickpathfindingmovement.md +0 -69
package/server.api.json
CHANGED
@@ -2755,25 +2755,16 @@
|
|
2755
2755
|
},
|
2756
2756
|
{
|
2757
2757
|
"kind": "Property",
|
2758
|
-
"canonicalReference": "server!BaseCharacterController#
|
2759
|
-
"docComment": "/**\n * A callback function for when the controller ticks
|
2758
|
+
"canonicalReference": "server!BaseCharacterController#onTick:member",
|
2759
|
+
"docComment": "/**\n * A callback function for when the controller ticks.\n *\n * @param deltaTimeMs - The delta time in milliseconds since the last tick.\n */\n",
|
2760
2760
|
"excerptTokens": [
|
2761
2761
|
{
|
2762
2762
|
"kind": "Content",
|
2763
|
-
"text": "
|
2763
|
+
"text": "onTick?: "
|
2764
2764
|
},
|
2765
2765
|
{
|
2766
2766
|
"kind": "Content",
|
2767
|
-
"text": "(
|
2768
|
-
},
|
2769
|
-
{
|
2770
|
-
"kind": "Reference",
|
2771
|
-
"text": "Vector3",
|
2772
|
-
"canonicalReference": "server!Vector3:interface"
|
2773
|
-
},
|
2774
|
-
{
|
2775
|
-
"kind": "Content",
|
2776
|
-
"text": ", deltaTimeMs: number) => void"
|
2767
|
+
"text": "(deltaTimeMs: number) => void"
|
2777
2768
|
},
|
2778
2769
|
{
|
2779
2770
|
"kind": "Content",
|
@@ -2783,10 +2774,10 @@
|
|
2783
2774
|
"isReadonly": false,
|
2784
2775
|
"isOptional": true,
|
2785
2776
|
"releaseTag": "Public",
|
2786
|
-
"name": "
|
2777
|
+
"name": "onTick",
|
2787
2778
|
"propertyTypeTokenRange": {
|
2788
2779
|
"startIndex": 1,
|
2789
|
-
"endIndex":
|
2780
|
+
"endIndex": 2
|
2790
2781
|
},
|
2791
2782
|
"isStatic": false,
|
2792
2783
|
"isProtected": false,
|
@@ -2842,21 +2833,12 @@
|
|
2842
2833
|
},
|
2843
2834
|
{
|
2844
2835
|
"kind": "Method",
|
2845
|
-
"canonicalReference": "server!BaseCharacterController#
|
2846
|
-
"docComment": "/**\n * Override this method to
|
2836
|
+
"canonicalReference": "server!BaseCharacterController#tick:member(1)",
|
2837
|
+
"docComment": "/**\n * Override this method to handle entity movements based on your character controller.\n *\n * @param deltaTimeMs - The delta time in milliseconds since the last tick.\n */\n",
|
2847
2838
|
"excerptTokens": [
|
2848
2839
|
{
|
2849
2840
|
"kind": "Content",
|
2850
|
-
"text": "
|
2851
|
-
},
|
2852
|
-
{
|
2853
|
-
"kind": "Reference",
|
2854
|
-
"text": "Vector3",
|
2855
|
-
"canonicalReference": "server!Vector3:interface"
|
2856
|
-
},
|
2857
|
-
{
|
2858
|
-
"kind": "Content",
|
2859
|
-
"text": ", deltaTimeMs: "
|
2841
|
+
"text": "tick(deltaTimeMs: "
|
2860
2842
|
},
|
2861
2843
|
{
|
2862
2844
|
"kind": "Content",
|
@@ -2877,33 +2859,25 @@
|
|
2877
2859
|
],
|
2878
2860
|
"isStatic": false,
|
2879
2861
|
"returnTypeTokenRange": {
|
2880
|
-
"startIndex":
|
2881
|
-
"endIndex":
|
2862
|
+
"startIndex": 3,
|
2863
|
+
"endIndex": 4
|
2882
2864
|
},
|
2883
2865
|
"releaseTag": "Public",
|
2884
2866
|
"isProtected": false,
|
2885
2867
|
"overloadIndex": 1,
|
2886
2868
|
"parameters": [
|
2887
2869
|
{
|
2888
|
-
"parameterName": "
|
2870
|
+
"parameterName": "deltaTimeMs",
|
2889
2871
|
"parameterTypeTokenRange": {
|
2890
2872
|
"startIndex": 1,
|
2891
2873
|
"endIndex": 2
|
2892
2874
|
},
|
2893
2875
|
"isOptional": false
|
2894
|
-
},
|
2895
|
-
{
|
2896
|
-
"parameterName": "deltaTimeMs",
|
2897
|
-
"parameterTypeTokenRange": {
|
2898
|
-
"startIndex": 3,
|
2899
|
-
"endIndex": 4
|
2900
|
-
},
|
2901
|
-
"isOptional": false
|
2902
2876
|
}
|
2903
2877
|
],
|
2904
2878
|
"isOptional": false,
|
2905
2879
|
"isAbstract": false,
|
2906
|
-
"name": "
|
2880
|
+
"name": "tick"
|
2907
2881
|
},
|
2908
2882
|
{
|
2909
2883
|
"kind": "Method",
|
@@ -8250,71 +8224,6 @@
|
|
8250
8224
|
"isProtected": false,
|
8251
8225
|
"isAbstract": false
|
8252
8226
|
},
|
8253
|
-
{
|
8254
|
-
"kind": "Method",
|
8255
|
-
"canonicalReference": "server!DefaultCharacterController#tickPathfindingMovement:member(1)",
|
8256
|
-
"docComment": "/**\n * Ticks the pathfinding movement for the character controller, overriding the default implementation.\n *\n * @param destination - The destination to move to.\n *\n * @param deltaTimeMs - The delta time in milliseconds since the last tick.\n */\n",
|
8257
|
-
"excerptTokens": [
|
8258
|
-
{
|
8259
|
-
"kind": "Content",
|
8260
|
-
"text": "tickPathfindingMovement(destination: "
|
8261
|
-
},
|
8262
|
-
{
|
8263
|
-
"kind": "Reference",
|
8264
|
-
"text": "Vector3",
|
8265
|
-
"canonicalReference": "server!Vector3:interface"
|
8266
|
-
},
|
8267
|
-
{
|
8268
|
-
"kind": "Content",
|
8269
|
-
"text": ", deltaTimeMs: "
|
8270
|
-
},
|
8271
|
-
{
|
8272
|
-
"kind": "Content",
|
8273
|
-
"text": "number"
|
8274
|
-
},
|
8275
|
-
{
|
8276
|
-
"kind": "Content",
|
8277
|
-
"text": "): "
|
8278
|
-
},
|
8279
|
-
{
|
8280
|
-
"kind": "Content",
|
8281
|
-
"text": "void"
|
8282
|
-
},
|
8283
|
-
{
|
8284
|
-
"kind": "Content",
|
8285
|
-
"text": ";"
|
8286
|
-
}
|
8287
|
-
],
|
8288
|
-
"isStatic": false,
|
8289
|
-
"returnTypeTokenRange": {
|
8290
|
-
"startIndex": 5,
|
8291
|
-
"endIndex": 6
|
8292
|
-
},
|
8293
|
-
"releaseTag": "Public",
|
8294
|
-
"isProtected": false,
|
8295
|
-
"overloadIndex": 1,
|
8296
|
-
"parameters": [
|
8297
|
-
{
|
8298
|
-
"parameterName": "destination",
|
8299
|
-
"parameterTypeTokenRange": {
|
8300
|
-
"startIndex": 1,
|
8301
|
-
"endIndex": 2
|
8302
|
-
},
|
8303
|
-
"isOptional": false
|
8304
|
-
},
|
8305
|
-
{
|
8306
|
-
"parameterName": "deltaTimeMs",
|
8307
|
-
"parameterTypeTokenRange": {
|
8308
|
-
"startIndex": 3,
|
8309
|
-
"endIndex": 4
|
8310
|
-
},
|
8311
|
-
"isOptional": false
|
8312
|
-
}
|
8313
|
-
],
|
8314
|
-
"isOptional": false,
|
8315
|
-
"isAbstract": false,
|
8316
|
-
"name": "tickPathfindingMovement"
|
8317
|
-
},
|
8318
8227
|
{
|
8319
8228
|
"kind": "Method",
|
8320
8229
|
"canonicalReference": "server!DefaultCharacterController#tickPlayerMovement:member(1)",
|
@@ -11206,6 +11115,129 @@
|
|
11206
11115
|
],
|
11207
11116
|
"implementsTokenRanges": []
|
11208
11117
|
},
|
11118
|
+
{
|
11119
|
+
"kind": "TypeAlias",
|
11120
|
+
"canonicalReference": "server!FaceCallback:type",
|
11121
|
+
"docComment": "/**\n * A callback function called when the entity associated with the SimpleCharacterController updates its rotation as it is attempting to face a target coordinate.\n *\n * @param currentRotation - The current rotation of the entity.\n *\n * @param targetRotation - The target rotation of the entity.\n *\n * @public\n */\n",
|
11122
|
+
"excerptTokens": [
|
11123
|
+
{
|
11124
|
+
"kind": "Content",
|
11125
|
+
"text": "export type FaceCallback = "
|
11126
|
+
},
|
11127
|
+
{
|
11128
|
+
"kind": "Content",
|
11129
|
+
"text": "(currentRotation: "
|
11130
|
+
},
|
11131
|
+
{
|
11132
|
+
"kind": "Reference",
|
11133
|
+
"text": "Rotation",
|
11134
|
+
"canonicalReference": "server!Rotation:interface"
|
11135
|
+
},
|
11136
|
+
{
|
11137
|
+
"kind": "Content",
|
11138
|
+
"text": ", targetRotation: "
|
11139
|
+
},
|
11140
|
+
{
|
11141
|
+
"kind": "Reference",
|
11142
|
+
"text": "Rotation",
|
11143
|
+
"canonicalReference": "server!Rotation:interface"
|
11144
|
+
},
|
11145
|
+
{
|
11146
|
+
"kind": "Content",
|
11147
|
+
"text": ") => void"
|
11148
|
+
},
|
11149
|
+
{
|
11150
|
+
"kind": "Content",
|
11151
|
+
"text": ";"
|
11152
|
+
}
|
11153
|
+
],
|
11154
|
+
"fileUrlPath": "src/world/entities/controllers/SimpleCharacterController.ts",
|
11155
|
+
"releaseTag": "Public",
|
11156
|
+
"name": "FaceCallback",
|
11157
|
+
"typeTokenRange": {
|
11158
|
+
"startIndex": 1,
|
11159
|
+
"endIndex": 6
|
11160
|
+
}
|
11161
|
+
},
|
11162
|
+
{
|
11163
|
+
"kind": "TypeAlias",
|
11164
|
+
"canonicalReference": "server!FaceCompleteCallback:type",
|
11165
|
+
"docComment": "/**\n * A callback function called when the entity associated with the SimpleCharacterController finishes rotating and is now facing a target coordinate.\n *\n * @param endRotation - The rotation of the entity after it has finished rotating.\n *\n * @public\n */\n",
|
11166
|
+
"excerptTokens": [
|
11167
|
+
{
|
11168
|
+
"kind": "Content",
|
11169
|
+
"text": "export type FaceCompleteCallback = "
|
11170
|
+
},
|
11171
|
+
{
|
11172
|
+
"kind": "Content",
|
11173
|
+
"text": "(endRotation: "
|
11174
|
+
},
|
11175
|
+
{
|
11176
|
+
"kind": "Reference",
|
11177
|
+
"text": "Rotation",
|
11178
|
+
"canonicalReference": "server!Rotation:interface"
|
11179
|
+
},
|
11180
|
+
{
|
11181
|
+
"kind": "Content",
|
11182
|
+
"text": ") => void"
|
11183
|
+
},
|
11184
|
+
{
|
11185
|
+
"kind": "Content",
|
11186
|
+
"text": ";"
|
11187
|
+
}
|
11188
|
+
],
|
11189
|
+
"fileUrlPath": "src/world/entities/controllers/SimpleCharacterController.ts",
|
11190
|
+
"releaseTag": "Public",
|
11191
|
+
"name": "FaceCompleteCallback",
|
11192
|
+
"typeTokenRange": {
|
11193
|
+
"startIndex": 1,
|
11194
|
+
"endIndex": 4
|
11195
|
+
}
|
11196
|
+
},
|
11197
|
+
{
|
11198
|
+
"kind": "TypeAlias",
|
11199
|
+
"canonicalReference": "server!FaceOptions:type",
|
11200
|
+
"docComment": "/**\n * Options for the {@link SimpleCharacterController.face} method.\n *\n * @public\n */\n",
|
11201
|
+
"excerptTokens": [
|
11202
|
+
{
|
11203
|
+
"kind": "Content",
|
11204
|
+
"text": "export type FaceOptions = "
|
11205
|
+
},
|
11206
|
+
{
|
11207
|
+
"kind": "Content",
|
11208
|
+
"text": "{\n faceCallback?: "
|
11209
|
+
},
|
11210
|
+
{
|
11211
|
+
"kind": "Reference",
|
11212
|
+
"text": "FaceCallback",
|
11213
|
+
"canonicalReference": "server!FaceCallback:type"
|
11214
|
+
},
|
11215
|
+
{
|
11216
|
+
"kind": "Content",
|
11217
|
+
"text": ";\n faceCompleteCallback?: "
|
11218
|
+
},
|
11219
|
+
{
|
11220
|
+
"kind": "Reference",
|
11221
|
+
"text": "FaceCompleteCallback",
|
11222
|
+
"canonicalReference": "server!FaceCompleteCallback:type"
|
11223
|
+
},
|
11224
|
+
{
|
11225
|
+
"kind": "Content",
|
11226
|
+
"text": ";\n}"
|
11227
|
+
},
|
11228
|
+
{
|
11229
|
+
"kind": "Content",
|
11230
|
+
"text": ";"
|
11231
|
+
}
|
11232
|
+
],
|
11233
|
+
"fileUrlPath": "src/world/entities/controllers/SimpleCharacterController.ts",
|
11234
|
+
"releaseTag": "Public",
|
11235
|
+
"name": "FaceOptions",
|
11236
|
+
"typeTokenRange": {
|
11237
|
+
"startIndex": 1,
|
11238
|
+
"endIndex": 6
|
11239
|
+
}
|
11240
|
+
},
|
11209
11241
|
{
|
11210
11242
|
"kind": "Class",
|
11211
11243
|
"canonicalReference": "server!GameServer:class",
|
@@ -14113,25 +14145,16 @@
|
|
14113
14145
|
},
|
14114
14146
|
{
|
14115
14147
|
"kind": "Property",
|
14116
|
-
"canonicalReference": "server!HYTOPIA.BaseCharacterController#
|
14117
|
-
"docComment": "/**\n * A callback function for when the controller ticks
|
14148
|
+
"canonicalReference": "server!HYTOPIA.BaseCharacterController#onTick:member",
|
14149
|
+
"docComment": "/**\n * A callback function for when the controller ticks.\n *\n * @param deltaTimeMs - The delta time in milliseconds since the last tick.\n */\n",
|
14118
14150
|
"excerptTokens": [
|
14119
14151
|
{
|
14120
14152
|
"kind": "Content",
|
14121
|
-
"text": "
|
14122
|
-
},
|
14123
|
-
{
|
14124
|
-
"kind": "Content",
|
14125
|
-
"text": "(destination: "
|
14126
|
-
},
|
14127
|
-
{
|
14128
|
-
"kind": "Reference",
|
14129
|
-
"text": "Vector3",
|
14130
|
-
"canonicalReference": "server!Vector3:interface"
|
14153
|
+
"text": "onTick?: "
|
14131
14154
|
},
|
14132
14155
|
{
|
14133
14156
|
"kind": "Content",
|
14134
|
-
"text": "
|
14157
|
+
"text": "(deltaTimeMs: number) => void"
|
14135
14158
|
},
|
14136
14159
|
{
|
14137
14160
|
"kind": "Content",
|
@@ -14141,10 +14164,10 @@
|
|
14141
14164
|
"isReadonly": false,
|
14142
14165
|
"isOptional": true,
|
14143
14166
|
"releaseTag": "Public",
|
14144
|
-
"name": "
|
14167
|
+
"name": "onTick",
|
14145
14168
|
"propertyTypeTokenRange": {
|
14146
14169
|
"startIndex": 1,
|
14147
|
-
"endIndex":
|
14170
|
+
"endIndex": 2
|
14148
14171
|
},
|
14149
14172
|
"isStatic": false,
|
14150
14173
|
"isProtected": false,
|
@@ -14200,91 +14223,74 @@
|
|
14200
14223
|
},
|
14201
14224
|
{
|
14202
14225
|
"kind": "Method",
|
14203
|
-
"canonicalReference": "server!HYTOPIA.BaseCharacterController#
|
14204
|
-
"docComment": "/**\n * Override this method to
|
14226
|
+
"canonicalReference": "server!HYTOPIA.BaseCharacterController#tick:member(1)",
|
14227
|
+
"docComment": "/**\n * Override this method to handle entity movements based on your character controller.\n *\n * @param deltaTimeMs - The delta time in milliseconds since the last tick.\n */\n",
|
14228
|
+
"excerptTokens": [
|
14229
|
+
{
|
14230
|
+
"kind": "Content",
|
14231
|
+
"text": "tick(deltaTimeMs: "
|
14232
|
+
},
|
14233
|
+
{
|
14234
|
+
"kind": "Content",
|
14235
|
+
"text": "number"
|
14236
|
+
},
|
14237
|
+
{
|
14238
|
+
"kind": "Content",
|
14239
|
+
"text": "): "
|
14240
|
+
},
|
14241
|
+
{
|
14242
|
+
"kind": "Content",
|
14243
|
+
"text": "void"
|
14244
|
+
},
|
14245
|
+
{
|
14246
|
+
"kind": "Content",
|
14247
|
+
"text": ";"
|
14248
|
+
}
|
14249
|
+
],
|
14250
|
+
"isStatic": false,
|
14251
|
+
"returnTypeTokenRange": {
|
14252
|
+
"startIndex": 3,
|
14253
|
+
"endIndex": 4
|
14254
|
+
},
|
14255
|
+
"releaseTag": "Public",
|
14256
|
+
"isProtected": false,
|
14257
|
+
"overloadIndex": 1,
|
14258
|
+
"parameters": [
|
14259
|
+
{
|
14260
|
+
"parameterName": "deltaTimeMs",
|
14261
|
+
"parameterTypeTokenRange": {
|
14262
|
+
"startIndex": 1,
|
14263
|
+
"endIndex": 2
|
14264
|
+
},
|
14265
|
+
"isOptional": false
|
14266
|
+
}
|
14267
|
+
],
|
14268
|
+
"isOptional": false,
|
14269
|
+
"isAbstract": false,
|
14270
|
+
"name": "tick"
|
14271
|
+
},
|
14272
|
+
{
|
14273
|
+
"kind": "Method",
|
14274
|
+
"canonicalReference": "server!HYTOPIA.BaseCharacterController#tickPlayerMovement:member(1)",
|
14275
|
+
"docComment": "/**\n * Override this method to handle entity movements based on player input for your character controller.\n *\n * @param inputState - The current input state of the player.\n *\n * @param orientationState - The current orientation state of the player.\n *\n * @param deltaTimeMs - The delta time in milliseconds since the last tick.\n */\n",
|
14205
14276
|
"excerptTokens": [
|
14206
14277
|
{
|
14207
14278
|
"kind": "Content",
|
14208
|
-
"text": "
|
14279
|
+
"text": "tickPlayerMovement(inputState: "
|
14209
14280
|
},
|
14210
14281
|
{
|
14211
14282
|
"kind": "Reference",
|
14212
|
-
"text": "
|
14213
|
-
"canonicalReference": "server!
|
14214
|
-
},
|
14215
|
-
{
|
14216
|
-
"kind": "Content",
|
14217
|
-
"text": ",
|
14218
|
-
},
|
14219
|
-
{
|
14220
|
-
"kind": "
|
14221
|
-
"text": "
|
14222
|
-
|
14223
|
-
{
|
14224
|
-
"kind": "Content",
|
14225
|
-
"text": "): "
|
14226
|
-
},
|
14227
|
-
{
|
14228
|
-
"kind": "Content",
|
14229
|
-
"text": "void"
|
14230
|
-
},
|
14231
|
-
{
|
14232
|
-
"kind": "Content",
|
14233
|
-
"text": ";"
|
14234
|
-
}
|
14235
|
-
],
|
14236
|
-
"isStatic": false,
|
14237
|
-
"returnTypeTokenRange": {
|
14238
|
-
"startIndex": 5,
|
14239
|
-
"endIndex": 6
|
14240
|
-
},
|
14241
|
-
"releaseTag": "Public",
|
14242
|
-
"isProtected": false,
|
14243
|
-
"overloadIndex": 1,
|
14244
|
-
"parameters": [
|
14245
|
-
{
|
14246
|
-
"parameterName": "destination",
|
14247
|
-
"parameterTypeTokenRange": {
|
14248
|
-
"startIndex": 1,
|
14249
|
-
"endIndex": 2
|
14250
|
-
},
|
14251
|
-
"isOptional": false
|
14252
|
-
},
|
14253
|
-
{
|
14254
|
-
"parameterName": "deltaTimeMs",
|
14255
|
-
"parameterTypeTokenRange": {
|
14256
|
-
"startIndex": 3,
|
14257
|
-
"endIndex": 4
|
14258
|
-
},
|
14259
|
-
"isOptional": false
|
14260
|
-
}
|
14261
|
-
],
|
14262
|
-
"isOptional": false,
|
14263
|
-
"isAbstract": false,
|
14264
|
-
"name": "tickPathfindingMovement"
|
14265
|
-
},
|
14266
|
-
{
|
14267
|
-
"kind": "Method",
|
14268
|
-
"canonicalReference": "server!HYTOPIA.BaseCharacterController#tickPlayerMovement:member(1)",
|
14269
|
-
"docComment": "/**\n * Override this method to handle entity movements based on player input for your character controller.\n *\n * @param inputState - The current input state of the player.\n *\n * @param orientationState - The current orientation state of the player.\n *\n * @param deltaTimeMs - The delta time in milliseconds since the last tick.\n */\n",
|
14270
|
-
"excerptTokens": [
|
14271
|
-
{
|
14272
|
-
"kind": "Content",
|
14273
|
-
"text": "tickPlayerMovement(inputState: "
|
14274
|
-
},
|
14275
|
-
{
|
14276
|
-
"kind": "Reference",
|
14277
|
-
"text": "PlayerInputState",
|
14278
|
-
"canonicalReference": "server!PlayerInputState:type"
|
14279
|
-
},
|
14280
|
-
{
|
14281
|
-
"kind": "Content",
|
14282
|
-
"text": ", orientationState: "
|
14283
|
-
},
|
14284
|
-
{
|
14285
|
-
"kind": "Reference",
|
14286
|
-
"text": "PlayerOrientationState",
|
14287
|
-
"canonicalReference": "server!PlayerOrientationState:type"
|
14283
|
+
"text": "PlayerInputState",
|
14284
|
+
"canonicalReference": "server!PlayerInputState:type"
|
14285
|
+
},
|
14286
|
+
{
|
14287
|
+
"kind": "Content",
|
14288
|
+
"text": ", orientationState: "
|
14289
|
+
},
|
14290
|
+
{
|
14291
|
+
"kind": "Reference",
|
14292
|
+
"text": "PlayerOrientationState",
|
14293
|
+
"canonicalReference": "server!PlayerOrientationState:type"
|
14288
14294
|
},
|
14289
14295
|
{
|
14290
14296
|
"kind": "Content",
|
@@ -19608,71 +19614,6 @@
|
|
19608
19614
|
"isProtected": false,
|
19609
19615
|
"isAbstract": false
|
19610
19616
|
},
|
19611
|
-
{
|
19612
|
-
"kind": "Method",
|
19613
|
-
"canonicalReference": "server!HYTOPIA.DefaultCharacterController#tickPathfindingMovement:member(1)",
|
19614
|
-
"docComment": "/**\n * Ticks the pathfinding movement for the character controller, overriding the default implementation.\n *\n * @param destination - The destination to move to.\n *\n * @param deltaTimeMs - The delta time in milliseconds since the last tick.\n */\n",
|
19615
|
-
"excerptTokens": [
|
19616
|
-
{
|
19617
|
-
"kind": "Content",
|
19618
|
-
"text": "tickPathfindingMovement(destination: "
|
19619
|
-
},
|
19620
|
-
{
|
19621
|
-
"kind": "Reference",
|
19622
|
-
"text": "Vector3",
|
19623
|
-
"canonicalReference": "server!Vector3:interface"
|
19624
|
-
},
|
19625
|
-
{
|
19626
|
-
"kind": "Content",
|
19627
|
-
"text": ", deltaTimeMs: "
|
19628
|
-
},
|
19629
|
-
{
|
19630
|
-
"kind": "Content",
|
19631
|
-
"text": "number"
|
19632
|
-
},
|
19633
|
-
{
|
19634
|
-
"kind": "Content",
|
19635
|
-
"text": "): "
|
19636
|
-
},
|
19637
|
-
{
|
19638
|
-
"kind": "Content",
|
19639
|
-
"text": "void"
|
19640
|
-
},
|
19641
|
-
{
|
19642
|
-
"kind": "Content",
|
19643
|
-
"text": ";"
|
19644
|
-
}
|
19645
|
-
],
|
19646
|
-
"isStatic": false,
|
19647
|
-
"returnTypeTokenRange": {
|
19648
|
-
"startIndex": 5,
|
19649
|
-
"endIndex": 6
|
19650
|
-
},
|
19651
|
-
"releaseTag": "Public",
|
19652
|
-
"isProtected": false,
|
19653
|
-
"overloadIndex": 1,
|
19654
|
-
"parameters": [
|
19655
|
-
{
|
19656
|
-
"parameterName": "destination",
|
19657
|
-
"parameterTypeTokenRange": {
|
19658
|
-
"startIndex": 1,
|
19659
|
-
"endIndex": 2
|
19660
|
-
},
|
19661
|
-
"isOptional": false
|
19662
|
-
},
|
19663
|
-
{
|
19664
|
-
"parameterName": "deltaTimeMs",
|
19665
|
-
"parameterTypeTokenRange": {
|
19666
|
-
"startIndex": 3,
|
19667
|
-
"endIndex": 4
|
19668
|
-
},
|
19669
|
-
"isOptional": false
|
19670
|
-
}
|
19671
|
-
],
|
19672
|
-
"isOptional": false,
|
19673
|
-
"isAbstract": false,
|
19674
|
-
"name": "tickPathfindingMovement"
|
19675
|
-
},
|
19676
19617
|
{
|
19677
19618
|
"kind": "Method",
|
19678
19619
|
"canonicalReference": "server!HYTOPIA.DefaultCharacterController#tickPlayerMovement:member(1)",
|
@@ -22564,6 +22505,129 @@
|
|
22564
22505
|
],
|
22565
22506
|
"implementsTokenRanges": []
|
22566
22507
|
},
|
22508
|
+
{
|
22509
|
+
"kind": "TypeAlias",
|
22510
|
+
"canonicalReference": "server!HYTOPIA.FaceCallback:type",
|
22511
|
+
"docComment": "/**\n * A callback function called when the entity associated with the SimpleCharacterController updates its rotation as it is attempting to face a target coordinate.\n *\n * @param currentRotation - The current rotation of the entity.\n *\n * @param targetRotation - The target rotation of the entity.\n *\n * @public\n */\n",
|
22512
|
+
"excerptTokens": [
|
22513
|
+
{
|
22514
|
+
"kind": "Content",
|
22515
|
+
"text": "export type FaceCallback = "
|
22516
|
+
},
|
22517
|
+
{
|
22518
|
+
"kind": "Content",
|
22519
|
+
"text": "(currentRotation: "
|
22520
|
+
},
|
22521
|
+
{
|
22522
|
+
"kind": "Reference",
|
22523
|
+
"text": "Rotation",
|
22524
|
+
"canonicalReference": "server!Rotation:interface"
|
22525
|
+
},
|
22526
|
+
{
|
22527
|
+
"kind": "Content",
|
22528
|
+
"text": ", targetRotation: "
|
22529
|
+
},
|
22530
|
+
{
|
22531
|
+
"kind": "Reference",
|
22532
|
+
"text": "Rotation",
|
22533
|
+
"canonicalReference": "server!Rotation:interface"
|
22534
|
+
},
|
22535
|
+
{
|
22536
|
+
"kind": "Content",
|
22537
|
+
"text": ") => void"
|
22538
|
+
},
|
22539
|
+
{
|
22540
|
+
"kind": "Content",
|
22541
|
+
"text": ";"
|
22542
|
+
}
|
22543
|
+
],
|
22544
|
+
"fileUrlPath": "src/world/entities/controllers/SimpleCharacterController.ts",
|
22545
|
+
"releaseTag": "Public",
|
22546
|
+
"name": "FaceCallback",
|
22547
|
+
"typeTokenRange": {
|
22548
|
+
"startIndex": 1,
|
22549
|
+
"endIndex": 6
|
22550
|
+
}
|
22551
|
+
},
|
22552
|
+
{
|
22553
|
+
"kind": "TypeAlias",
|
22554
|
+
"canonicalReference": "server!HYTOPIA.FaceCompleteCallback:type",
|
22555
|
+
"docComment": "/**\n * A callback function called when the entity associated with the SimpleCharacterController finishes rotating and is now facing a target coordinate.\n *\n * @param endRotation - The rotation of the entity after it has finished rotating.\n *\n * @public\n */\n",
|
22556
|
+
"excerptTokens": [
|
22557
|
+
{
|
22558
|
+
"kind": "Content",
|
22559
|
+
"text": "export type FaceCompleteCallback = "
|
22560
|
+
},
|
22561
|
+
{
|
22562
|
+
"kind": "Content",
|
22563
|
+
"text": "(endRotation: "
|
22564
|
+
},
|
22565
|
+
{
|
22566
|
+
"kind": "Reference",
|
22567
|
+
"text": "Rotation",
|
22568
|
+
"canonicalReference": "server!Rotation:interface"
|
22569
|
+
},
|
22570
|
+
{
|
22571
|
+
"kind": "Content",
|
22572
|
+
"text": ") => void"
|
22573
|
+
},
|
22574
|
+
{
|
22575
|
+
"kind": "Content",
|
22576
|
+
"text": ";"
|
22577
|
+
}
|
22578
|
+
],
|
22579
|
+
"fileUrlPath": "src/world/entities/controllers/SimpleCharacterController.ts",
|
22580
|
+
"releaseTag": "Public",
|
22581
|
+
"name": "FaceCompleteCallback",
|
22582
|
+
"typeTokenRange": {
|
22583
|
+
"startIndex": 1,
|
22584
|
+
"endIndex": 4
|
22585
|
+
}
|
22586
|
+
},
|
22587
|
+
{
|
22588
|
+
"kind": "TypeAlias",
|
22589
|
+
"canonicalReference": "server!HYTOPIA.FaceOptions:type",
|
22590
|
+
"docComment": "/**\n * Options for the {@link SimpleCharacterController.face} method.\n *\n * @public\n */\n",
|
22591
|
+
"excerptTokens": [
|
22592
|
+
{
|
22593
|
+
"kind": "Content",
|
22594
|
+
"text": "export type FaceOptions = "
|
22595
|
+
},
|
22596
|
+
{
|
22597
|
+
"kind": "Content",
|
22598
|
+
"text": "{\n faceCallback?: "
|
22599
|
+
},
|
22600
|
+
{
|
22601
|
+
"kind": "Reference",
|
22602
|
+
"text": "FaceCallback",
|
22603
|
+
"canonicalReference": "server!FaceCallback:type"
|
22604
|
+
},
|
22605
|
+
{
|
22606
|
+
"kind": "Content",
|
22607
|
+
"text": ";\n faceCompleteCallback?: "
|
22608
|
+
},
|
22609
|
+
{
|
22610
|
+
"kind": "Reference",
|
22611
|
+
"text": "FaceCompleteCallback",
|
22612
|
+
"canonicalReference": "server!FaceCompleteCallback:type"
|
22613
|
+
},
|
22614
|
+
{
|
22615
|
+
"kind": "Content",
|
22616
|
+
"text": ";\n}"
|
22617
|
+
},
|
22618
|
+
{
|
22619
|
+
"kind": "Content",
|
22620
|
+
"text": ";"
|
22621
|
+
}
|
22622
|
+
],
|
22623
|
+
"fileUrlPath": "src/world/entities/controllers/SimpleCharacterController.ts",
|
22624
|
+
"releaseTag": "Public",
|
22625
|
+
"name": "FaceOptions",
|
22626
|
+
"typeTokenRange": {
|
22627
|
+
"startIndex": 1,
|
22628
|
+
"endIndex": 6
|
22629
|
+
}
|
22630
|
+
},
|
22567
22631
|
{
|
22568
22632
|
"kind": "Class",
|
22569
22633
|
"canonicalReference": "server!HYTOPIA.GameServer:class",
|
@@ -22879,6 +22943,129 @@
|
|
22879
22943
|
}
|
22880
22944
|
]
|
22881
22945
|
},
|
22946
|
+
{
|
22947
|
+
"kind": "TypeAlias",
|
22948
|
+
"canonicalReference": "server!HYTOPIA.MoveCallback:type",
|
22949
|
+
"docComment": "/**\n * A callback function called when the entity associated with the SimpleCharacterController updates its translation as it is attempting to move to a target coordinate.\n *\n * @param currentTranslation - The current translation of the entity.\n *\n * @param targetTranslation - The target translation of the entity.\n *\n * @public\n */\n",
|
22950
|
+
"excerptTokens": [
|
22951
|
+
{
|
22952
|
+
"kind": "Content",
|
22953
|
+
"text": "export type MoveCallback = "
|
22954
|
+
},
|
22955
|
+
{
|
22956
|
+
"kind": "Content",
|
22957
|
+
"text": "(currentTranslation: "
|
22958
|
+
},
|
22959
|
+
{
|
22960
|
+
"kind": "Reference",
|
22961
|
+
"text": "Vector3",
|
22962
|
+
"canonicalReference": "server!Vector3:interface"
|
22963
|
+
},
|
22964
|
+
{
|
22965
|
+
"kind": "Content",
|
22966
|
+
"text": ", targetTranslation: "
|
22967
|
+
},
|
22968
|
+
{
|
22969
|
+
"kind": "Reference",
|
22970
|
+
"text": "Vector3",
|
22971
|
+
"canonicalReference": "server!Vector3:interface"
|
22972
|
+
},
|
22973
|
+
{
|
22974
|
+
"kind": "Content",
|
22975
|
+
"text": ") => void"
|
22976
|
+
},
|
22977
|
+
{
|
22978
|
+
"kind": "Content",
|
22979
|
+
"text": ";"
|
22980
|
+
}
|
22981
|
+
],
|
22982
|
+
"fileUrlPath": "src/world/entities/controllers/SimpleCharacterController.ts",
|
22983
|
+
"releaseTag": "Public",
|
22984
|
+
"name": "MoveCallback",
|
22985
|
+
"typeTokenRange": {
|
22986
|
+
"startIndex": 1,
|
22987
|
+
"endIndex": 6
|
22988
|
+
}
|
22989
|
+
},
|
22990
|
+
{
|
22991
|
+
"kind": "TypeAlias",
|
22992
|
+
"canonicalReference": "server!HYTOPIA.MoveCompleteCallback:type",
|
22993
|
+
"docComment": "/**\n * A callback function called when the entity associated with the SimpleCharacterController reaches the target coordinate. An entity must reach the x,y,z coordinate for the callback to be called.\n *\n * @param endTranslation - The translation of the entity after it has finished moving.\n *\n * @public\n */\n",
|
22994
|
+
"excerptTokens": [
|
22995
|
+
{
|
22996
|
+
"kind": "Content",
|
22997
|
+
"text": "export type MoveCompleteCallback = "
|
22998
|
+
},
|
22999
|
+
{
|
23000
|
+
"kind": "Content",
|
23001
|
+
"text": "(endTranslation: "
|
23002
|
+
},
|
23003
|
+
{
|
23004
|
+
"kind": "Reference",
|
23005
|
+
"text": "Vector3",
|
23006
|
+
"canonicalReference": "server!Vector3:interface"
|
23007
|
+
},
|
23008
|
+
{
|
23009
|
+
"kind": "Content",
|
23010
|
+
"text": ") => void"
|
23011
|
+
},
|
23012
|
+
{
|
23013
|
+
"kind": "Content",
|
23014
|
+
"text": ";"
|
23015
|
+
}
|
23016
|
+
],
|
23017
|
+
"fileUrlPath": "src/world/entities/controllers/SimpleCharacterController.ts",
|
23018
|
+
"releaseTag": "Public",
|
23019
|
+
"name": "MoveCompleteCallback",
|
23020
|
+
"typeTokenRange": {
|
23021
|
+
"startIndex": 1,
|
23022
|
+
"endIndex": 4
|
23023
|
+
}
|
23024
|
+
},
|
23025
|
+
{
|
23026
|
+
"kind": "TypeAlias",
|
23027
|
+
"canonicalReference": "server!HYTOPIA.MoveOptions:type",
|
23028
|
+
"docComment": "/**\n * Options for the {@link SimpleCharacterController.move} method.\n *\n * @public\n */\n",
|
23029
|
+
"excerptTokens": [
|
23030
|
+
{
|
23031
|
+
"kind": "Content",
|
23032
|
+
"text": "export type MoveOptions = "
|
23033
|
+
},
|
23034
|
+
{
|
23035
|
+
"kind": "Content",
|
23036
|
+
"text": "{\n moveCallback?: "
|
23037
|
+
},
|
23038
|
+
{
|
23039
|
+
"kind": "Reference",
|
23040
|
+
"text": "MoveCallback",
|
23041
|
+
"canonicalReference": "server!MoveCallback:type"
|
23042
|
+
},
|
23043
|
+
{
|
23044
|
+
"kind": "Content",
|
23045
|
+
"text": ";\n moveCompleteCallback?: "
|
23046
|
+
},
|
23047
|
+
{
|
23048
|
+
"kind": "Reference",
|
23049
|
+
"text": "MoveCompleteCallback",
|
23050
|
+
"canonicalReference": "server!MoveCompleteCallback:type"
|
23051
|
+
},
|
23052
|
+
{
|
23053
|
+
"kind": "Content",
|
23054
|
+
"text": ";\n}"
|
23055
|
+
},
|
23056
|
+
{
|
23057
|
+
"kind": "Content",
|
23058
|
+
"text": ";"
|
23059
|
+
}
|
23060
|
+
],
|
23061
|
+
"fileUrlPath": "src/world/entities/controllers/SimpleCharacterController.ts",
|
23062
|
+
"releaseTag": "Public",
|
23063
|
+
"name": "MoveOptions",
|
23064
|
+
"typeTokenRange": {
|
23065
|
+
"startIndex": 1,
|
23066
|
+
"endIndex": 6
|
23067
|
+
}
|
23068
|
+
},
|
22882
23069
|
{
|
22883
23070
|
"kind": "Class",
|
22884
23071
|
"canonicalReference": "server!HYTOPIA.Player:class",
|
@@ -28070,6 +28257,202 @@
|
|
28070
28257
|
],
|
28071
28258
|
"extendsTokenRanges": []
|
28072
28259
|
},
|
28260
|
+
{
|
28261
|
+
"kind": "Class",
|
28262
|
+
"canonicalReference": "server!HYTOPIA.SimpleCharacterController:class",
|
28263
|
+
"docComment": "/**\n * A simple character controller with basic movement functions.\n *\n * @remarks\n *\n * This class implements simple movement methods that serve as a way to add realistic movement and rotational facing functionality to an entity. This is also a great base to extend for your own more complex character controller that implements things like pathfinding.\n *\n * @example\n * ```typescript\n * // Create a custom character controller for myEntity, prior to spawning it.\n * myEntity.createCustomCharacterController = () => {\n * return new SimpleCharacterController(myEntity);\n * };\n *\n * // Spawn the entity in the world.\n * myEntity.spawn(world, { x: 53, y: 10, z: 23 });\n *\n * // Move the entity at a speed of 4 blocks\n * // per second to the coordinate (10, 1, 10).\n * // console.log when we reach the target.\n * myEntity.characterController.move({ x: 10, y: 1, z: 10 }, 4, {\n * moveCompleteCallback: endPosition => {\n * console.log('Finished moving to', endPosition);\n * },\n * });\n * ```\n *\n * @public\n */\n",
|
28264
|
+
"excerptTokens": [
|
28265
|
+
{
|
28266
|
+
"kind": "Content",
|
28267
|
+
"text": "export default class SimpleCharacterController extends "
|
28268
|
+
},
|
28269
|
+
{
|
28270
|
+
"kind": "Reference",
|
28271
|
+
"text": "BaseCharacterController",
|
28272
|
+
"canonicalReference": "server!BaseCharacterController:class"
|
28273
|
+
},
|
28274
|
+
{
|
28275
|
+
"kind": "Content",
|
28276
|
+
"text": " "
|
28277
|
+
}
|
28278
|
+
],
|
28279
|
+
"fileUrlPath": "src/world/entities/controllers/SimpleCharacterController.ts",
|
28280
|
+
"releaseTag": "Public",
|
28281
|
+
"isAbstract": false,
|
28282
|
+
"name": "SimpleCharacterController",
|
28283
|
+
"preserveMemberOrder": false,
|
28284
|
+
"members": [
|
28285
|
+
{
|
28286
|
+
"kind": "Method",
|
28287
|
+
"canonicalReference": "server!HYTOPIA.SimpleCharacterController#face:member(1)",
|
28288
|
+
"docComment": "/**\n * Rotates the entity at a given speed to face a target coordinate.\n *\n * @remarks\n *\n * If this method is called while the entity is already attempting to face another target, the previous target will be ignored and the entity will start attempting to face the new target.\n *\n * @param target - The target coordinate to face.\n *\n * @param speed - The speed at which to rotate to the target coordinate.\n *\n * @param options - Additional options for the face operation, such as callbacks.\n */\n",
|
28289
|
+
"excerptTokens": [
|
28290
|
+
{
|
28291
|
+
"kind": "Content",
|
28292
|
+
"text": "face(target: "
|
28293
|
+
},
|
28294
|
+
{
|
28295
|
+
"kind": "Reference",
|
28296
|
+
"text": "Vector3",
|
28297
|
+
"canonicalReference": "server!Vector3:interface"
|
28298
|
+
},
|
28299
|
+
{
|
28300
|
+
"kind": "Content",
|
28301
|
+
"text": ", speed: "
|
28302
|
+
},
|
28303
|
+
{
|
28304
|
+
"kind": "Content",
|
28305
|
+
"text": "number"
|
28306
|
+
},
|
28307
|
+
{
|
28308
|
+
"kind": "Content",
|
28309
|
+
"text": ", options?: "
|
28310
|
+
},
|
28311
|
+
{
|
28312
|
+
"kind": "Reference",
|
28313
|
+
"text": "FaceOptions",
|
28314
|
+
"canonicalReference": "server!FaceOptions:type"
|
28315
|
+
},
|
28316
|
+
{
|
28317
|
+
"kind": "Content",
|
28318
|
+
"text": "): "
|
28319
|
+
},
|
28320
|
+
{
|
28321
|
+
"kind": "Content",
|
28322
|
+
"text": "void"
|
28323
|
+
},
|
28324
|
+
{
|
28325
|
+
"kind": "Content",
|
28326
|
+
"text": ";"
|
28327
|
+
}
|
28328
|
+
],
|
28329
|
+
"isStatic": false,
|
28330
|
+
"returnTypeTokenRange": {
|
28331
|
+
"startIndex": 7,
|
28332
|
+
"endIndex": 8
|
28333
|
+
},
|
28334
|
+
"releaseTag": "Public",
|
28335
|
+
"isProtected": false,
|
28336
|
+
"overloadIndex": 1,
|
28337
|
+
"parameters": [
|
28338
|
+
{
|
28339
|
+
"parameterName": "target",
|
28340
|
+
"parameterTypeTokenRange": {
|
28341
|
+
"startIndex": 1,
|
28342
|
+
"endIndex": 2
|
28343
|
+
},
|
28344
|
+
"isOptional": false
|
28345
|
+
},
|
28346
|
+
{
|
28347
|
+
"parameterName": "speed",
|
28348
|
+
"parameterTypeTokenRange": {
|
28349
|
+
"startIndex": 3,
|
28350
|
+
"endIndex": 4
|
28351
|
+
},
|
28352
|
+
"isOptional": false
|
28353
|
+
},
|
28354
|
+
{
|
28355
|
+
"parameterName": "options",
|
28356
|
+
"parameterTypeTokenRange": {
|
28357
|
+
"startIndex": 5,
|
28358
|
+
"endIndex": 6
|
28359
|
+
},
|
28360
|
+
"isOptional": true
|
28361
|
+
}
|
28362
|
+
],
|
28363
|
+
"isOptional": false,
|
28364
|
+
"isAbstract": false,
|
28365
|
+
"name": "face"
|
28366
|
+
},
|
28367
|
+
{
|
28368
|
+
"kind": "Method",
|
28369
|
+
"canonicalReference": "server!HYTOPIA.SimpleCharacterController#move:member(1)",
|
28370
|
+
"docComment": "/**\n * Moves the entity at a given speed in a straight line to a target coordinate.\n *\n * @remarks\n *\n * If this method is called while the entity is already attempting to move to another target, the previous target will be ignored and the entity will start attempting to move to the new target.\n *\n * @param target - The target coordinate to move to.\n *\n * @param speed - The speed at which to move to the target coordinate.\n *\n * @param options - Additional options for the move operation, such as callbacks.\n */\n",
|
28371
|
+
"excerptTokens": [
|
28372
|
+
{
|
28373
|
+
"kind": "Content",
|
28374
|
+
"text": "move(target: "
|
28375
|
+
},
|
28376
|
+
{
|
28377
|
+
"kind": "Reference",
|
28378
|
+
"text": "Vector3",
|
28379
|
+
"canonicalReference": "server!Vector3:interface"
|
28380
|
+
},
|
28381
|
+
{
|
28382
|
+
"kind": "Content",
|
28383
|
+
"text": ", speed: "
|
28384
|
+
},
|
28385
|
+
{
|
28386
|
+
"kind": "Content",
|
28387
|
+
"text": "number"
|
28388
|
+
},
|
28389
|
+
{
|
28390
|
+
"kind": "Content",
|
28391
|
+
"text": ", options?: "
|
28392
|
+
},
|
28393
|
+
{
|
28394
|
+
"kind": "Reference",
|
28395
|
+
"text": "MoveOptions",
|
28396
|
+
"canonicalReference": "server!MoveOptions:type"
|
28397
|
+
},
|
28398
|
+
{
|
28399
|
+
"kind": "Content",
|
28400
|
+
"text": "): "
|
28401
|
+
},
|
28402
|
+
{
|
28403
|
+
"kind": "Content",
|
28404
|
+
"text": "void"
|
28405
|
+
},
|
28406
|
+
{
|
28407
|
+
"kind": "Content",
|
28408
|
+
"text": ";"
|
28409
|
+
}
|
28410
|
+
],
|
28411
|
+
"isStatic": false,
|
28412
|
+
"returnTypeTokenRange": {
|
28413
|
+
"startIndex": 7,
|
28414
|
+
"endIndex": 8
|
28415
|
+
},
|
28416
|
+
"releaseTag": "Public",
|
28417
|
+
"isProtected": false,
|
28418
|
+
"overloadIndex": 1,
|
28419
|
+
"parameters": [
|
28420
|
+
{
|
28421
|
+
"parameterName": "target",
|
28422
|
+
"parameterTypeTokenRange": {
|
28423
|
+
"startIndex": 1,
|
28424
|
+
"endIndex": 2
|
28425
|
+
},
|
28426
|
+
"isOptional": false
|
28427
|
+
},
|
28428
|
+
{
|
28429
|
+
"parameterName": "speed",
|
28430
|
+
"parameterTypeTokenRange": {
|
28431
|
+
"startIndex": 3,
|
28432
|
+
"endIndex": 4
|
28433
|
+
},
|
28434
|
+
"isOptional": false
|
28435
|
+
},
|
28436
|
+
{
|
28437
|
+
"parameterName": "options",
|
28438
|
+
"parameterTypeTokenRange": {
|
28439
|
+
"startIndex": 5,
|
28440
|
+
"endIndex": 6
|
28441
|
+
},
|
28442
|
+
"isOptional": true
|
28443
|
+
}
|
28444
|
+
],
|
28445
|
+
"isOptional": false,
|
28446
|
+
"isAbstract": false,
|
28447
|
+
"name": "move"
|
28448
|
+
}
|
28449
|
+
],
|
28450
|
+
"extendsTokenRange": {
|
28451
|
+
"startIndex": 1,
|
28452
|
+
"endIndex": 2
|
28453
|
+
},
|
28454
|
+
"implementsTokenRanges": []
|
28455
|
+
},
|
28073
28456
|
{
|
28074
28457
|
"kind": "Class",
|
28075
28458
|
"canonicalReference": "server!HYTOPIA.Simulation:class",
|
@@ -29443,6 +29826,452 @@
|
|
29443
29826
|
],
|
29444
29827
|
"implementsTokenRanges": []
|
29445
29828
|
},
|
29829
|
+
{
|
29830
|
+
"kind": "Namespace",
|
29831
|
+
"canonicalReference": "server!HYTOPIA.WorldLoopEventPayload:namespace",
|
29832
|
+
"docComment": "/**\n * Payloads for events emitted by a WorldLoop instance.\n *\n * @public\n */\n",
|
29833
|
+
"excerptTokens": [
|
29834
|
+
{
|
29835
|
+
"kind": "Content",
|
29836
|
+
"text": "export declare namespace WorldLoopEventPayload "
|
29837
|
+
}
|
29838
|
+
],
|
29839
|
+
"fileUrlPath": "src/world/WorldLoop.ts",
|
29840
|
+
"releaseTag": "Public",
|
29841
|
+
"name": "WorldLoopEventPayload",
|
29842
|
+
"preserveMemberOrder": false,
|
29843
|
+
"members": [
|
29844
|
+
{
|
29845
|
+
"kind": "Interface",
|
29846
|
+
"canonicalReference": "server!HYTOPIA.WorldLoopEventPayload.Start:interface",
|
29847
|
+
"docComment": "",
|
29848
|
+
"excerptTokens": [
|
29849
|
+
{
|
29850
|
+
"kind": "Content",
|
29851
|
+
"text": "interface Start "
|
29852
|
+
}
|
29853
|
+
],
|
29854
|
+
"releaseTag": "Public",
|
29855
|
+
"name": "Start",
|
29856
|
+
"preserveMemberOrder": false,
|
29857
|
+
"members": [
|
29858
|
+
{
|
29859
|
+
"kind": "PropertySignature",
|
29860
|
+
"canonicalReference": "server!HYTOPIA.WorldLoopEventPayload.Start#worldLoop:member",
|
29861
|
+
"docComment": "",
|
29862
|
+
"excerptTokens": [
|
29863
|
+
{
|
29864
|
+
"kind": "Content",
|
29865
|
+
"text": "worldLoop: "
|
29866
|
+
},
|
29867
|
+
{
|
29868
|
+
"kind": "Reference",
|
29869
|
+
"text": "WorldLoop",
|
29870
|
+
"canonicalReference": "server!WorldLoop:class"
|
29871
|
+
},
|
29872
|
+
{
|
29873
|
+
"kind": "Content",
|
29874
|
+
"text": ";"
|
29875
|
+
}
|
29876
|
+
],
|
29877
|
+
"isReadonly": false,
|
29878
|
+
"isOptional": false,
|
29879
|
+
"releaseTag": "Public",
|
29880
|
+
"name": "worldLoop",
|
29881
|
+
"propertyTypeTokenRange": {
|
29882
|
+
"startIndex": 1,
|
29883
|
+
"endIndex": 2
|
29884
|
+
}
|
29885
|
+
}
|
29886
|
+
],
|
29887
|
+
"extendsTokenRanges": []
|
29888
|
+
},
|
29889
|
+
{
|
29890
|
+
"kind": "Interface",
|
29891
|
+
"canonicalReference": "server!HYTOPIA.WorldLoopEventPayload.Stop:interface",
|
29892
|
+
"docComment": "",
|
29893
|
+
"excerptTokens": [
|
29894
|
+
{
|
29895
|
+
"kind": "Content",
|
29896
|
+
"text": "interface Stop "
|
29897
|
+
}
|
29898
|
+
],
|
29899
|
+
"releaseTag": "Public",
|
29900
|
+
"name": "Stop",
|
29901
|
+
"preserveMemberOrder": false,
|
29902
|
+
"members": [
|
29903
|
+
{
|
29904
|
+
"kind": "PropertySignature",
|
29905
|
+
"canonicalReference": "server!HYTOPIA.WorldLoopEventPayload.Stop#worldLoop:member",
|
29906
|
+
"docComment": "",
|
29907
|
+
"excerptTokens": [
|
29908
|
+
{
|
29909
|
+
"kind": "Content",
|
29910
|
+
"text": "worldLoop: "
|
29911
|
+
},
|
29912
|
+
{
|
29913
|
+
"kind": "Reference",
|
29914
|
+
"text": "WorldLoop",
|
29915
|
+
"canonicalReference": "server!WorldLoop:class"
|
29916
|
+
},
|
29917
|
+
{
|
29918
|
+
"kind": "Content",
|
29919
|
+
"text": ";"
|
29920
|
+
}
|
29921
|
+
],
|
29922
|
+
"isReadonly": false,
|
29923
|
+
"isOptional": false,
|
29924
|
+
"releaseTag": "Public",
|
29925
|
+
"name": "worldLoop",
|
29926
|
+
"propertyTypeTokenRange": {
|
29927
|
+
"startIndex": 1,
|
29928
|
+
"endIndex": 2
|
29929
|
+
}
|
29930
|
+
}
|
29931
|
+
],
|
29932
|
+
"extendsTokenRanges": []
|
29933
|
+
},
|
29934
|
+
{
|
29935
|
+
"kind": "Interface",
|
29936
|
+
"canonicalReference": "server!HYTOPIA.WorldLoopEventPayload.TickEnd:interface",
|
29937
|
+
"docComment": "",
|
29938
|
+
"excerptTokens": [
|
29939
|
+
{
|
29940
|
+
"kind": "Content",
|
29941
|
+
"text": "interface TickEnd "
|
29942
|
+
}
|
29943
|
+
],
|
29944
|
+
"releaseTag": "Public",
|
29945
|
+
"name": "TickEnd",
|
29946
|
+
"preserveMemberOrder": false,
|
29947
|
+
"members": [
|
29948
|
+
{
|
29949
|
+
"kind": "PropertySignature",
|
29950
|
+
"canonicalReference": "server!HYTOPIA.WorldLoopEventPayload.TickEnd#tickDurationMs:member",
|
29951
|
+
"docComment": "",
|
29952
|
+
"excerptTokens": [
|
29953
|
+
{
|
29954
|
+
"kind": "Content",
|
29955
|
+
"text": "tickDurationMs: "
|
29956
|
+
},
|
29957
|
+
{
|
29958
|
+
"kind": "Content",
|
29959
|
+
"text": "number"
|
29960
|
+
},
|
29961
|
+
{
|
29962
|
+
"kind": "Content",
|
29963
|
+
"text": ";"
|
29964
|
+
}
|
29965
|
+
],
|
29966
|
+
"isReadonly": false,
|
29967
|
+
"isOptional": false,
|
29968
|
+
"releaseTag": "Public",
|
29969
|
+
"name": "tickDurationMs",
|
29970
|
+
"propertyTypeTokenRange": {
|
29971
|
+
"startIndex": 1,
|
29972
|
+
"endIndex": 2
|
29973
|
+
}
|
29974
|
+
},
|
29975
|
+
{
|
29976
|
+
"kind": "PropertySignature",
|
29977
|
+
"canonicalReference": "server!HYTOPIA.WorldLoopEventPayload.TickEnd#worldLoop:member",
|
29978
|
+
"docComment": "",
|
29979
|
+
"excerptTokens": [
|
29980
|
+
{
|
29981
|
+
"kind": "Content",
|
29982
|
+
"text": "worldLoop: "
|
29983
|
+
},
|
29984
|
+
{
|
29985
|
+
"kind": "Reference",
|
29986
|
+
"text": "WorldLoop",
|
29987
|
+
"canonicalReference": "server!WorldLoop:class"
|
29988
|
+
},
|
29989
|
+
{
|
29990
|
+
"kind": "Content",
|
29991
|
+
"text": ";"
|
29992
|
+
}
|
29993
|
+
],
|
29994
|
+
"isReadonly": false,
|
29995
|
+
"isOptional": false,
|
29996
|
+
"releaseTag": "Public",
|
29997
|
+
"name": "worldLoop",
|
29998
|
+
"propertyTypeTokenRange": {
|
29999
|
+
"startIndex": 1,
|
30000
|
+
"endIndex": 2
|
30001
|
+
}
|
30002
|
+
}
|
30003
|
+
],
|
30004
|
+
"extendsTokenRanges": []
|
30005
|
+
},
|
30006
|
+
{
|
30007
|
+
"kind": "Interface",
|
30008
|
+
"canonicalReference": "server!HYTOPIA.WorldLoopEventPayload.TickError:interface",
|
30009
|
+
"docComment": "",
|
30010
|
+
"excerptTokens": [
|
30011
|
+
{
|
30012
|
+
"kind": "Content",
|
30013
|
+
"text": "interface TickError "
|
30014
|
+
}
|
30015
|
+
],
|
30016
|
+
"releaseTag": "Public",
|
30017
|
+
"name": "TickError",
|
30018
|
+
"preserveMemberOrder": false,
|
30019
|
+
"members": [
|
30020
|
+
{
|
30021
|
+
"kind": "PropertySignature",
|
30022
|
+
"canonicalReference": "server!HYTOPIA.WorldLoopEventPayload.TickError#error:member",
|
30023
|
+
"docComment": "",
|
30024
|
+
"excerptTokens": [
|
30025
|
+
{
|
30026
|
+
"kind": "Content",
|
30027
|
+
"text": "error: "
|
30028
|
+
},
|
30029
|
+
{
|
30030
|
+
"kind": "Reference",
|
30031
|
+
"text": "Error",
|
30032
|
+
"canonicalReference": "!Error:interface"
|
30033
|
+
},
|
30034
|
+
{
|
30035
|
+
"kind": "Content",
|
30036
|
+
"text": ";"
|
30037
|
+
}
|
30038
|
+
],
|
30039
|
+
"isReadonly": false,
|
30040
|
+
"isOptional": false,
|
30041
|
+
"releaseTag": "Public",
|
30042
|
+
"name": "error",
|
30043
|
+
"propertyTypeTokenRange": {
|
30044
|
+
"startIndex": 1,
|
30045
|
+
"endIndex": 2
|
30046
|
+
}
|
30047
|
+
},
|
30048
|
+
{
|
30049
|
+
"kind": "PropertySignature",
|
30050
|
+
"canonicalReference": "server!HYTOPIA.WorldLoopEventPayload.TickError#worldLoop:member",
|
30051
|
+
"docComment": "",
|
30052
|
+
"excerptTokens": [
|
30053
|
+
{
|
30054
|
+
"kind": "Content",
|
30055
|
+
"text": "worldLoop: "
|
30056
|
+
},
|
30057
|
+
{
|
30058
|
+
"kind": "Reference",
|
30059
|
+
"text": "WorldLoop",
|
30060
|
+
"canonicalReference": "server!WorldLoop:class"
|
30061
|
+
},
|
30062
|
+
{
|
30063
|
+
"kind": "Content",
|
30064
|
+
"text": ";"
|
30065
|
+
}
|
30066
|
+
],
|
30067
|
+
"isReadonly": false,
|
30068
|
+
"isOptional": false,
|
30069
|
+
"releaseTag": "Public",
|
30070
|
+
"name": "worldLoop",
|
30071
|
+
"propertyTypeTokenRange": {
|
30072
|
+
"startIndex": 1,
|
30073
|
+
"endIndex": 2
|
30074
|
+
}
|
30075
|
+
}
|
30076
|
+
],
|
30077
|
+
"extendsTokenRanges": []
|
30078
|
+
},
|
30079
|
+
{
|
30080
|
+
"kind": "Interface",
|
30081
|
+
"canonicalReference": "server!HYTOPIA.WorldLoopEventPayload.TickStart:interface",
|
30082
|
+
"docComment": "",
|
30083
|
+
"excerptTokens": [
|
30084
|
+
{
|
30085
|
+
"kind": "Content",
|
30086
|
+
"text": "interface TickStart "
|
30087
|
+
}
|
30088
|
+
],
|
30089
|
+
"releaseTag": "Public",
|
30090
|
+
"name": "TickStart",
|
30091
|
+
"preserveMemberOrder": false,
|
30092
|
+
"members": [
|
30093
|
+
{
|
30094
|
+
"kind": "PropertySignature",
|
30095
|
+
"canonicalReference": "server!HYTOPIA.WorldLoopEventPayload.TickStart#tickDeltaMs:member",
|
30096
|
+
"docComment": "",
|
30097
|
+
"excerptTokens": [
|
30098
|
+
{
|
30099
|
+
"kind": "Content",
|
30100
|
+
"text": "tickDeltaMs: "
|
30101
|
+
},
|
30102
|
+
{
|
30103
|
+
"kind": "Content",
|
30104
|
+
"text": "number"
|
30105
|
+
},
|
30106
|
+
{
|
30107
|
+
"kind": "Content",
|
30108
|
+
"text": ";"
|
30109
|
+
}
|
30110
|
+
],
|
30111
|
+
"isReadonly": false,
|
30112
|
+
"isOptional": false,
|
30113
|
+
"releaseTag": "Public",
|
30114
|
+
"name": "tickDeltaMs",
|
30115
|
+
"propertyTypeTokenRange": {
|
30116
|
+
"startIndex": 1,
|
30117
|
+
"endIndex": 2
|
30118
|
+
}
|
30119
|
+
},
|
30120
|
+
{
|
30121
|
+
"kind": "PropertySignature",
|
30122
|
+
"canonicalReference": "server!HYTOPIA.WorldLoopEventPayload.TickStart#worldLoop:member",
|
30123
|
+
"docComment": "",
|
30124
|
+
"excerptTokens": [
|
30125
|
+
{
|
30126
|
+
"kind": "Content",
|
30127
|
+
"text": "worldLoop: "
|
30128
|
+
},
|
30129
|
+
{
|
30130
|
+
"kind": "Reference",
|
30131
|
+
"text": "WorldLoop",
|
30132
|
+
"canonicalReference": "server!WorldLoop:class"
|
30133
|
+
},
|
30134
|
+
{
|
30135
|
+
"kind": "Content",
|
30136
|
+
"text": ";"
|
30137
|
+
}
|
30138
|
+
],
|
30139
|
+
"isReadonly": false,
|
30140
|
+
"isOptional": false,
|
30141
|
+
"releaseTag": "Public",
|
30142
|
+
"name": "worldLoop",
|
30143
|
+
"propertyTypeTokenRange": {
|
30144
|
+
"startIndex": 1,
|
30145
|
+
"endIndex": 2
|
30146
|
+
}
|
30147
|
+
}
|
30148
|
+
],
|
30149
|
+
"extendsTokenRanges": []
|
30150
|
+
}
|
30151
|
+
]
|
30152
|
+
},
|
30153
|
+
{
|
30154
|
+
"kind": "Enum",
|
30155
|
+
"canonicalReference": "server!HYTOPIA.WorldLoopEventType:enum",
|
30156
|
+
"docComment": "/**\n * Event types a WorldLoop instance can emit.\n *\n * @public\n */\n",
|
30157
|
+
"excerptTokens": [
|
30158
|
+
{
|
30159
|
+
"kind": "Content",
|
30160
|
+
"text": "export declare enum WorldLoopEventType "
|
30161
|
+
}
|
30162
|
+
],
|
30163
|
+
"fileUrlPath": "src/world/WorldLoop.ts",
|
30164
|
+
"releaseTag": "Public",
|
30165
|
+
"name": "WorldLoopEventType",
|
30166
|
+
"preserveMemberOrder": false,
|
30167
|
+
"members": [
|
30168
|
+
{
|
30169
|
+
"kind": "EnumMember",
|
30170
|
+
"canonicalReference": "server!HYTOPIA.WorldLoopEventType.START:member",
|
30171
|
+
"docComment": "",
|
30172
|
+
"excerptTokens": [
|
30173
|
+
{
|
30174
|
+
"kind": "Content",
|
30175
|
+
"text": "START = "
|
30176
|
+
},
|
30177
|
+
{
|
30178
|
+
"kind": "Content",
|
30179
|
+
"text": "\"WORLD_LOOP.START\""
|
30180
|
+
}
|
30181
|
+
],
|
30182
|
+
"initializerTokenRange": {
|
30183
|
+
"startIndex": 1,
|
30184
|
+
"endIndex": 2
|
30185
|
+
},
|
30186
|
+
"releaseTag": "Public",
|
30187
|
+
"name": "START"
|
30188
|
+
},
|
30189
|
+
{
|
30190
|
+
"kind": "EnumMember",
|
30191
|
+
"canonicalReference": "server!HYTOPIA.WorldLoopEventType.STOP:member",
|
30192
|
+
"docComment": "",
|
30193
|
+
"excerptTokens": [
|
30194
|
+
{
|
30195
|
+
"kind": "Content",
|
30196
|
+
"text": "STOP = "
|
30197
|
+
},
|
30198
|
+
{
|
30199
|
+
"kind": "Content",
|
30200
|
+
"text": "\"WORLD_LOOP.STOP\""
|
30201
|
+
}
|
30202
|
+
],
|
30203
|
+
"initializerTokenRange": {
|
30204
|
+
"startIndex": 1,
|
30205
|
+
"endIndex": 2
|
30206
|
+
},
|
30207
|
+
"releaseTag": "Public",
|
30208
|
+
"name": "STOP"
|
30209
|
+
},
|
30210
|
+
{
|
30211
|
+
"kind": "EnumMember",
|
30212
|
+
"canonicalReference": "server!HYTOPIA.WorldLoopEventType.TICK_END:member",
|
30213
|
+
"docComment": "",
|
30214
|
+
"excerptTokens": [
|
30215
|
+
{
|
30216
|
+
"kind": "Content",
|
30217
|
+
"text": "TICK_END = "
|
30218
|
+
},
|
30219
|
+
{
|
30220
|
+
"kind": "Content",
|
30221
|
+
"text": "\"WORLD_LOOP.TICK_END\""
|
30222
|
+
}
|
30223
|
+
],
|
30224
|
+
"initializerTokenRange": {
|
30225
|
+
"startIndex": 1,
|
30226
|
+
"endIndex": 2
|
30227
|
+
},
|
30228
|
+
"releaseTag": "Public",
|
30229
|
+
"name": "TICK_END"
|
30230
|
+
},
|
30231
|
+
{
|
30232
|
+
"kind": "EnumMember",
|
30233
|
+
"canonicalReference": "server!HYTOPIA.WorldLoopEventType.TICK_ERROR:member",
|
30234
|
+
"docComment": "",
|
30235
|
+
"excerptTokens": [
|
30236
|
+
{
|
30237
|
+
"kind": "Content",
|
30238
|
+
"text": "TICK_ERROR = "
|
30239
|
+
},
|
30240
|
+
{
|
30241
|
+
"kind": "Content",
|
30242
|
+
"text": "\"WORLD_LOOP.TICK_ERROR\""
|
30243
|
+
}
|
30244
|
+
],
|
30245
|
+
"initializerTokenRange": {
|
30246
|
+
"startIndex": 1,
|
30247
|
+
"endIndex": 2
|
30248
|
+
},
|
30249
|
+
"releaseTag": "Public",
|
30250
|
+
"name": "TICK_ERROR"
|
30251
|
+
},
|
30252
|
+
{
|
30253
|
+
"kind": "EnumMember",
|
30254
|
+
"canonicalReference": "server!HYTOPIA.WorldLoopEventType.TICK_START:member",
|
30255
|
+
"docComment": "",
|
30256
|
+
"excerptTokens": [
|
30257
|
+
{
|
30258
|
+
"kind": "Content",
|
30259
|
+
"text": "TICK_START = "
|
30260
|
+
},
|
30261
|
+
{
|
30262
|
+
"kind": "Content",
|
30263
|
+
"text": "\"WORLD_LOOP.TICK_START\""
|
30264
|
+
}
|
30265
|
+
],
|
30266
|
+
"initializerTokenRange": {
|
30267
|
+
"startIndex": 1,
|
30268
|
+
"endIndex": 2
|
30269
|
+
},
|
30270
|
+
"releaseTag": "Public",
|
30271
|
+
"name": "TICK_START"
|
30272
|
+
}
|
30273
|
+
]
|
30274
|
+
},
|
29446
30275
|
{
|
29447
30276
|
"kind": "Interface",
|
29448
30277
|
"canonicalReference": "server!HYTOPIA.WorldMap:interface",
|
@@ -29671,6 +30500,129 @@
|
|
29671
30500
|
}
|
29672
30501
|
]
|
29673
30502
|
},
|
30503
|
+
{
|
30504
|
+
"kind": "TypeAlias",
|
30505
|
+
"canonicalReference": "server!MoveCallback:type",
|
30506
|
+
"docComment": "/**\n * A callback function called when the entity associated with the SimpleCharacterController updates its translation as it is attempting to move to a target coordinate.\n *\n * @param currentTranslation - The current translation of the entity.\n *\n * @param targetTranslation - The target translation of the entity.\n *\n * @public\n */\n",
|
30507
|
+
"excerptTokens": [
|
30508
|
+
{
|
30509
|
+
"kind": "Content",
|
30510
|
+
"text": "export type MoveCallback = "
|
30511
|
+
},
|
30512
|
+
{
|
30513
|
+
"kind": "Content",
|
30514
|
+
"text": "(currentTranslation: "
|
30515
|
+
},
|
30516
|
+
{
|
30517
|
+
"kind": "Reference",
|
30518
|
+
"text": "Vector3",
|
30519
|
+
"canonicalReference": "server!Vector3:interface"
|
30520
|
+
},
|
30521
|
+
{
|
30522
|
+
"kind": "Content",
|
30523
|
+
"text": ", targetTranslation: "
|
30524
|
+
},
|
30525
|
+
{
|
30526
|
+
"kind": "Reference",
|
30527
|
+
"text": "Vector3",
|
30528
|
+
"canonicalReference": "server!Vector3:interface"
|
30529
|
+
},
|
30530
|
+
{
|
30531
|
+
"kind": "Content",
|
30532
|
+
"text": ") => void"
|
30533
|
+
},
|
30534
|
+
{
|
30535
|
+
"kind": "Content",
|
30536
|
+
"text": ";"
|
30537
|
+
}
|
30538
|
+
],
|
30539
|
+
"fileUrlPath": "src/world/entities/controllers/SimpleCharacterController.ts",
|
30540
|
+
"releaseTag": "Public",
|
30541
|
+
"name": "MoveCallback",
|
30542
|
+
"typeTokenRange": {
|
30543
|
+
"startIndex": 1,
|
30544
|
+
"endIndex": 6
|
30545
|
+
}
|
30546
|
+
},
|
30547
|
+
{
|
30548
|
+
"kind": "TypeAlias",
|
30549
|
+
"canonicalReference": "server!MoveCompleteCallback:type",
|
30550
|
+
"docComment": "/**\n * A callback function called when the entity associated with the SimpleCharacterController reaches the target coordinate. An entity must reach the x,y,z coordinate for the callback to be called.\n *\n * @param endTranslation - The translation of the entity after it has finished moving.\n *\n * @public\n */\n",
|
30551
|
+
"excerptTokens": [
|
30552
|
+
{
|
30553
|
+
"kind": "Content",
|
30554
|
+
"text": "export type MoveCompleteCallback = "
|
30555
|
+
},
|
30556
|
+
{
|
30557
|
+
"kind": "Content",
|
30558
|
+
"text": "(endTranslation: "
|
30559
|
+
},
|
30560
|
+
{
|
30561
|
+
"kind": "Reference",
|
30562
|
+
"text": "Vector3",
|
30563
|
+
"canonicalReference": "server!Vector3:interface"
|
30564
|
+
},
|
30565
|
+
{
|
30566
|
+
"kind": "Content",
|
30567
|
+
"text": ") => void"
|
30568
|
+
},
|
30569
|
+
{
|
30570
|
+
"kind": "Content",
|
30571
|
+
"text": ";"
|
30572
|
+
}
|
30573
|
+
],
|
30574
|
+
"fileUrlPath": "src/world/entities/controllers/SimpleCharacterController.ts",
|
30575
|
+
"releaseTag": "Public",
|
30576
|
+
"name": "MoveCompleteCallback",
|
30577
|
+
"typeTokenRange": {
|
30578
|
+
"startIndex": 1,
|
30579
|
+
"endIndex": 4
|
30580
|
+
}
|
30581
|
+
},
|
30582
|
+
{
|
30583
|
+
"kind": "TypeAlias",
|
30584
|
+
"canonicalReference": "server!MoveOptions:type",
|
30585
|
+
"docComment": "/**\n * Options for the {@link SimpleCharacterController.move} method.\n *\n * @public\n */\n",
|
30586
|
+
"excerptTokens": [
|
30587
|
+
{
|
30588
|
+
"kind": "Content",
|
30589
|
+
"text": "export type MoveOptions = "
|
30590
|
+
},
|
30591
|
+
{
|
30592
|
+
"kind": "Content",
|
30593
|
+
"text": "{\n moveCallback?: "
|
30594
|
+
},
|
30595
|
+
{
|
30596
|
+
"kind": "Reference",
|
30597
|
+
"text": "MoveCallback",
|
30598
|
+
"canonicalReference": "server!MoveCallback:type"
|
30599
|
+
},
|
30600
|
+
{
|
30601
|
+
"kind": "Content",
|
30602
|
+
"text": ";\n moveCompleteCallback?: "
|
30603
|
+
},
|
30604
|
+
{
|
30605
|
+
"kind": "Reference",
|
30606
|
+
"text": "MoveCompleteCallback",
|
30607
|
+
"canonicalReference": "server!MoveCompleteCallback:type"
|
30608
|
+
},
|
30609
|
+
{
|
30610
|
+
"kind": "Content",
|
30611
|
+
"text": ";\n}"
|
30612
|
+
},
|
30613
|
+
{
|
30614
|
+
"kind": "Content",
|
30615
|
+
"text": ";"
|
30616
|
+
}
|
30617
|
+
],
|
30618
|
+
"fileUrlPath": "src/world/entities/controllers/SimpleCharacterController.ts",
|
30619
|
+
"releaseTag": "Public",
|
30620
|
+
"name": "MoveOptions",
|
30621
|
+
"typeTokenRange": {
|
30622
|
+
"startIndex": 1,
|
30623
|
+
"endIndex": 6
|
30624
|
+
}
|
30625
|
+
},
|
29674
30626
|
{
|
29675
30627
|
"kind": "Class",
|
29676
30628
|
"canonicalReference": "server!Player:class",
|
@@ -34862,6 +35814,202 @@
|
|
34862
35814
|
],
|
34863
35815
|
"extendsTokenRanges": []
|
34864
35816
|
},
|
35817
|
+
{
|
35818
|
+
"kind": "Class",
|
35819
|
+
"canonicalReference": "server!SimpleCharacterController:class",
|
35820
|
+
"docComment": "/**\n * A simple character controller with basic movement functions.\n *\n * @remarks\n *\n * This class implements simple movement methods that serve as a way to add realistic movement and rotational facing functionality to an entity. This is also a great base to extend for your own more complex character controller that implements things like pathfinding.\n *\n * @example\n * ```typescript\n * // Create a custom character controller for myEntity, prior to spawning it.\n * myEntity.createCustomCharacterController = () => {\n * return new SimpleCharacterController(myEntity);\n * };\n *\n * // Spawn the entity in the world.\n * myEntity.spawn(world, { x: 53, y: 10, z: 23 });\n *\n * // Move the entity at a speed of 4 blocks\n * // per second to the coordinate (10, 1, 10).\n * // console.log when we reach the target.\n * myEntity.characterController.move({ x: 10, y: 1, z: 10 }, 4, {\n * moveCompleteCallback: endPosition => {\n * console.log('Finished moving to', endPosition);\n * },\n * });\n * ```\n *\n * @public\n */\n",
|
35821
|
+
"excerptTokens": [
|
35822
|
+
{
|
35823
|
+
"kind": "Content",
|
35824
|
+
"text": "export default class SimpleCharacterController extends "
|
35825
|
+
},
|
35826
|
+
{
|
35827
|
+
"kind": "Reference",
|
35828
|
+
"text": "BaseCharacterController",
|
35829
|
+
"canonicalReference": "server!BaseCharacterController:class"
|
35830
|
+
},
|
35831
|
+
{
|
35832
|
+
"kind": "Content",
|
35833
|
+
"text": " "
|
35834
|
+
}
|
35835
|
+
],
|
35836
|
+
"fileUrlPath": "src/world/entities/controllers/SimpleCharacterController.ts",
|
35837
|
+
"releaseTag": "Public",
|
35838
|
+
"isAbstract": false,
|
35839
|
+
"name": "SimpleCharacterController",
|
35840
|
+
"preserveMemberOrder": false,
|
35841
|
+
"members": [
|
35842
|
+
{
|
35843
|
+
"kind": "Method",
|
35844
|
+
"canonicalReference": "server!SimpleCharacterController#face:member(1)",
|
35845
|
+
"docComment": "/**\n * Rotates the entity at a given speed to face a target coordinate.\n *\n * @remarks\n *\n * If this method is called while the entity is already attempting to face another target, the previous target will be ignored and the entity will start attempting to face the new target.\n *\n * @param target - The target coordinate to face.\n *\n * @param speed - The speed at which to rotate to the target coordinate.\n *\n * @param options - Additional options for the face operation, such as callbacks.\n */\n",
|
35846
|
+
"excerptTokens": [
|
35847
|
+
{
|
35848
|
+
"kind": "Content",
|
35849
|
+
"text": "face(target: "
|
35850
|
+
},
|
35851
|
+
{
|
35852
|
+
"kind": "Reference",
|
35853
|
+
"text": "Vector3",
|
35854
|
+
"canonicalReference": "server!Vector3:interface"
|
35855
|
+
},
|
35856
|
+
{
|
35857
|
+
"kind": "Content",
|
35858
|
+
"text": ", speed: "
|
35859
|
+
},
|
35860
|
+
{
|
35861
|
+
"kind": "Content",
|
35862
|
+
"text": "number"
|
35863
|
+
},
|
35864
|
+
{
|
35865
|
+
"kind": "Content",
|
35866
|
+
"text": ", options?: "
|
35867
|
+
},
|
35868
|
+
{
|
35869
|
+
"kind": "Reference",
|
35870
|
+
"text": "FaceOptions",
|
35871
|
+
"canonicalReference": "server!FaceOptions:type"
|
35872
|
+
},
|
35873
|
+
{
|
35874
|
+
"kind": "Content",
|
35875
|
+
"text": "): "
|
35876
|
+
},
|
35877
|
+
{
|
35878
|
+
"kind": "Content",
|
35879
|
+
"text": "void"
|
35880
|
+
},
|
35881
|
+
{
|
35882
|
+
"kind": "Content",
|
35883
|
+
"text": ";"
|
35884
|
+
}
|
35885
|
+
],
|
35886
|
+
"isStatic": false,
|
35887
|
+
"returnTypeTokenRange": {
|
35888
|
+
"startIndex": 7,
|
35889
|
+
"endIndex": 8
|
35890
|
+
},
|
35891
|
+
"releaseTag": "Public",
|
35892
|
+
"isProtected": false,
|
35893
|
+
"overloadIndex": 1,
|
35894
|
+
"parameters": [
|
35895
|
+
{
|
35896
|
+
"parameterName": "target",
|
35897
|
+
"parameterTypeTokenRange": {
|
35898
|
+
"startIndex": 1,
|
35899
|
+
"endIndex": 2
|
35900
|
+
},
|
35901
|
+
"isOptional": false
|
35902
|
+
},
|
35903
|
+
{
|
35904
|
+
"parameterName": "speed",
|
35905
|
+
"parameterTypeTokenRange": {
|
35906
|
+
"startIndex": 3,
|
35907
|
+
"endIndex": 4
|
35908
|
+
},
|
35909
|
+
"isOptional": false
|
35910
|
+
},
|
35911
|
+
{
|
35912
|
+
"parameterName": "options",
|
35913
|
+
"parameterTypeTokenRange": {
|
35914
|
+
"startIndex": 5,
|
35915
|
+
"endIndex": 6
|
35916
|
+
},
|
35917
|
+
"isOptional": true
|
35918
|
+
}
|
35919
|
+
],
|
35920
|
+
"isOptional": false,
|
35921
|
+
"isAbstract": false,
|
35922
|
+
"name": "face"
|
35923
|
+
},
|
35924
|
+
{
|
35925
|
+
"kind": "Method",
|
35926
|
+
"canonicalReference": "server!SimpleCharacterController#move:member(1)",
|
35927
|
+
"docComment": "/**\n * Moves the entity at a given speed in a straight line to a target coordinate.\n *\n * @remarks\n *\n * If this method is called while the entity is already attempting to move to another target, the previous target will be ignored and the entity will start attempting to move to the new target.\n *\n * @param target - The target coordinate to move to.\n *\n * @param speed - The speed at which to move to the target coordinate.\n *\n * @param options - Additional options for the move operation, such as callbacks.\n */\n",
|
35928
|
+
"excerptTokens": [
|
35929
|
+
{
|
35930
|
+
"kind": "Content",
|
35931
|
+
"text": "move(target: "
|
35932
|
+
},
|
35933
|
+
{
|
35934
|
+
"kind": "Reference",
|
35935
|
+
"text": "Vector3",
|
35936
|
+
"canonicalReference": "server!Vector3:interface"
|
35937
|
+
},
|
35938
|
+
{
|
35939
|
+
"kind": "Content",
|
35940
|
+
"text": ", speed: "
|
35941
|
+
},
|
35942
|
+
{
|
35943
|
+
"kind": "Content",
|
35944
|
+
"text": "number"
|
35945
|
+
},
|
35946
|
+
{
|
35947
|
+
"kind": "Content",
|
35948
|
+
"text": ", options?: "
|
35949
|
+
},
|
35950
|
+
{
|
35951
|
+
"kind": "Reference",
|
35952
|
+
"text": "MoveOptions",
|
35953
|
+
"canonicalReference": "server!MoveOptions:type"
|
35954
|
+
},
|
35955
|
+
{
|
35956
|
+
"kind": "Content",
|
35957
|
+
"text": "): "
|
35958
|
+
},
|
35959
|
+
{
|
35960
|
+
"kind": "Content",
|
35961
|
+
"text": "void"
|
35962
|
+
},
|
35963
|
+
{
|
35964
|
+
"kind": "Content",
|
35965
|
+
"text": ";"
|
35966
|
+
}
|
35967
|
+
],
|
35968
|
+
"isStatic": false,
|
35969
|
+
"returnTypeTokenRange": {
|
35970
|
+
"startIndex": 7,
|
35971
|
+
"endIndex": 8
|
35972
|
+
},
|
35973
|
+
"releaseTag": "Public",
|
35974
|
+
"isProtected": false,
|
35975
|
+
"overloadIndex": 1,
|
35976
|
+
"parameters": [
|
35977
|
+
{
|
35978
|
+
"parameterName": "target",
|
35979
|
+
"parameterTypeTokenRange": {
|
35980
|
+
"startIndex": 1,
|
35981
|
+
"endIndex": 2
|
35982
|
+
},
|
35983
|
+
"isOptional": false
|
35984
|
+
},
|
35985
|
+
{
|
35986
|
+
"parameterName": "speed",
|
35987
|
+
"parameterTypeTokenRange": {
|
35988
|
+
"startIndex": 3,
|
35989
|
+
"endIndex": 4
|
35990
|
+
},
|
35991
|
+
"isOptional": false
|
35992
|
+
},
|
35993
|
+
{
|
35994
|
+
"parameterName": "options",
|
35995
|
+
"parameterTypeTokenRange": {
|
35996
|
+
"startIndex": 5,
|
35997
|
+
"endIndex": 6
|
35998
|
+
},
|
35999
|
+
"isOptional": true
|
36000
|
+
}
|
36001
|
+
],
|
36002
|
+
"isOptional": false,
|
36003
|
+
"isAbstract": false,
|
36004
|
+
"name": "move"
|
36005
|
+
}
|
36006
|
+
],
|
36007
|
+
"extendsTokenRange": {
|
36008
|
+
"startIndex": 1,
|
36009
|
+
"endIndex": 2
|
36010
|
+
},
|
36011
|
+
"implementsTokenRanges": []
|
36012
|
+
},
|
34865
36013
|
{
|
34866
36014
|
"kind": "Class",
|
34867
36015
|
"canonicalReference": "server!Simulation:class",
|
@@ -36235,6 +37383,452 @@
|
|
36235
37383
|
],
|
36236
37384
|
"implementsTokenRanges": []
|
36237
37385
|
},
|
37386
|
+
{
|
37387
|
+
"kind": "Namespace",
|
37388
|
+
"canonicalReference": "server!WorldLoopEventPayload:namespace",
|
37389
|
+
"docComment": "/**\n * Payloads for events emitted by a WorldLoop instance.\n *\n * @public\n */\n",
|
37390
|
+
"excerptTokens": [
|
37391
|
+
{
|
37392
|
+
"kind": "Content",
|
37393
|
+
"text": "export declare namespace WorldLoopEventPayload "
|
37394
|
+
}
|
37395
|
+
],
|
37396
|
+
"fileUrlPath": "src/world/WorldLoop.ts",
|
37397
|
+
"releaseTag": "Public",
|
37398
|
+
"name": "WorldLoopEventPayload",
|
37399
|
+
"preserveMemberOrder": false,
|
37400
|
+
"members": [
|
37401
|
+
{
|
37402
|
+
"kind": "Interface",
|
37403
|
+
"canonicalReference": "server!WorldLoopEventPayload.Start:interface",
|
37404
|
+
"docComment": "",
|
37405
|
+
"excerptTokens": [
|
37406
|
+
{
|
37407
|
+
"kind": "Content",
|
37408
|
+
"text": "interface Start "
|
37409
|
+
}
|
37410
|
+
],
|
37411
|
+
"releaseTag": "Public",
|
37412
|
+
"name": "Start",
|
37413
|
+
"preserveMemberOrder": false,
|
37414
|
+
"members": [
|
37415
|
+
{
|
37416
|
+
"kind": "PropertySignature",
|
37417
|
+
"canonicalReference": "server!WorldLoopEventPayload.Start#worldLoop:member",
|
37418
|
+
"docComment": "",
|
37419
|
+
"excerptTokens": [
|
37420
|
+
{
|
37421
|
+
"kind": "Content",
|
37422
|
+
"text": "worldLoop: "
|
37423
|
+
},
|
37424
|
+
{
|
37425
|
+
"kind": "Reference",
|
37426
|
+
"text": "WorldLoop",
|
37427
|
+
"canonicalReference": "server!WorldLoop:class"
|
37428
|
+
},
|
37429
|
+
{
|
37430
|
+
"kind": "Content",
|
37431
|
+
"text": ";"
|
37432
|
+
}
|
37433
|
+
],
|
37434
|
+
"isReadonly": false,
|
37435
|
+
"isOptional": false,
|
37436
|
+
"releaseTag": "Public",
|
37437
|
+
"name": "worldLoop",
|
37438
|
+
"propertyTypeTokenRange": {
|
37439
|
+
"startIndex": 1,
|
37440
|
+
"endIndex": 2
|
37441
|
+
}
|
37442
|
+
}
|
37443
|
+
],
|
37444
|
+
"extendsTokenRanges": []
|
37445
|
+
},
|
37446
|
+
{
|
37447
|
+
"kind": "Interface",
|
37448
|
+
"canonicalReference": "server!WorldLoopEventPayload.Stop:interface",
|
37449
|
+
"docComment": "",
|
37450
|
+
"excerptTokens": [
|
37451
|
+
{
|
37452
|
+
"kind": "Content",
|
37453
|
+
"text": "interface Stop "
|
37454
|
+
}
|
37455
|
+
],
|
37456
|
+
"releaseTag": "Public",
|
37457
|
+
"name": "Stop",
|
37458
|
+
"preserveMemberOrder": false,
|
37459
|
+
"members": [
|
37460
|
+
{
|
37461
|
+
"kind": "PropertySignature",
|
37462
|
+
"canonicalReference": "server!WorldLoopEventPayload.Stop#worldLoop:member",
|
37463
|
+
"docComment": "",
|
37464
|
+
"excerptTokens": [
|
37465
|
+
{
|
37466
|
+
"kind": "Content",
|
37467
|
+
"text": "worldLoop: "
|
37468
|
+
},
|
37469
|
+
{
|
37470
|
+
"kind": "Reference",
|
37471
|
+
"text": "WorldLoop",
|
37472
|
+
"canonicalReference": "server!WorldLoop:class"
|
37473
|
+
},
|
37474
|
+
{
|
37475
|
+
"kind": "Content",
|
37476
|
+
"text": ";"
|
37477
|
+
}
|
37478
|
+
],
|
37479
|
+
"isReadonly": false,
|
37480
|
+
"isOptional": false,
|
37481
|
+
"releaseTag": "Public",
|
37482
|
+
"name": "worldLoop",
|
37483
|
+
"propertyTypeTokenRange": {
|
37484
|
+
"startIndex": 1,
|
37485
|
+
"endIndex": 2
|
37486
|
+
}
|
37487
|
+
}
|
37488
|
+
],
|
37489
|
+
"extendsTokenRanges": []
|
37490
|
+
},
|
37491
|
+
{
|
37492
|
+
"kind": "Interface",
|
37493
|
+
"canonicalReference": "server!WorldLoopEventPayload.TickEnd:interface",
|
37494
|
+
"docComment": "",
|
37495
|
+
"excerptTokens": [
|
37496
|
+
{
|
37497
|
+
"kind": "Content",
|
37498
|
+
"text": "interface TickEnd "
|
37499
|
+
}
|
37500
|
+
],
|
37501
|
+
"releaseTag": "Public",
|
37502
|
+
"name": "TickEnd",
|
37503
|
+
"preserveMemberOrder": false,
|
37504
|
+
"members": [
|
37505
|
+
{
|
37506
|
+
"kind": "PropertySignature",
|
37507
|
+
"canonicalReference": "server!WorldLoopEventPayload.TickEnd#tickDurationMs:member",
|
37508
|
+
"docComment": "",
|
37509
|
+
"excerptTokens": [
|
37510
|
+
{
|
37511
|
+
"kind": "Content",
|
37512
|
+
"text": "tickDurationMs: "
|
37513
|
+
},
|
37514
|
+
{
|
37515
|
+
"kind": "Content",
|
37516
|
+
"text": "number"
|
37517
|
+
},
|
37518
|
+
{
|
37519
|
+
"kind": "Content",
|
37520
|
+
"text": ";"
|
37521
|
+
}
|
37522
|
+
],
|
37523
|
+
"isReadonly": false,
|
37524
|
+
"isOptional": false,
|
37525
|
+
"releaseTag": "Public",
|
37526
|
+
"name": "tickDurationMs",
|
37527
|
+
"propertyTypeTokenRange": {
|
37528
|
+
"startIndex": 1,
|
37529
|
+
"endIndex": 2
|
37530
|
+
}
|
37531
|
+
},
|
37532
|
+
{
|
37533
|
+
"kind": "PropertySignature",
|
37534
|
+
"canonicalReference": "server!WorldLoopEventPayload.TickEnd#worldLoop:member",
|
37535
|
+
"docComment": "",
|
37536
|
+
"excerptTokens": [
|
37537
|
+
{
|
37538
|
+
"kind": "Content",
|
37539
|
+
"text": "worldLoop: "
|
37540
|
+
},
|
37541
|
+
{
|
37542
|
+
"kind": "Reference",
|
37543
|
+
"text": "WorldLoop",
|
37544
|
+
"canonicalReference": "server!WorldLoop:class"
|
37545
|
+
},
|
37546
|
+
{
|
37547
|
+
"kind": "Content",
|
37548
|
+
"text": ";"
|
37549
|
+
}
|
37550
|
+
],
|
37551
|
+
"isReadonly": false,
|
37552
|
+
"isOptional": false,
|
37553
|
+
"releaseTag": "Public",
|
37554
|
+
"name": "worldLoop",
|
37555
|
+
"propertyTypeTokenRange": {
|
37556
|
+
"startIndex": 1,
|
37557
|
+
"endIndex": 2
|
37558
|
+
}
|
37559
|
+
}
|
37560
|
+
],
|
37561
|
+
"extendsTokenRanges": []
|
37562
|
+
},
|
37563
|
+
{
|
37564
|
+
"kind": "Interface",
|
37565
|
+
"canonicalReference": "server!WorldLoopEventPayload.TickError:interface",
|
37566
|
+
"docComment": "",
|
37567
|
+
"excerptTokens": [
|
37568
|
+
{
|
37569
|
+
"kind": "Content",
|
37570
|
+
"text": "interface TickError "
|
37571
|
+
}
|
37572
|
+
],
|
37573
|
+
"releaseTag": "Public",
|
37574
|
+
"name": "TickError",
|
37575
|
+
"preserveMemberOrder": false,
|
37576
|
+
"members": [
|
37577
|
+
{
|
37578
|
+
"kind": "PropertySignature",
|
37579
|
+
"canonicalReference": "server!WorldLoopEventPayload.TickError#error:member",
|
37580
|
+
"docComment": "",
|
37581
|
+
"excerptTokens": [
|
37582
|
+
{
|
37583
|
+
"kind": "Content",
|
37584
|
+
"text": "error: "
|
37585
|
+
},
|
37586
|
+
{
|
37587
|
+
"kind": "Reference",
|
37588
|
+
"text": "Error",
|
37589
|
+
"canonicalReference": "!Error:interface"
|
37590
|
+
},
|
37591
|
+
{
|
37592
|
+
"kind": "Content",
|
37593
|
+
"text": ";"
|
37594
|
+
}
|
37595
|
+
],
|
37596
|
+
"isReadonly": false,
|
37597
|
+
"isOptional": false,
|
37598
|
+
"releaseTag": "Public",
|
37599
|
+
"name": "error",
|
37600
|
+
"propertyTypeTokenRange": {
|
37601
|
+
"startIndex": 1,
|
37602
|
+
"endIndex": 2
|
37603
|
+
}
|
37604
|
+
},
|
37605
|
+
{
|
37606
|
+
"kind": "PropertySignature",
|
37607
|
+
"canonicalReference": "server!WorldLoopEventPayload.TickError#worldLoop:member",
|
37608
|
+
"docComment": "",
|
37609
|
+
"excerptTokens": [
|
37610
|
+
{
|
37611
|
+
"kind": "Content",
|
37612
|
+
"text": "worldLoop: "
|
37613
|
+
},
|
37614
|
+
{
|
37615
|
+
"kind": "Reference",
|
37616
|
+
"text": "WorldLoop",
|
37617
|
+
"canonicalReference": "server!WorldLoop:class"
|
37618
|
+
},
|
37619
|
+
{
|
37620
|
+
"kind": "Content",
|
37621
|
+
"text": ";"
|
37622
|
+
}
|
37623
|
+
],
|
37624
|
+
"isReadonly": false,
|
37625
|
+
"isOptional": false,
|
37626
|
+
"releaseTag": "Public",
|
37627
|
+
"name": "worldLoop",
|
37628
|
+
"propertyTypeTokenRange": {
|
37629
|
+
"startIndex": 1,
|
37630
|
+
"endIndex": 2
|
37631
|
+
}
|
37632
|
+
}
|
37633
|
+
],
|
37634
|
+
"extendsTokenRanges": []
|
37635
|
+
},
|
37636
|
+
{
|
37637
|
+
"kind": "Interface",
|
37638
|
+
"canonicalReference": "server!WorldLoopEventPayload.TickStart:interface",
|
37639
|
+
"docComment": "",
|
37640
|
+
"excerptTokens": [
|
37641
|
+
{
|
37642
|
+
"kind": "Content",
|
37643
|
+
"text": "interface TickStart "
|
37644
|
+
}
|
37645
|
+
],
|
37646
|
+
"releaseTag": "Public",
|
37647
|
+
"name": "TickStart",
|
37648
|
+
"preserveMemberOrder": false,
|
37649
|
+
"members": [
|
37650
|
+
{
|
37651
|
+
"kind": "PropertySignature",
|
37652
|
+
"canonicalReference": "server!WorldLoopEventPayload.TickStart#tickDeltaMs:member",
|
37653
|
+
"docComment": "",
|
37654
|
+
"excerptTokens": [
|
37655
|
+
{
|
37656
|
+
"kind": "Content",
|
37657
|
+
"text": "tickDeltaMs: "
|
37658
|
+
},
|
37659
|
+
{
|
37660
|
+
"kind": "Content",
|
37661
|
+
"text": "number"
|
37662
|
+
},
|
37663
|
+
{
|
37664
|
+
"kind": "Content",
|
37665
|
+
"text": ";"
|
37666
|
+
}
|
37667
|
+
],
|
37668
|
+
"isReadonly": false,
|
37669
|
+
"isOptional": false,
|
37670
|
+
"releaseTag": "Public",
|
37671
|
+
"name": "tickDeltaMs",
|
37672
|
+
"propertyTypeTokenRange": {
|
37673
|
+
"startIndex": 1,
|
37674
|
+
"endIndex": 2
|
37675
|
+
}
|
37676
|
+
},
|
37677
|
+
{
|
37678
|
+
"kind": "PropertySignature",
|
37679
|
+
"canonicalReference": "server!WorldLoopEventPayload.TickStart#worldLoop:member",
|
37680
|
+
"docComment": "",
|
37681
|
+
"excerptTokens": [
|
37682
|
+
{
|
37683
|
+
"kind": "Content",
|
37684
|
+
"text": "worldLoop: "
|
37685
|
+
},
|
37686
|
+
{
|
37687
|
+
"kind": "Reference",
|
37688
|
+
"text": "WorldLoop",
|
37689
|
+
"canonicalReference": "server!WorldLoop:class"
|
37690
|
+
},
|
37691
|
+
{
|
37692
|
+
"kind": "Content",
|
37693
|
+
"text": ";"
|
37694
|
+
}
|
37695
|
+
],
|
37696
|
+
"isReadonly": false,
|
37697
|
+
"isOptional": false,
|
37698
|
+
"releaseTag": "Public",
|
37699
|
+
"name": "worldLoop",
|
37700
|
+
"propertyTypeTokenRange": {
|
37701
|
+
"startIndex": 1,
|
37702
|
+
"endIndex": 2
|
37703
|
+
}
|
37704
|
+
}
|
37705
|
+
],
|
37706
|
+
"extendsTokenRanges": []
|
37707
|
+
}
|
37708
|
+
]
|
37709
|
+
},
|
37710
|
+
{
|
37711
|
+
"kind": "Enum",
|
37712
|
+
"canonicalReference": "server!WorldLoopEventType:enum",
|
37713
|
+
"docComment": "/**\n * Event types a WorldLoop instance can emit.\n *\n * @public\n */\n",
|
37714
|
+
"excerptTokens": [
|
37715
|
+
{
|
37716
|
+
"kind": "Content",
|
37717
|
+
"text": "export declare enum WorldLoopEventType "
|
37718
|
+
}
|
37719
|
+
],
|
37720
|
+
"fileUrlPath": "src/world/WorldLoop.ts",
|
37721
|
+
"releaseTag": "Public",
|
37722
|
+
"name": "WorldLoopEventType",
|
37723
|
+
"preserveMemberOrder": false,
|
37724
|
+
"members": [
|
37725
|
+
{
|
37726
|
+
"kind": "EnumMember",
|
37727
|
+
"canonicalReference": "server!WorldLoopEventType.START:member",
|
37728
|
+
"docComment": "",
|
37729
|
+
"excerptTokens": [
|
37730
|
+
{
|
37731
|
+
"kind": "Content",
|
37732
|
+
"text": "START = "
|
37733
|
+
},
|
37734
|
+
{
|
37735
|
+
"kind": "Content",
|
37736
|
+
"text": "\"WORLD_LOOP.START\""
|
37737
|
+
}
|
37738
|
+
],
|
37739
|
+
"initializerTokenRange": {
|
37740
|
+
"startIndex": 1,
|
37741
|
+
"endIndex": 2
|
37742
|
+
},
|
37743
|
+
"releaseTag": "Public",
|
37744
|
+
"name": "START"
|
37745
|
+
},
|
37746
|
+
{
|
37747
|
+
"kind": "EnumMember",
|
37748
|
+
"canonicalReference": "server!WorldLoopEventType.STOP:member",
|
37749
|
+
"docComment": "",
|
37750
|
+
"excerptTokens": [
|
37751
|
+
{
|
37752
|
+
"kind": "Content",
|
37753
|
+
"text": "STOP = "
|
37754
|
+
},
|
37755
|
+
{
|
37756
|
+
"kind": "Content",
|
37757
|
+
"text": "\"WORLD_LOOP.STOP\""
|
37758
|
+
}
|
37759
|
+
],
|
37760
|
+
"initializerTokenRange": {
|
37761
|
+
"startIndex": 1,
|
37762
|
+
"endIndex": 2
|
37763
|
+
},
|
37764
|
+
"releaseTag": "Public",
|
37765
|
+
"name": "STOP"
|
37766
|
+
},
|
37767
|
+
{
|
37768
|
+
"kind": "EnumMember",
|
37769
|
+
"canonicalReference": "server!WorldLoopEventType.TICK_END:member",
|
37770
|
+
"docComment": "",
|
37771
|
+
"excerptTokens": [
|
37772
|
+
{
|
37773
|
+
"kind": "Content",
|
37774
|
+
"text": "TICK_END = "
|
37775
|
+
},
|
37776
|
+
{
|
37777
|
+
"kind": "Content",
|
37778
|
+
"text": "\"WORLD_LOOP.TICK_END\""
|
37779
|
+
}
|
37780
|
+
],
|
37781
|
+
"initializerTokenRange": {
|
37782
|
+
"startIndex": 1,
|
37783
|
+
"endIndex": 2
|
37784
|
+
},
|
37785
|
+
"releaseTag": "Public",
|
37786
|
+
"name": "TICK_END"
|
37787
|
+
},
|
37788
|
+
{
|
37789
|
+
"kind": "EnumMember",
|
37790
|
+
"canonicalReference": "server!WorldLoopEventType.TICK_ERROR:member",
|
37791
|
+
"docComment": "",
|
37792
|
+
"excerptTokens": [
|
37793
|
+
{
|
37794
|
+
"kind": "Content",
|
37795
|
+
"text": "TICK_ERROR = "
|
37796
|
+
},
|
37797
|
+
{
|
37798
|
+
"kind": "Content",
|
37799
|
+
"text": "\"WORLD_LOOP.TICK_ERROR\""
|
37800
|
+
}
|
37801
|
+
],
|
37802
|
+
"initializerTokenRange": {
|
37803
|
+
"startIndex": 1,
|
37804
|
+
"endIndex": 2
|
37805
|
+
},
|
37806
|
+
"releaseTag": "Public",
|
37807
|
+
"name": "TICK_ERROR"
|
37808
|
+
},
|
37809
|
+
{
|
37810
|
+
"kind": "EnumMember",
|
37811
|
+
"canonicalReference": "server!WorldLoopEventType.TICK_START:member",
|
37812
|
+
"docComment": "",
|
37813
|
+
"excerptTokens": [
|
37814
|
+
{
|
37815
|
+
"kind": "Content",
|
37816
|
+
"text": "TICK_START = "
|
37817
|
+
},
|
37818
|
+
{
|
37819
|
+
"kind": "Content",
|
37820
|
+
"text": "\"WORLD_LOOP.TICK_START\""
|
37821
|
+
}
|
37822
|
+
],
|
37823
|
+
"initializerTokenRange": {
|
37824
|
+
"startIndex": 1,
|
37825
|
+
"endIndex": 2
|
37826
|
+
},
|
37827
|
+
"releaseTag": "Public",
|
37828
|
+
"name": "TICK_START"
|
37829
|
+
}
|
37830
|
+
]
|
37831
|
+
},
|
36238
37832
|
{
|
36239
37833
|
"kind": "Interface",
|
36240
37834
|
"canonicalReference": "server!WorldMap:interface",
|