hytopia 0.1.95 → 0.1.97
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/docs/server.md +66 -0
- package/docs/server.pathfindabortcallback.md +13 -0
- package/docs/server.pathfindcompletecallback.md +13 -0
- package/docs/server.pathfindingentitycontroller.debug.md +13 -0
- package/docs/server.pathfindingentitycontroller.maxfall.md +13 -0
- package/docs/server.pathfindingentitycontroller.maxjump.md +13 -0
- package/docs/server.pathfindingentitycontroller.maxopensetiterations.md +13 -0
- package/docs/server.pathfindingentitycontroller.md +287 -0
- package/docs/server.pathfindingentitycontroller.pathfind.md +87 -0
- package/docs/server.pathfindingentitycontroller.speed.md +13 -0
- package/docs/server.pathfindingentitycontroller.target.md +13 -0
- package/docs/server.pathfindingentitycontroller.verticalpenalty.md +13 -0
- package/docs/server.pathfindingentitycontroller.waypointnextindex.md +13 -0
- package/docs/server.pathfindingentitycontroller.waypoints.md +13 -0
- package/docs/server.pathfindingentitycontroller.waypointtimeoutms.md +13 -0
- package/docs/server.pathfindingoptions.md +26 -0
- package/docs/server.playerentitycontroller.autocancelmouseleftclick.md +13 -0
- package/docs/server.playerentitycontroller.idleloopedanimations.md +13 -0
- package/docs/server.playerentitycontroller.interactoneshotanimations.md +13 -0
- package/docs/server.playerentitycontroller.jumponeshotanimations.md +13 -0
- package/docs/server.playerentitycontroller.md +114 -0
- package/docs/server.playerentitycontroller.runloopedanimations.md +13 -0
- package/docs/server.playerentitycontroller.walkloopedanimations.md +13 -0
- package/docs/server.playerentitycontrolleroptions.autocancelmouseleftclick.md +13 -0
- package/docs/server.playerentitycontrolleroptions.idleloopedanimations.md +13 -0
- package/docs/server.playerentitycontrolleroptions.interactoneshotanimations.md +13 -0
- package/docs/server.playerentitycontrolleroptions.jumponeshotanimations.md +13 -0
- package/docs/server.playerentitycontrolleroptions.md +114 -0
- package/docs/server.playerentitycontrolleroptions.runloopedanimations.md +13 -0
- package/docs/server.playerentitycontrolleroptions.walkloopedanimations.md +13 -0
- package/docs/server.simpleentitycontroller.jump.md +53 -0
- package/docs/server.simpleentitycontroller.md +14 -0
- package/docs/server.waypointmovecompletecallback.md +15 -0
- package/docs/server.waypointmoveskippedcallback.md +15 -0
- package/examples/ai-agents/.env.example +2 -0
- package/examples/ai-agents/README.md +17 -0
- package/examples/ai-agents/bun.lockb +0 -0
- package/examples/big-world/bun.lockb +0 -0
- package/examples/block-entity/bun.lockb +0 -0
- package/examples/child-entity/bun.lockb +0 -0
- package/examples/child-entity/package-lock.json +30 -0
- package/examples/custom-ui/bun.lockb +0 -0
- package/examples/entity-controller/bun.lockb +0 -0
- package/examples/entity-spawn/bun.lockb +0 -0
- package/examples/hole-in-wall-game/bun.lockb +0 -0
- package/examples/lighting/bun.lockb +0 -0
- package/examples/pathfinding/README.md +3 -0
- package/examples/pathfinding/assets/map.json +25828 -0
- package/examples/pathfinding/bun.lockb +0 -0
- package/examples/pathfinding/index.ts +113 -0
- package/examples/pathfinding/package.json +16 -0
- package/examples/payload-game/bun.lockb +0 -0
- package/examples/wall-dodge-game/bun.lockb +0 -0
- package/examples/wall-dodge-game/package-lock.json +30 -0
- package/examples/zombies-fps/assets/audio/sfx/pistol-shoot-1.mp3 +0 -0
- package/examples/zombies-fps/assets/audio/sfx/pistol-shoot-2.mp3 +0 -0
- package/examples/zombies-fps/assets/audio/sfx/pistol-shoot.mp3 +0 -0
- package/examples/zombies-fps/assets/maps/terrain.json +0 -12
- package/examples/zombies-fps/assets/models/items/pistol.glb +0 -0
- package/examples/zombies-fps/assets/ui/index.html +35 -0
- package/examples/zombies-fps/bun.lockb +0 -0
- package/examples/zombies-fps/classes/GamePlayerEntity.ts +62 -5
- package/examples/zombies-fps/classes/GunEntity.ts +66 -0
- package/examples/zombies-fps/classes/PurchaseBarrierEntity.ts +1 -1
- package/examples/zombies-fps/classes/guns/BulletEntity.ts +0 -0
- package/examples/zombies-fps/classes/guns/PistolEntity.ts +49 -0
- package/examples/zombies-fps/gameConfig.ts +8 -9
- package/examples/zombies-fps/index.ts +5 -1
- package/package.json +1 -1
- package/server.api.json +1006 -8
- package/server.d.ts +156 -0
- package/server.js +87 -87
package/server.api.json
CHANGED
@@ -17451,6 +17451,544 @@
|
|
17451
17451
|
"endIndex": 6
|
17452
17452
|
}
|
17453
17453
|
},
|
17454
|
+
{
|
17455
|
+
"kind": "TypeAlias",
|
17456
|
+
"canonicalReference": "server!PathfindAbortCallback:type",
|
17457
|
+
"docComment": "/**\n * A callback function called when the pathfinding algorithm aborts.\n *\n * @public\n */\n",
|
17458
|
+
"excerptTokens": [
|
17459
|
+
{
|
17460
|
+
"kind": "Content",
|
17461
|
+
"text": "export type PathfindAbortCallback = "
|
17462
|
+
},
|
17463
|
+
{
|
17464
|
+
"kind": "Content",
|
17465
|
+
"text": "() => void"
|
17466
|
+
},
|
17467
|
+
{
|
17468
|
+
"kind": "Content",
|
17469
|
+
"text": ";"
|
17470
|
+
}
|
17471
|
+
],
|
17472
|
+
"fileUrlPath": "src/world/entities/controllers/PathfindingEntityController.ts",
|
17473
|
+
"releaseTag": "Public",
|
17474
|
+
"name": "PathfindAbortCallback",
|
17475
|
+
"typeTokenRange": {
|
17476
|
+
"startIndex": 1,
|
17477
|
+
"endIndex": 2
|
17478
|
+
}
|
17479
|
+
},
|
17480
|
+
{
|
17481
|
+
"kind": "TypeAlias",
|
17482
|
+
"canonicalReference": "server!PathfindCompleteCallback:type",
|
17483
|
+
"docComment": "/**\n * A callback function called when the entity associated with the PathfindingEntityController finishes pathfinding and is now at the target coordinate.\n *\n * @public\n */\n",
|
17484
|
+
"excerptTokens": [
|
17485
|
+
{
|
17486
|
+
"kind": "Content",
|
17487
|
+
"text": "export type PathfindCompleteCallback = "
|
17488
|
+
},
|
17489
|
+
{
|
17490
|
+
"kind": "Content",
|
17491
|
+
"text": "() => void"
|
17492
|
+
},
|
17493
|
+
{
|
17494
|
+
"kind": "Content",
|
17495
|
+
"text": ";"
|
17496
|
+
}
|
17497
|
+
],
|
17498
|
+
"fileUrlPath": "src/world/entities/controllers/PathfindingEntityController.ts",
|
17499
|
+
"releaseTag": "Public",
|
17500
|
+
"name": "PathfindCompleteCallback",
|
17501
|
+
"typeTokenRange": {
|
17502
|
+
"startIndex": 1,
|
17503
|
+
"endIndex": 2
|
17504
|
+
}
|
17505
|
+
},
|
17506
|
+
{
|
17507
|
+
"kind": "Class",
|
17508
|
+
"canonicalReference": "server!PathfindingEntityController:class",
|
17509
|
+
"docComment": "/**\n * A pathfinding entity controller built on top of {@link SimpleEntityController}.\n *\n * @remarks\n *\n * This class implements pathfinding using the A* algorithm. Pathfinding when frequently called can cause performance issues, use it sparingly. The .pathfind() method should only need to be called once in nearly all cases when attempting to move an entity to a target coordinate.\n *\n * @public\n */\n",
|
17510
|
+
"excerptTokens": [
|
17511
|
+
{
|
17512
|
+
"kind": "Content",
|
17513
|
+
"text": "export default class PathfindingEntityController extends "
|
17514
|
+
},
|
17515
|
+
{
|
17516
|
+
"kind": "Reference",
|
17517
|
+
"text": "SimpleEntityController",
|
17518
|
+
"canonicalReference": "server!SimpleEntityController:class"
|
17519
|
+
},
|
17520
|
+
{
|
17521
|
+
"kind": "Content",
|
17522
|
+
"text": " "
|
17523
|
+
}
|
17524
|
+
],
|
17525
|
+
"fileUrlPath": "src/world/entities/controllers/PathfindingEntityController.ts",
|
17526
|
+
"releaseTag": "Public",
|
17527
|
+
"isAbstract": false,
|
17528
|
+
"name": "PathfindingEntityController",
|
17529
|
+
"preserveMemberOrder": false,
|
17530
|
+
"members": [
|
17531
|
+
{
|
17532
|
+
"kind": "Property",
|
17533
|
+
"canonicalReference": "server!PathfindingEntityController#debug:member",
|
17534
|
+
"docComment": "/**\n * Whether to enable debug mode or not. When debug mode is enabled, the pathfinding algorithm will log debug information to the console. Defaults to false.\n */\n",
|
17535
|
+
"excerptTokens": [
|
17536
|
+
{
|
17537
|
+
"kind": "Content",
|
17538
|
+
"text": "get debug(): "
|
17539
|
+
},
|
17540
|
+
{
|
17541
|
+
"kind": "Content",
|
17542
|
+
"text": "boolean"
|
17543
|
+
},
|
17544
|
+
{
|
17545
|
+
"kind": "Content",
|
17546
|
+
"text": ";"
|
17547
|
+
}
|
17548
|
+
],
|
17549
|
+
"isReadonly": true,
|
17550
|
+
"isOptional": false,
|
17551
|
+
"releaseTag": "Public",
|
17552
|
+
"name": "debug",
|
17553
|
+
"propertyTypeTokenRange": {
|
17554
|
+
"startIndex": 1,
|
17555
|
+
"endIndex": 2
|
17556
|
+
},
|
17557
|
+
"isStatic": false,
|
17558
|
+
"isProtected": false,
|
17559
|
+
"isAbstract": false
|
17560
|
+
},
|
17561
|
+
{
|
17562
|
+
"kind": "Property",
|
17563
|
+
"canonicalReference": "server!PathfindingEntityController#maxFall:member",
|
17564
|
+
"docComment": "/**\n * The maximum fall distance the entity can fall.\n */\n",
|
17565
|
+
"excerptTokens": [
|
17566
|
+
{
|
17567
|
+
"kind": "Content",
|
17568
|
+
"text": "get maxFall(): "
|
17569
|
+
},
|
17570
|
+
{
|
17571
|
+
"kind": "Content",
|
17572
|
+
"text": "number"
|
17573
|
+
},
|
17574
|
+
{
|
17575
|
+
"kind": "Content",
|
17576
|
+
"text": ";"
|
17577
|
+
}
|
17578
|
+
],
|
17579
|
+
"isReadonly": true,
|
17580
|
+
"isOptional": false,
|
17581
|
+
"releaseTag": "Public",
|
17582
|
+
"name": "maxFall",
|
17583
|
+
"propertyTypeTokenRange": {
|
17584
|
+
"startIndex": 1,
|
17585
|
+
"endIndex": 2
|
17586
|
+
},
|
17587
|
+
"isStatic": false,
|
17588
|
+
"isProtected": false,
|
17589
|
+
"isAbstract": false
|
17590
|
+
},
|
17591
|
+
{
|
17592
|
+
"kind": "Property",
|
17593
|
+
"canonicalReference": "server!PathfindingEntityController#maxJump:member",
|
17594
|
+
"docComment": "/**\n * The maximum jump distance the entity can jump.\n */\n",
|
17595
|
+
"excerptTokens": [
|
17596
|
+
{
|
17597
|
+
"kind": "Content",
|
17598
|
+
"text": "get maxJump(): "
|
17599
|
+
},
|
17600
|
+
{
|
17601
|
+
"kind": "Content",
|
17602
|
+
"text": "number"
|
17603
|
+
},
|
17604
|
+
{
|
17605
|
+
"kind": "Content",
|
17606
|
+
"text": ";"
|
17607
|
+
}
|
17608
|
+
],
|
17609
|
+
"isReadonly": true,
|
17610
|
+
"isOptional": false,
|
17611
|
+
"releaseTag": "Public",
|
17612
|
+
"name": "maxJump",
|
17613
|
+
"propertyTypeTokenRange": {
|
17614
|
+
"startIndex": 1,
|
17615
|
+
"endIndex": 2
|
17616
|
+
},
|
17617
|
+
"isStatic": false,
|
17618
|
+
"isProtected": false,
|
17619
|
+
"isAbstract": false
|
17620
|
+
},
|
17621
|
+
{
|
17622
|
+
"kind": "Property",
|
17623
|
+
"canonicalReference": "server!PathfindingEntityController#maxOpenSetIterations:member",
|
17624
|
+
"docComment": "/**\n * The maximum number of open set iterations that can be processed before aborting pathfinding. Defaults to 200.\n */\n",
|
17625
|
+
"excerptTokens": [
|
17626
|
+
{
|
17627
|
+
"kind": "Content",
|
17628
|
+
"text": "get maxOpenSetIterations(): "
|
17629
|
+
},
|
17630
|
+
{
|
17631
|
+
"kind": "Content",
|
17632
|
+
"text": "number"
|
17633
|
+
},
|
17634
|
+
{
|
17635
|
+
"kind": "Content",
|
17636
|
+
"text": ";"
|
17637
|
+
}
|
17638
|
+
],
|
17639
|
+
"isReadonly": true,
|
17640
|
+
"isOptional": false,
|
17641
|
+
"releaseTag": "Public",
|
17642
|
+
"name": "maxOpenSetIterations",
|
17643
|
+
"propertyTypeTokenRange": {
|
17644
|
+
"startIndex": 1,
|
17645
|
+
"endIndex": 2
|
17646
|
+
},
|
17647
|
+
"isStatic": false,
|
17648
|
+
"isProtected": false,
|
17649
|
+
"isAbstract": false
|
17650
|
+
},
|
17651
|
+
{
|
17652
|
+
"kind": "Method",
|
17653
|
+
"canonicalReference": "server!PathfindingEntityController#pathfind:member(1)",
|
17654
|
+
"docComment": "/**\n * Calculate a path and move to the target if a path is found. Returns true if a path is found, false if no path is found.\n *\n * @param target - The target coordinate to pathfind to.\n *\n * @param speed - The speed of the entity.\n *\n * @param options - The pathfinding options.\n *\n * @returns Whether the path was found.\n */\n",
|
17655
|
+
"excerptTokens": [
|
17656
|
+
{
|
17657
|
+
"kind": "Content",
|
17658
|
+
"text": "pathfind(target: "
|
17659
|
+
},
|
17660
|
+
{
|
17661
|
+
"kind": "Reference",
|
17662
|
+
"text": "Vector3Like",
|
17663
|
+
"canonicalReference": "server!Vector3Like:interface"
|
17664
|
+
},
|
17665
|
+
{
|
17666
|
+
"kind": "Content",
|
17667
|
+
"text": ", speed: "
|
17668
|
+
},
|
17669
|
+
{
|
17670
|
+
"kind": "Content",
|
17671
|
+
"text": "number"
|
17672
|
+
},
|
17673
|
+
{
|
17674
|
+
"kind": "Content",
|
17675
|
+
"text": ", options?: "
|
17676
|
+
},
|
17677
|
+
{
|
17678
|
+
"kind": "Reference",
|
17679
|
+
"text": "PathfindingOptions",
|
17680
|
+
"canonicalReference": "server!PathfindingOptions:type"
|
17681
|
+
},
|
17682
|
+
{
|
17683
|
+
"kind": "Content",
|
17684
|
+
"text": "): "
|
17685
|
+
},
|
17686
|
+
{
|
17687
|
+
"kind": "Content",
|
17688
|
+
"text": "boolean"
|
17689
|
+
},
|
17690
|
+
{
|
17691
|
+
"kind": "Content",
|
17692
|
+
"text": ";"
|
17693
|
+
}
|
17694
|
+
],
|
17695
|
+
"isStatic": false,
|
17696
|
+
"returnTypeTokenRange": {
|
17697
|
+
"startIndex": 7,
|
17698
|
+
"endIndex": 8
|
17699
|
+
},
|
17700
|
+
"releaseTag": "Public",
|
17701
|
+
"isProtected": false,
|
17702
|
+
"overloadIndex": 1,
|
17703
|
+
"parameters": [
|
17704
|
+
{
|
17705
|
+
"parameterName": "target",
|
17706
|
+
"parameterTypeTokenRange": {
|
17707
|
+
"startIndex": 1,
|
17708
|
+
"endIndex": 2
|
17709
|
+
},
|
17710
|
+
"isOptional": false
|
17711
|
+
},
|
17712
|
+
{
|
17713
|
+
"parameterName": "speed",
|
17714
|
+
"parameterTypeTokenRange": {
|
17715
|
+
"startIndex": 3,
|
17716
|
+
"endIndex": 4
|
17717
|
+
},
|
17718
|
+
"isOptional": false
|
17719
|
+
},
|
17720
|
+
{
|
17721
|
+
"parameterName": "options",
|
17722
|
+
"parameterTypeTokenRange": {
|
17723
|
+
"startIndex": 5,
|
17724
|
+
"endIndex": 6
|
17725
|
+
},
|
17726
|
+
"isOptional": true
|
17727
|
+
}
|
17728
|
+
],
|
17729
|
+
"isOptional": false,
|
17730
|
+
"isAbstract": false,
|
17731
|
+
"name": "pathfind"
|
17732
|
+
},
|
17733
|
+
{
|
17734
|
+
"kind": "Property",
|
17735
|
+
"canonicalReference": "server!PathfindingEntityController#speed:member",
|
17736
|
+
"docComment": "/**\n * The speed of the entity.\n */\n",
|
17737
|
+
"excerptTokens": [
|
17738
|
+
{
|
17739
|
+
"kind": "Content",
|
17740
|
+
"text": "get speed(): "
|
17741
|
+
},
|
17742
|
+
{
|
17743
|
+
"kind": "Content",
|
17744
|
+
"text": "number"
|
17745
|
+
},
|
17746
|
+
{
|
17747
|
+
"kind": "Content",
|
17748
|
+
"text": ";"
|
17749
|
+
}
|
17750
|
+
],
|
17751
|
+
"isReadonly": true,
|
17752
|
+
"isOptional": false,
|
17753
|
+
"releaseTag": "Public",
|
17754
|
+
"name": "speed",
|
17755
|
+
"propertyTypeTokenRange": {
|
17756
|
+
"startIndex": 1,
|
17757
|
+
"endIndex": 2
|
17758
|
+
},
|
17759
|
+
"isStatic": false,
|
17760
|
+
"isProtected": false,
|
17761
|
+
"isAbstract": false
|
17762
|
+
},
|
17763
|
+
{
|
17764
|
+
"kind": "Property",
|
17765
|
+
"canonicalReference": "server!PathfindingEntityController#target:member",
|
17766
|
+
"docComment": "/**\n * The target coordinate to pathfind to.\n */\n",
|
17767
|
+
"excerptTokens": [
|
17768
|
+
{
|
17769
|
+
"kind": "Content",
|
17770
|
+
"text": "get target(): "
|
17771
|
+
},
|
17772
|
+
{
|
17773
|
+
"kind": "Reference",
|
17774
|
+
"text": "Vector3Like",
|
17775
|
+
"canonicalReference": "server!Vector3Like:interface"
|
17776
|
+
},
|
17777
|
+
{
|
17778
|
+
"kind": "Content",
|
17779
|
+
"text": " | undefined"
|
17780
|
+
},
|
17781
|
+
{
|
17782
|
+
"kind": "Content",
|
17783
|
+
"text": ";"
|
17784
|
+
}
|
17785
|
+
],
|
17786
|
+
"isReadonly": true,
|
17787
|
+
"isOptional": false,
|
17788
|
+
"releaseTag": "Public",
|
17789
|
+
"name": "target",
|
17790
|
+
"propertyTypeTokenRange": {
|
17791
|
+
"startIndex": 1,
|
17792
|
+
"endIndex": 3
|
17793
|
+
},
|
17794
|
+
"isStatic": false,
|
17795
|
+
"isProtected": false,
|
17796
|
+
"isAbstract": false
|
17797
|
+
},
|
17798
|
+
{
|
17799
|
+
"kind": "Property",
|
17800
|
+
"canonicalReference": "server!PathfindingEntityController#verticalPenalty:member",
|
17801
|
+
"docComment": "/**\n * The vertical penalty for the pathfinding algorithm. A higher value will prefer paths with less vertical movement.\n */\n",
|
17802
|
+
"excerptTokens": [
|
17803
|
+
{
|
17804
|
+
"kind": "Content",
|
17805
|
+
"text": "get verticalPenalty(): "
|
17806
|
+
},
|
17807
|
+
{
|
17808
|
+
"kind": "Content",
|
17809
|
+
"text": "number"
|
17810
|
+
},
|
17811
|
+
{
|
17812
|
+
"kind": "Content",
|
17813
|
+
"text": ";"
|
17814
|
+
}
|
17815
|
+
],
|
17816
|
+
"isReadonly": true,
|
17817
|
+
"isOptional": false,
|
17818
|
+
"releaseTag": "Public",
|
17819
|
+
"name": "verticalPenalty",
|
17820
|
+
"propertyTypeTokenRange": {
|
17821
|
+
"startIndex": 1,
|
17822
|
+
"endIndex": 2
|
17823
|
+
},
|
17824
|
+
"isStatic": false,
|
17825
|
+
"isProtected": false,
|
17826
|
+
"isAbstract": false
|
17827
|
+
},
|
17828
|
+
{
|
17829
|
+
"kind": "Property",
|
17830
|
+
"canonicalReference": "server!PathfindingEntityController#waypointNextIndex:member",
|
17831
|
+
"docComment": "/**\n * The index representing the next waypoint moving towards of the current set of waypoints being followed.\n */\n",
|
17832
|
+
"excerptTokens": [
|
17833
|
+
{
|
17834
|
+
"kind": "Content",
|
17835
|
+
"text": "get waypointNextIndex(): "
|
17836
|
+
},
|
17837
|
+
{
|
17838
|
+
"kind": "Content",
|
17839
|
+
"text": "number"
|
17840
|
+
},
|
17841
|
+
{
|
17842
|
+
"kind": "Content",
|
17843
|
+
"text": ";"
|
17844
|
+
}
|
17845
|
+
],
|
17846
|
+
"isReadonly": true,
|
17847
|
+
"isOptional": false,
|
17848
|
+
"releaseTag": "Public",
|
17849
|
+
"name": "waypointNextIndex",
|
17850
|
+
"propertyTypeTokenRange": {
|
17851
|
+
"startIndex": 1,
|
17852
|
+
"endIndex": 2
|
17853
|
+
},
|
17854
|
+
"isStatic": false,
|
17855
|
+
"isProtected": false,
|
17856
|
+
"isAbstract": false
|
17857
|
+
},
|
17858
|
+
{
|
17859
|
+
"kind": "Property",
|
17860
|
+
"canonicalReference": "server!PathfindingEntityController#waypoints:member",
|
17861
|
+
"docComment": "/**\n * The current waypoints being followed.\n */\n",
|
17862
|
+
"excerptTokens": [
|
17863
|
+
{
|
17864
|
+
"kind": "Content",
|
17865
|
+
"text": "get waypoints(): "
|
17866
|
+
},
|
17867
|
+
{
|
17868
|
+
"kind": "Reference",
|
17869
|
+
"text": "Vector3Like",
|
17870
|
+
"canonicalReference": "server!Vector3Like:interface"
|
17871
|
+
},
|
17872
|
+
{
|
17873
|
+
"kind": "Content",
|
17874
|
+
"text": "[]"
|
17875
|
+
},
|
17876
|
+
{
|
17877
|
+
"kind": "Content",
|
17878
|
+
"text": ";"
|
17879
|
+
}
|
17880
|
+
],
|
17881
|
+
"isReadonly": true,
|
17882
|
+
"isOptional": false,
|
17883
|
+
"releaseTag": "Public",
|
17884
|
+
"name": "waypoints",
|
17885
|
+
"propertyTypeTokenRange": {
|
17886
|
+
"startIndex": 1,
|
17887
|
+
"endIndex": 3
|
17888
|
+
},
|
17889
|
+
"isStatic": false,
|
17890
|
+
"isProtected": false,
|
17891
|
+
"isAbstract": false
|
17892
|
+
},
|
17893
|
+
{
|
17894
|
+
"kind": "Property",
|
17895
|
+
"canonicalReference": "server!PathfindingEntityController#waypointTimeoutMs:member",
|
17896
|
+
"docComment": "/**\n * The timeout in milliseconds for a waypoint to be considered reached. Defaults to 2000ms divided by the speed of the entity.\n */\n",
|
17897
|
+
"excerptTokens": [
|
17898
|
+
{
|
17899
|
+
"kind": "Content",
|
17900
|
+
"text": "get waypointTimeoutMs(): "
|
17901
|
+
},
|
17902
|
+
{
|
17903
|
+
"kind": "Content",
|
17904
|
+
"text": "number"
|
17905
|
+
},
|
17906
|
+
{
|
17907
|
+
"kind": "Content",
|
17908
|
+
"text": ";"
|
17909
|
+
}
|
17910
|
+
],
|
17911
|
+
"isReadonly": true,
|
17912
|
+
"isOptional": false,
|
17913
|
+
"releaseTag": "Public",
|
17914
|
+
"name": "waypointTimeoutMs",
|
17915
|
+
"propertyTypeTokenRange": {
|
17916
|
+
"startIndex": 1,
|
17917
|
+
"endIndex": 2
|
17918
|
+
},
|
17919
|
+
"isStatic": false,
|
17920
|
+
"isProtected": false,
|
17921
|
+
"isAbstract": false
|
17922
|
+
}
|
17923
|
+
],
|
17924
|
+
"extendsTokenRange": {
|
17925
|
+
"startIndex": 1,
|
17926
|
+
"endIndex": 2
|
17927
|
+
},
|
17928
|
+
"implementsTokenRanges": []
|
17929
|
+
},
|
17930
|
+
{
|
17931
|
+
"kind": "TypeAlias",
|
17932
|
+
"canonicalReference": "server!PathfindingOptions:type",
|
17933
|
+
"docComment": "/**\n * Options for the {@link PathfindingEntityController.pathfind} method.\n *\n * @public\n */\n",
|
17934
|
+
"excerptTokens": [
|
17935
|
+
{
|
17936
|
+
"kind": "Content",
|
17937
|
+
"text": "export type PathfindingOptions = "
|
17938
|
+
},
|
17939
|
+
{
|
17940
|
+
"kind": "Content",
|
17941
|
+
"text": "{\n debug?: boolean;\n maxFall?: number;\n maxJump?: number;\n maxOpenSetIterations?: number;\n pathfindAbortCallback?: "
|
17942
|
+
},
|
17943
|
+
{
|
17944
|
+
"kind": "Reference",
|
17945
|
+
"text": "PathfindAbortCallback",
|
17946
|
+
"canonicalReference": "server!PathfindAbortCallback:type"
|
17947
|
+
},
|
17948
|
+
{
|
17949
|
+
"kind": "Content",
|
17950
|
+
"text": ";\n pathfindCompleteCallback?: "
|
17951
|
+
},
|
17952
|
+
{
|
17953
|
+
"kind": "Reference",
|
17954
|
+
"text": "PathfindCompleteCallback",
|
17955
|
+
"canonicalReference": "server!PathfindCompleteCallback:type"
|
17956
|
+
},
|
17957
|
+
{
|
17958
|
+
"kind": "Content",
|
17959
|
+
"text": ";\n verticalPenalty?: number;\n waypointMoveCompleteCallback?: "
|
17960
|
+
},
|
17961
|
+
{
|
17962
|
+
"kind": "Reference",
|
17963
|
+
"text": "WaypointMoveCompleteCallback",
|
17964
|
+
"canonicalReference": "server!WaypointMoveCompleteCallback:type"
|
17965
|
+
},
|
17966
|
+
{
|
17967
|
+
"kind": "Content",
|
17968
|
+
"text": ";\n waypointMoveSkippedCallback?: "
|
17969
|
+
},
|
17970
|
+
{
|
17971
|
+
"kind": "Reference",
|
17972
|
+
"text": "WaypointMoveSkippedCallback",
|
17973
|
+
"canonicalReference": "server!WaypointMoveSkippedCallback:type"
|
17974
|
+
},
|
17975
|
+
{
|
17976
|
+
"kind": "Content",
|
17977
|
+
"text": ";\n waypointTimeoutMs?: number;\n}"
|
17978
|
+
},
|
17979
|
+
{
|
17980
|
+
"kind": "Content",
|
17981
|
+
"text": ";"
|
17982
|
+
}
|
17983
|
+
],
|
17984
|
+
"fileUrlPath": "src/world/entities/controllers/PathfindingEntityController.ts",
|
17985
|
+
"releaseTag": "Public",
|
17986
|
+
"name": "PathfindingOptions",
|
17987
|
+
"typeTokenRange": {
|
17988
|
+
"startIndex": 1,
|
17989
|
+
"endIndex": 10
|
17990
|
+
}
|
17991
|
+
},
|
17454
17992
|
{
|
17455
17993
|
"kind": "Class",
|
17456
17994
|
"canonicalReference": "server!Player:class",
|
@@ -20444,6 +20982,36 @@
|
|
20444
20982
|
"isAbstract": false,
|
20445
20983
|
"name": "attach"
|
20446
20984
|
},
|
20985
|
+
{
|
20986
|
+
"kind": "Property",
|
20987
|
+
"canonicalReference": "server!PlayerEntityController#autoCancelMouseLeftClick:member",
|
20988
|
+
"docComment": "/**\n * Whether to automatically cancel left click input after first processed tick, defaults to true.\n */\n",
|
20989
|
+
"excerptTokens": [
|
20990
|
+
{
|
20991
|
+
"kind": "Content",
|
20992
|
+
"text": "autoCancelMouseLeftClick: "
|
20993
|
+
},
|
20994
|
+
{
|
20995
|
+
"kind": "Content",
|
20996
|
+
"text": "boolean"
|
20997
|
+
},
|
20998
|
+
{
|
20999
|
+
"kind": "Content",
|
21000
|
+
"text": ";"
|
21001
|
+
}
|
21002
|
+
],
|
21003
|
+
"isReadonly": false,
|
21004
|
+
"isOptional": false,
|
21005
|
+
"releaseTag": "Public",
|
21006
|
+
"name": "autoCancelMouseLeftClick",
|
21007
|
+
"propertyTypeTokenRange": {
|
21008
|
+
"startIndex": 1,
|
21009
|
+
"endIndex": 2
|
21010
|
+
},
|
21011
|
+
"isStatic": false,
|
21012
|
+
"isProtected": false,
|
21013
|
+
"isAbstract": false
|
21014
|
+
},
|
20447
21015
|
{
|
20448
21016
|
"kind": "Property",
|
20449
21017
|
"canonicalReference": "server!PlayerEntityController#canJump:member",
|
@@ -20561,6 +21129,66 @@
|
|
20561
21129
|
"isProtected": false,
|
20562
21130
|
"isAbstract": false
|
20563
21131
|
},
|
21132
|
+
{
|
21133
|
+
"kind": "Property",
|
21134
|
+
"canonicalReference": "server!PlayerEntityController#idleLoopedAnimations:member",
|
21135
|
+
"docComment": "/**\n * The looped animation(s) that will play when the entity is idle.\n */\n",
|
21136
|
+
"excerptTokens": [
|
21137
|
+
{
|
21138
|
+
"kind": "Content",
|
21139
|
+
"text": "idleLoopedAnimations: "
|
21140
|
+
},
|
21141
|
+
{
|
21142
|
+
"kind": "Content",
|
21143
|
+
"text": "string[]"
|
21144
|
+
},
|
21145
|
+
{
|
21146
|
+
"kind": "Content",
|
21147
|
+
"text": ";"
|
21148
|
+
}
|
21149
|
+
],
|
21150
|
+
"isReadonly": false,
|
21151
|
+
"isOptional": false,
|
21152
|
+
"releaseTag": "Public",
|
21153
|
+
"name": "idleLoopedAnimations",
|
21154
|
+
"propertyTypeTokenRange": {
|
21155
|
+
"startIndex": 1,
|
21156
|
+
"endIndex": 2
|
21157
|
+
},
|
21158
|
+
"isStatic": false,
|
21159
|
+
"isProtected": false,
|
21160
|
+
"isAbstract": false
|
21161
|
+
},
|
21162
|
+
{
|
21163
|
+
"kind": "Property",
|
21164
|
+
"canonicalReference": "server!PlayerEntityController#interactOneshotAnimations:member",
|
21165
|
+
"docComment": "/**\n * The oneshot animation(s) that will play when the entity interacts (left click)\n */\n",
|
21166
|
+
"excerptTokens": [
|
21167
|
+
{
|
21168
|
+
"kind": "Content",
|
21169
|
+
"text": "interactOneshotAnimations: "
|
21170
|
+
},
|
21171
|
+
{
|
21172
|
+
"kind": "Content",
|
21173
|
+
"text": "string[]"
|
21174
|
+
},
|
21175
|
+
{
|
21176
|
+
"kind": "Content",
|
21177
|
+
"text": ";"
|
21178
|
+
}
|
21179
|
+
],
|
21180
|
+
"isReadonly": false,
|
21181
|
+
"isOptional": false,
|
21182
|
+
"releaseTag": "Public",
|
21183
|
+
"name": "interactOneshotAnimations",
|
21184
|
+
"propertyTypeTokenRange": {
|
21185
|
+
"startIndex": 1,
|
21186
|
+
"endIndex": 2
|
21187
|
+
},
|
21188
|
+
"isStatic": false,
|
21189
|
+
"isProtected": false,
|
21190
|
+
"isAbstract": false
|
21191
|
+
},
|
20564
21192
|
{
|
20565
21193
|
"kind": "Property",
|
20566
21194
|
"canonicalReference": "server!PlayerEntityController#isGrounded:member",
|
@@ -20621,6 +21249,36 @@
|
|
20621
21249
|
"isProtected": false,
|
20622
21250
|
"isAbstract": false
|
20623
21251
|
},
|
21252
|
+
{
|
21253
|
+
"kind": "Property",
|
21254
|
+
"canonicalReference": "server!PlayerEntityController#jumpOneshotAnimations:member",
|
21255
|
+
"docComment": "/**\n * The oneshot animation(s) that will play when the entity is jumping.\n */\n",
|
21256
|
+
"excerptTokens": [
|
21257
|
+
{
|
21258
|
+
"kind": "Content",
|
21259
|
+
"text": "jumpOneshotAnimations: "
|
21260
|
+
},
|
21261
|
+
{
|
21262
|
+
"kind": "Content",
|
21263
|
+
"text": "string[]"
|
21264
|
+
},
|
21265
|
+
{
|
21266
|
+
"kind": "Content",
|
21267
|
+
"text": ";"
|
21268
|
+
}
|
21269
|
+
],
|
21270
|
+
"isReadonly": false,
|
21271
|
+
"isOptional": false,
|
21272
|
+
"releaseTag": "Public",
|
21273
|
+
"name": "jumpOneshotAnimations",
|
21274
|
+
"propertyTypeTokenRange": {
|
21275
|
+
"startIndex": 1,
|
21276
|
+
"endIndex": 2
|
21277
|
+
},
|
21278
|
+
"isStatic": false,
|
21279
|
+
"isProtected": false,
|
21280
|
+
"isAbstract": false
|
21281
|
+
},
|
20624
21282
|
{
|
20625
21283
|
"kind": "Property",
|
20626
21284
|
"canonicalReference": "server!PlayerEntityController#jumpVelocity:member",
|
@@ -20686,6 +21344,36 @@
|
|
20686
21344
|
"isProtected": false,
|
20687
21345
|
"isAbstract": false
|
20688
21346
|
},
|
21347
|
+
{
|
21348
|
+
"kind": "Property",
|
21349
|
+
"canonicalReference": "server!PlayerEntityController#runLoopedAnimations:member",
|
21350
|
+
"docComment": "/**\n * The looped animation(s) that will play when the entity is running.\n */\n",
|
21351
|
+
"excerptTokens": [
|
21352
|
+
{
|
21353
|
+
"kind": "Content",
|
21354
|
+
"text": "runLoopedAnimations: "
|
21355
|
+
},
|
21356
|
+
{
|
21357
|
+
"kind": "Content",
|
21358
|
+
"text": "string[]"
|
21359
|
+
},
|
21360
|
+
{
|
21361
|
+
"kind": "Content",
|
21362
|
+
"text": ";"
|
21363
|
+
}
|
21364
|
+
],
|
21365
|
+
"isReadonly": false,
|
21366
|
+
"isOptional": false,
|
21367
|
+
"releaseTag": "Public",
|
21368
|
+
"name": "runLoopedAnimations",
|
21369
|
+
"propertyTypeTokenRange": {
|
21370
|
+
"startIndex": 1,
|
21371
|
+
"endIndex": 2
|
21372
|
+
},
|
21373
|
+
"isStatic": false,
|
21374
|
+
"isProtected": false,
|
21375
|
+
"isAbstract": false
|
21376
|
+
},
|
20689
21377
|
{
|
20690
21378
|
"kind": "Property",
|
20691
21379
|
"canonicalReference": "server!PlayerEntityController#runVelocity:member",
|
@@ -20882,17 +21570,47 @@
|
|
20882
21570
|
"isOptional": false
|
20883
21571
|
},
|
20884
21572
|
{
|
20885
|
-
"parameterName": "deltaTimeMs",
|
20886
|
-
"parameterTypeTokenRange": {
|
20887
|
-
"startIndex": 7,
|
20888
|
-
"endIndex": 8
|
20889
|
-
},
|
20890
|
-
"isOptional": false
|
21573
|
+
"parameterName": "deltaTimeMs",
|
21574
|
+
"parameterTypeTokenRange": {
|
21575
|
+
"startIndex": 7,
|
21576
|
+
"endIndex": 8
|
21577
|
+
},
|
21578
|
+
"isOptional": false
|
21579
|
+
}
|
21580
|
+
],
|
21581
|
+
"isOptional": false,
|
21582
|
+
"isAbstract": false,
|
21583
|
+
"name": "tickWithPlayerInput"
|
21584
|
+
},
|
21585
|
+
{
|
21586
|
+
"kind": "Property",
|
21587
|
+
"canonicalReference": "server!PlayerEntityController#walkLoopedAnimations:member",
|
21588
|
+
"docComment": "/**\n * The looped animation(s) that will play when the entity is walking.\n */\n",
|
21589
|
+
"excerptTokens": [
|
21590
|
+
{
|
21591
|
+
"kind": "Content",
|
21592
|
+
"text": "walkLoopedAnimations: "
|
21593
|
+
},
|
21594
|
+
{
|
21595
|
+
"kind": "Content",
|
21596
|
+
"text": "string[]"
|
21597
|
+
},
|
21598
|
+
{
|
21599
|
+
"kind": "Content",
|
21600
|
+
"text": ";"
|
20891
21601
|
}
|
20892
21602
|
],
|
21603
|
+
"isReadonly": false,
|
20893
21604
|
"isOptional": false,
|
20894
|
-
"
|
20895
|
-
"name": "
|
21605
|
+
"releaseTag": "Public",
|
21606
|
+
"name": "walkLoopedAnimations",
|
21607
|
+
"propertyTypeTokenRange": {
|
21608
|
+
"startIndex": 1,
|
21609
|
+
"endIndex": 2
|
21610
|
+
},
|
21611
|
+
"isStatic": false,
|
21612
|
+
"isProtected": false,
|
21613
|
+
"isAbstract": false
|
20896
21614
|
},
|
20897
21615
|
{
|
20898
21616
|
"kind": "Property",
|
@@ -20946,6 +21664,33 @@
|
|
20946
21664
|
"name": "PlayerEntityControllerOptions",
|
20947
21665
|
"preserveMemberOrder": false,
|
20948
21666
|
"members": [
|
21667
|
+
{
|
21668
|
+
"kind": "PropertySignature",
|
21669
|
+
"canonicalReference": "server!PlayerEntityControllerOptions#autoCancelMouseLeftClick:member",
|
21670
|
+
"docComment": "/**\n * Whether to automatically cancel left click input after first processed tick, defaults to true.\n */\n",
|
21671
|
+
"excerptTokens": [
|
21672
|
+
{
|
21673
|
+
"kind": "Content",
|
21674
|
+
"text": "autoCancelMouseLeftClick?: "
|
21675
|
+
},
|
21676
|
+
{
|
21677
|
+
"kind": "Content",
|
21678
|
+
"text": "boolean"
|
21679
|
+
},
|
21680
|
+
{
|
21681
|
+
"kind": "Content",
|
21682
|
+
"text": ";"
|
21683
|
+
}
|
21684
|
+
],
|
21685
|
+
"isReadonly": false,
|
21686
|
+
"isOptional": true,
|
21687
|
+
"releaseTag": "Public",
|
21688
|
+
"name": "autoCancelMouseLeftClick",
|
21689
|
+
"propertyTypeTokenRange": {
|
21690
|
+
"startIndex": 1,
|
21691
|
+
"endIndex": 2
|
21692
|
+
}
|
21693
|
+
},
|
20949
21694
|
{
|
20950
21695
|
"kind": "PropertySignature",
|
20951
21696
|
"canonicalReference": "server!PlayerEntityControllerOptions#canJump:member",
|
@@ -21027,6 +21772,87 @@
|
|
21027
21772
|
"endIndex": 2
|
21028
21773
|
}
|
21029
21774
|
},
|
21775
|
+
{
|
21776
|
+
"kind": "PropertySignature",
|
21777
|
+
"canonicalReference": "server!PlayerEntityControllerOptions#idleLoopedAnimations:member",
|
21778
|
+
"docComment": "/**\n * Overrides the animation(s) that will play when the entity is idle.\n */\n",
|
21779
|
+
"excerptTokens": [
|
21780
|
+
{
|
21781
|
+
"kind": "Content",
|
21782
|
+
"text": "idleLoopedAnimations?: "
|
21783
|
+
},
|
21784
|
+
{
|
21785
|
+
"kind": "Content",
|
21786
|
+
"text": "string[]"
|
21787
|
+
},
|
21788
|
+
{
|
21789
|
+
"kind": "Content",
|
21790
|
+
"text": ";"
|
21791
|
+
}
|
21792
|
+
],
|
21793
|
+
"isReadonly": false,
|
21794
|
+
"isOptional": true,
|
21795
|
+
"releaseTag": "Public",
|
21796
|
+
"name": "idleLoopedAnimations",
|
21797
|
+
"propertyTypeTokenRange": {
|
21798
|
+
"startIndex": 1,
|
21799
|
+
"endIndex": 2
|
21800
|
+
}
|
21801
|
+
},
|
21802
|
+
{
|
21803
|
+
"kind": "PropertySignature",
|
21804
|
+
"canonicalReference": "server!PlayerEntityControllerOptions#interactOneshotAnimations:member",
|
21805
|
+
"docComment": "/**\n * Overrides the animation(s) that will play when the entity interacts (left click)\n */\n",
|
21806
|
+
"excerptTokens": [
|
21807
|
+
{
|
21808
|
+
"kind": "Content",
|
21809
|
+
"text": "interactOneshotAnimations?: "
|
21810
|
+
},
|
21811
|
+
{
|
21812
|
+
"kind": "Content",
|
21813
|
+
"text": "string[]"
|
21814
|
+
},
|
21815
|
+
{
|
21816
|
+
"kind": "Content",
|
21817
|
+
"text": ";"
|
21818
|
+
}
|
21819
|
+
],
|
21820
|
+
"isReadonly": false,
|
21821
|
+
"isOptional": true,
|
21822
|
+
"releaseTag": "Public",
|
21823
|
+
"name": "interactOneshotAnimations",
|
21824
|
+
"propertyTypeTokenRange": {
|
21825
|
+
"startIndex": 1,
|
21826
|
+
"endIndex": 2
|
21827
|
+
}
|
21828
|
+
},
|
21829
|
+
{
|
21830
|
+
"kind": "PropertySignature",
|
21831
|
+
"canonicalReference": "server!PlayerEntityControllerOptions#jumpOneshotAnimations:member",
|
21832
|
+
"docComment": "/**\n * Overrides the animation(s) that will play when the entity is jumping.\n */\n",
|
21833
|
+
"excerptTokens": [
|
21834
|
+
{
|
21835
|
+
"kind": "Content",
|
21836
|
+
"text": "jumpOneshotAnimations?: "
|
21837
|
+
},
|
21838
|
+
{
|
21839
|
+
"kind": "Content",
|
21840
|
+
"text": "string[]"
|
21841
|
+
},
|
21842
|
+
{
|
21843
|
+
"kind": "Content",
|
21844
|
+
"text": ";"
|
21845
|
+
}
|
21846
|
+
],
|
21847
|
+
"isReadonly": false,
|
21848
|
+
"isOptional": true,
|
21849
|
+
"releaseTag": "Public",
|
21850
|
+
"name": "jumpOneshotAnimations",
|
21851
|
+
"propertyTypeTokenRange": {
|
21852
|
+
"startIndex": 1,
|
21853
|
+
"endIndex": 2
|
21854
|
+
}
|
21855
|
+
},
|
21030
21856
|
{
|
21031
21857
|
"kind": "PropertySignature",
|
21032
21858
|
"canonicalReference": "server!PlayerEntityControllerOptions#jumpVelocity:member",
|
@@ -21054,6 +21880,33 @@
|
|
21054
21880
|
"endIndex": 2
|
21055
21881
|
}
|
21056
21882
|
},
|
21883
|
+
{
|
21884
|
+
"kind": "PropertySignature",
|
21885
|
+
"canonicalReference": "server!PlayerEntityControllerOptions#runLoopedAnimations:member",
|
21886
|
+
"docComment": "/**\n * Overrides the animation(s) that will play when the entity is running.\n */\n",
|
21887
|
+
"excerptTokens": [
|
21888
|
+
{
|
21889
|
+
"kind": "Content",
|
21890
|
+
"text": "runLoopedAnimations?: "
|
21891
|
+
},
|
21892
|
+
{
|
21893
|
+
"kind": "Content",
|
21894
|
+
"text": "string[]"
|
21895
|
+
},
|
21896
|
+
{
|
21897
|
+
"kind": "Content",
|
21898
|
+
"text": ";"
|
21899
|
+
}
|
21900
|
+
],
|
21901
|
+
"isReadonly": false,
|
21902
|
+
"isOptional": true,
|
21903
|
+
"releaseTag": "Public",
|
21904
|
+
"name": "runLoopedAnimations",
|
21905
|
+
"propertyTypeTokenRange": {
|
21906
|
+
"startIndex": 1,
|
21907
|
+
"endIndex": 2
|
21908
|
+
}
|
21909
|
+
},
|
21057
21910
|
{
|
21058
21911
|
"kind": "PropertySignature",
|
21059
21912
|
"canonicalReference": "server!PlayerEntityControllerOptions#runVelocity:member",
|
@@ -21108,6 +21961,33 @@
|
|
21108
21961
|
"endIndex": 2
|
21109
21962
|
}
|
21110
21963
|
},
|
21964
|
+
{
|
21965
|
+
"kind": "PropertySignature",
|
21966
|
+
"canonicalReference": "server!PlayerEntityControllerOptions#walkLoopedAnimations:member",
|
21967
|
+
"docComment": "/**\n * Overrides the animation(s) that will play when the entity is walking.\n */\n",
|
21968
|
+
"excerptTokens": [
|
21969
|
+
{
|
21970
|
+
"kind": "Content",
|
21971
|
+
"text": "walkLoopedAnimations?: "
|
21972
|
+
},
|
21973
|
+
{
|
21974
|
+
"kind": "Content",
|
21975
|
+
"text": "string[]"
|
21976
|
+
},
|
21977
|
+
{
|
21978
|
+
"kind": "Content",
|
21979
|
+
"text": ";"
|
21980
|
+
}
|
21981
|
+
],
|
21982
|
+
"isReadonly": false,
|
21983
|
+
"isOptional": true,
|
21984
|
+
"releaseTag": "Public",
|
21985
|
+
"name": "walkLoopedAnimations",
|
21986
|
+
"propertyTypeTokenRange": {
|
21987
|
+
"startIndex": 1,
|
21988
|
+
"endIndex": 2
|
21989
|
+
}
|
21990
|
+
},
|
21111
21991
|
{
|
21112
21992
|
"kind": "PropertySignature",
|
21113
21993
|
"canonicalReference": "server!PlayerEntityControllerOptions#walkVelocity:member",
|
@@ -29217,6 +30097,54 @@
|
|
29217
30097
|
"isAbstract": false,
|
29218
30098
|
"name": "face"
|
29219
30099
|
},
|
30100
|
+
{
|
30101
|
+
"kind": "Method",
|
30102
|
+
"canonicalReference": "server!SimpleEntityController#jump:member(1)",
|
30103
|
+
"docComment": "/**\n * Applies an upwards impulse to the entity to simulate a jump, only supported for entities with dynamic rigid body types.\n *\n * @param height - The height to jump to.\n */\n",
|
30104
|
+
"excerptTokens": [
|
30105
|
+
{
|
30106
|
+
"kind": "Content",
|
30107
|
+
"text": "jump(height: "
|
30108
|
+
},
|
30109
|
+
{
|
30110
|
+
"kind": "Content",
|
30111
|
+
"text": "number"
|
30112
|
+
},
|
30113
|
+
{
|
30114
|
+
"kind": "Content",
|
30115
|
+
"text": "): "
|
30116
|
+
},
|
30117
|
+
{
|
30118
|
+
"kind": "Content",
|
30119
|
+
"text": "void"
|
30120
|
+
},
|
30121
|
+
{
|
30122
|
+
"kind": "Content",
|
30123
|
+
"text": ";"
|
30124
|
+
}
|
30125
|
+
],
|
30126
|
+
"isStatic": false,
|
30127
|
+
"returnTypeTokenRange": {
|
30128
|
+
"startIndex": 3,
|
30129
|
+
"endIndex": 4
|
30130
|
+
},
|
30131
|
+
"releaseTag": "Public",
|
30132
|
+
"isProtected": false,
|
30133
|
+
"overloadIndex": 1,
|
30134
|
+
"parameters": [
|
30135
|
+
{
|
30136
|
+
"parameterName": "height",
|
30137
|
+
"parameterTypeTokenRange": {
|
30138
|
+
"startIndex": 1,
|
30139
|
+
"endIndex": 2
|
30140
|
+
},
|
30141
|
+
"isOptional": false
|
30142
|
+
}
|
30143
|
+
],
|
30144
|
+
"isOptional": false,
|
30145
|
+
"isAbstract": false,
|
30146
|
+
"name": "jump"
|
30147
|
+
},
|
29220
30148
|
{
|
29221
30149
|
"kind": "Method",
|
29222
30150
|
"canonicalReference": "server!SimpleEntityController#move:member(1)",
|
@@ -31528,6 +32456,76 @@
|
|
31528
32456
|
],
|
31529
32457
|
"extendsTokenRanges": []
|
31530
32458
|
},
|
32459
|
+
{
|
32460
|
+
"kind": "TypeAlias",
|
32461
|
+
"canonicalReference": "server!WaypointMoveCompleteCallback:type",
|
32462
|
+
"docComment": "/**\n * A callback function called when the entity associated with the PathfindingEntityController finishes moving to a calculate waypoint of its current path.\n *\n * @param waypoint - The waypoint that the entity has finished moving to.\n *\n * @param waypointIndex - The index of the waypoint that the entity has finished moving to.\n *\n * @public\n */\n",
|
32463
|
+
"excerptTokens": [
|
32464
|
+
{
|
32465
|
+
"kind": "Content",
|
32466
|
+
"text": "export type WaypointMoveCompleteCallback = "
|
32467
|
+
},
|
32468
|
+
{
|
32469
|
+
"kind": "Content",
|
32470
|
+
"text": "(waypoint: "
|
32471
|
+
},
|
32472
|
+
{
|
32473
|
+
"kind": "Reference",
|
32474
|
+
"text": "Vector3Like",
|
32475
|
+
"canonicalReference": "server!Vector3Like:interface"
|
32476
|
+
},
|
32477
|
+
{
|
32478
|
+
"kind": "Content",
|
32479
|
+
"text": ", waypointIndex: number) => void"
|
32480
|
+
},
|
32481
|
+
{
|
32482
|
+
"kind": "Content",
|
32483
|
+
"text": ";"
|
32484
|
+
}
|
32485
|
+
],
|
32486
|
+
"fileUrlPath": "src/world/entities/controllers/PathfindingEntityController.ts",
|
32487
|
+
"releaseTag": "Public",
|
32488
|
+
"name": "WaypointMoveCompleteCallback",
|
32489
|
+
"typeTokenRange": {
|
32490
|
+
"startIndex": 1,
|
32491
|
+
"endIndex": 4
|
32492
|
+
}
|
32493
|
+
},
|
32494
|
+
{
|
32495
|
+
"kind": "TypeAlias",
|
32496
|
+
"canonicalReference": "server!WaypointMoveSkippedCallback:type",
|
32497
|
+
"docComment": "/**\n * A callback function called when the entity associated with the PathfindingEntityController skips a waypoint because it took too long to reach.\n *\n * @param waypoint - The waypoint that the entity skipped.\n *\n * @param waypointIndex - The index of the waypoint that the entity skipped.\n *\n * @public\n */\n",
|
32498
|
+
"excerptTokens": [
|
32499
|
+
{
|
32500
|
+
"kind": "Content",
|
32501
|
+
"text": "export type WaypointMoveSkippedCallback = "
|
32502
|
+
},
|
32503
|
+
{
|
32504
|
+
"kind": "Content",
|
32505
|
+
"text": "(waypoint: "
|
32506
|
+
},
|
32507
|
+
{
|
32508
|
+
"kind": "Reference",
|
32509
|
+
"text": "Vector3Like",
|
32510
|
+
"canonicalReference": "server!Vector3Like:interface"
|
32511
|
+
},
|
32512
|
+
{
|
32513
|
+
"kind": "Content",
|
32514
|
+
"text": ", waypointIndex: number) => void"
|
32515
|
+
},
|
32516
|
+
{
|
32517
|
+
"kind": "Content",
|
32518
|
+
"text": ";"
|
32519
|
+
}
|
32520
|
+
],
|
32521
|
+
"fileUrlPath": "src/world/entities/controllers/PathfindingEntityController.ts",
|
32522
|
+
"releaseTag": "Public",
|
32523
|
+
"name": "WaypointMoveSkippedCallback",
|
32524
|
+
"typeTokenRange": {
|
32525
|
+
"startIndex": 1,
|
32526
|
+
"endIndex": 4
|
32527
|
+
}
|
32528
|
+
},
|
31531
32529
|
{
|
31532
32530
|
"kind": "Class",
|
31533
32531
|
"canonicalReference": "server!World:class",
|