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
@@ -0,0 +1,88 @@
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
+
|
3
|
+
[Home](./index.md) > [server](./server.md) > [HYTOPIA](./server.hytopia.md) > [SimpleCharacterController](./server.hytopia.simplecharactercontroller.md)
|
4
|
+
|
5
|
+
## HYTOPIA.SimpleCharacterController class
|
6
|
+
|
7
|
+
A simple character controller with basic movement functions.
|
8
|
+
|
9
|
+
**Signature:**
|
10
|
+
|
11
|
+
```typescript
|
12
|
+
export default class SimpleCharacterController extends BaseCharacterController
|
13
|
+
```
|
14
|
+
**Extends:** [BaseCharacterController](./server.basecharactercontroller.md)
|
15
|
+
|
16
|
+
## Remarks
|
17
|
+
|
18
|
+
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.
|
19
|
+
|
20
|
+
## Example
|
21
|
+
|
22
|
+
|
23
|
+
```typescript
|
24
|
+
// Create a custom character controller for myEntity, prior to spawning it.
|
25
|
+
myEntity.createCustomCharacterController = () => {
|
26
|
+
return new SimpleCharacterController(myEntity);
|
27
|
+
};
|
28
|
+
|
29
|
+
// Spawn the entity in the world.
|
30
|
+
myEntity.spawn(world, { x: 53, y: 10, z: 23 });
|
31
|
+
|
32
|
+
// Move the entity at a speed of 4 blocks
|
33
|
+
// per second to the coordinate (10, 1, 10).
|
34
|
+
// console.log when we reach the target.
|
35
|
+
myEntity.characterController.move({ x: 10, y: 1, z: 10 }, 4, {
|
36
|
+
moveCompleteCallback: endPosition => {
|
37
|
+
console.log('Finished moving to', endPosition);
|
38
|
+
},
|
39
|
+
});
|
40
|
+
```
|
41
|
+
|
42
|
+
## Methods
|
43
|
+
|
44
|
+
<table><thead><tr><th>
|
45
|
+
|
46
|
+
Method
|
47
|
+
|
48
|
+
|
49
|
+
</th><th>
|
50
|
+
|
51
|
+
Modifiers
|
52
|
+
|
53
|
+
|
54
|
+
</th><th>
|
55
|
+
|
56
|
+
Description
|
57
|
+
|
58
|
+
|
59
|
+
</th></tr></thead>
|
60
|
+
<tbody><tr><td>
|
61
|
+
|
62
|
+
[face(target, speed, options)](./server.hytopia.simplecharactercontroller.face.md)
|
63
|
+
|
64
|
+
|
65
|
+
</td><td>
|
66
|
+
|
67
|
+
|
68
|
+
</td><td>
|
69
|
+
|
70
|
+
Rotates the entity at a given speed to face a target coordinate.
|
71
|
+
|
72
|
+
|
73
|
+
</td></tr>
|
74
|
+
<tr><td>
|
75
|
+
|
76
|
+
[move(target, speed, options)](./server.hytopia.simplecharactercontroller.move.md)
|
77
|
+
|
78
|
+
|
79
|
+
</td><td>
|
80
|
+
|
81
|
+
|
82
|
+
</td><td>
|
83
|
+
|
84
|
+
Moves the entity at a given speed in a straight line to a target coordinate.
|
85
|
+
|
86
|
+
|
87
|
+
</td></tr>
|
88
|
+
</tbody></table>
|
@@ -0,0 +1,89 @@
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
+
|
3
|
+
[Home](./index.md) > [server](./server.md) > [HYTOPIA](./server.hytopia.md) > [SimpleCharacterController](./server.hytopia.simplecharactercontroller.md) > [move](./server.hytopia.simplecharactercontroller.move.md)
|
4
|
+
|
5
|
+
## HYTOPIA.SimpleCharacterController.move() method
|
6
|
+
|
7
|
+
Moves the entity at a given speed in a straight line to a target coordinate.
|
8
|
+
|
9
|
+
**Signature:**
|
10
|
+
|
11
|
+
```typescript
|
12
|
+
move(target: Vector3, speed: number, options?: MoveOptions): void;
|
13
|
+
```
|
14
|
+
|
15
|
+
## Parameters
|
16
|
+
|
17
|
+
<table><thead><tr><th>
|
18
|
+
|
19
|
+
Parameter
|
20
|
+
|
21
|
+
|
22
|
+
</th><th>
|
23
|
+
|
24
|
+
Type
|
25
|
+
|
26
|
+
|
27
|
+
</th><th>
|
28
|
+
|
29
|
+
Description
|
30
|
+
|
31
|
+
|
32
|
+
</th></tr></thead>
|
33
|
+
<tbody><tr><td>
|
34
|
+
|
35
|
+
target
|
36
|
+
|
37
|
+
|
38
|
+
</td><td>
|
39
|
+
|
40
|
+
[Vector3](./server.vector3.md)
|
41
|
+
|
42
|
+
|
43
|
+
</td><td>
|
44
|
+
|
45
|
+
The target coordinate to move to.
|
46
|
+
|
47
|
+
|
48
|
+
</td></tr>
|
49
|
+
<tr><td>
|
50
|
+
|
51
|
+
speed
|
52
|
+
|
53
|
+
|
54
|
+
</td><td>
|
55
|
+
|
56
|
+
number
|
57
|
+
|
58
|
+
|
59
|
+
</td><td>
|
60
|
+
|
61
|
+
The speed at which to move to the target coordinate.
|
62
|
+
|
63
|
+
|
64
|
+
</td></tr>
|
65
|
+
<tr><td>
|
66
|
+
|
67
|
+
options
|
68
|
+
|
69
|
+
|
70
|
+
</td><td>
|
71
|
+
|
72
|
+
[MoveOptions](./server.moveoptions.md)
|
73
|
+
|
74
|
+
|
75
|
+
</td><td>
|
76
|
+
|
77
|
+
_(Optional)_ Additional options for the move operation, such as callbacks.
|
78
|
+
|
79
|
+
|
80
|
+
</td></tr>
|
81
|
+
</tbody></table>
|
82
|
+
**Returns:**
|
83
|
+
|
84
|
+
void
|
85
|
+
|
86
|
+
## Remarks
|
87
|
+
|
88
|
+
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.
|
89
|
+
|
@@ -0,0 +1,73 @@
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
+
|
3
|
+
[Home](./index.md) > [server](./server.md) > [HYTOPIA](./server.hytopia.md) > [WorldLoopEventPayload](./server.hytopia.worldloopeventpayload.md)
|
4
|
+
|
5
|
+
## HYTOPIA.WorldLoopEventPayload namespace
|
6
|
+
|
7
|
+
Payloads for events emitted by a WorldLoop instance.
|
8
|
+
|
9
|
+
**Signature:**
|
10
|
+
|
11
|
+
```typescript
|
12
|
+
export declare namespace WorldLoopEventPayload
|
13
|
+
```
|
14
|
+
|
15
|
+
## Interfaces
|
16
|
+
|
17
|
+
<table><thead><tr><th>
|
18
|
+
|
19
|
+
Interface
|
20
|
+
|
21
|
+
|
22
|
+
</th><th>
|
23
|
+
|
24
|
+
Description
|
25
|
+
|
26
|
+
|
27
|
+
</th></tr></thead>
|
28
|
+
<tbody><tr><td>
|
29
|
+
|
30
|
+
[Start](./server.hytopia.worldloopeventpayload.start.md)
|
31
|
+
|
32
|
+
|
33
|
+
</td><td>
|
34
|
+
|
35
|
+
|
36
|
+
</td></tr>
|
37
|
+
<tr><td>
|
38
|
+
|
39
|
+
[Stop](./server.hytopia.worldloopeventpayload.stop.md)
|
40
|
+
|
41
|
+
|
42
|
+
</td><td>
|
43
|
+
|
44
|
+
|
45
|
+
</td></tr>
|
46
|
+
<tr><td>
|
47
|
+
|
48
|
+
[TickEnd](./server.hytopia.worldloopeventpayload.tickend.md)
|
49
|
+
|
50
|
+
|
51
|
+
</td><td>
|
52
|
+
|
53
|
+
|
54
|
+
</td></tr>
|
55
|
+
<tr><td>
|
56
|
+
|
57
|
+
[TickError](./server.hytopia.worldloopeventpayload.tickerror.md)
|
58
|
+
|
59
|
+
|
60
|
+
</td><td>
|
61
|
+
|
62
|
+
|
63
|
+
</td></tr>
|
64
|
+
<tr><td>
|
65
|
+
|
66
|
+
[TickStart](./server.hytopia.worldloopeventpayload.tickstart.md)
|
67
|
+
|
68
|
+
|
69
|
+
</td><td>
|
70
|
+
|
71
|
+
|
72
|
+
</td></tr>
|
73
|
+
</tbody></table>
|
@@ -0,0 +1,53 @@
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
+
|
3
|
+
[Home](./index.md) > [server](./server.md) > [HYTOPIA](./server.hytopia.md) > [WorldLoopEventPayload](./server.hytopia.worldloopeventpayload.md) > [Start](./server.hytopia.worldloopeventpayload.start.md)
|
4
|
+
|
5
|
+
## HYTOPIA.WorldLoopEventPayload.Start interface
|
6
|
+
|
7
|
+
**Signature:**
|
8
|
+
|
9
|
+
```typescript
|
10
|
+
interface Start
|
11
|
+
```
|
12
|
+
|
13
|
+
## Properties
|
14
|
+
|
15
|
+
<table><thead><tr><th>
|
16
|
+
|
17
|
+
Property
|
18
|
+
|
19
|
+
|
20
|
+
</th><th>
|
21
|
+
|
22
|
+
Modifiers
|
23
|
+
|
24
|
+
|
25
|
+
</th><th>
|
26
|
+
|
27
|
+
Type
|
28
|
+
|
29
|
+
|
30
|
+
</th><th>
|
31
|
+
|
32
|
+
Description
|
33
|
+
|
34
|
+
|
35
|
+
</th></tr></thead>
|
36
|
+
<tbody><tr><td>
|
37
|
+
|
38
|
+
[worldLoop](./server.hytopia.worldloopeventpayload.start.worldloop.md)
|
39
|
+
|
40
|
+
|
41
|
+
</td><td>
|
42
|
+
|
43
|
+
|
44
|
+
</td><td>
|
45
|
+
|
46
|
+
[WorldLoop](./server.worldloop.md)
|
47
|
+
|
48
|
+
|
49
|
+
</td><td>
|
50
|
+
|
51
|
+
|
52
|
+
</td></tr>
|
53
|
+
</tbody></table>
|
@@ -0,0 +1,11 @@
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
+
|
3
|
+
[Home](./index.md) > [server](./server.md) > [HYTOPIA](./server.hytopia.md) > [WorldLoopEventPayload](./server.hytopia.worldloopeventpayload.md) > [Start](./server.hytopia.worldloopeventpayload.start.md) > [worldLoop](./server.hytopia.worldloopeventpayload.start.worldloop.md)
|
4
|
+
|
5
|
+
## HYTOPIA.WorldLoopEventPayload.Start.worldLoop property
|
6
|
+
|
7
|
+
**Signature:**
|
8
|
+
|
9
|
+
```typescript
|
10
|
+
worldLoop: WorldLoop;
|
11
|
+
```
|
@@ -0,0 +1,53 @@
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
+
|
3
|
+
[Home](./index.md) > [server](./server.md) > [HYTOPIA](./server.hytopia.md) > [WorldLoopEventPayload](./server.hytopia.worldloopeventpayload.md) > [Stop](./server.hytopia.worldloopeventpayload.stop.md)
|
4
|
+
|
5
|
+
## HYTOPIA.WorldLoopEventPayload.Stop interface
|
6
|
+
|
7
|
+
**Signature:**
|
8
|
+
|
9
|
+
```typescript
|
10
|
+
interface Stop
|
11
|
+
```
|
12
|
+
|
13
|
+
## Properties
|
14
|
+
|
15
|
+
<table><thead><tr><th>
|
16
|
+
|
17
|
+
Property
|
18
|
+
|
19
|
+
|
20
|
+
</th><th>
|
21
|
+
|
22
|
+
Modifiers
|
23
|
+
|
24
|
+
|
25
|
+
</th><th>
|
26
|
+
|
27
|
+
Type
|
28
|
+
|
29
|
+
|
30
|
+
</th><th>
|
31
|
+
|
32
|
+
Description
|
33
|
+
|
34
|
+
|
35
|
+
</th></tr></thead>
|
36
|
+
<tbody><tr><td>
|
37
|
+
|
38
|
+
[worldLoop](./server.hytopia.worldloopeventpayload.stop.worldloop.md)
|
39
|
+
|
40
|
+
|
41
|
+
</td><td>
|
42
|
+
|
43
|
+
|
44
|
+
</td><td>
|
45
|
+
|
46
|
+
[WorldLoop](./server.worldloop.md)
|
47
|
+
|
48
|
+
|
49
|
+
</td><td>
|
50
|
+
|
51
|
+
|
52
|
+
</td></tr>
|
53
|
+
</tbody></table>
|
@@ -0,0 +1,11 @@
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
+
|
3
|
+
[Home](./index.md) > [server](./server.md) > [HYTOPIA](./server.hytopia.md) > [WorldLoopEventPayload](./server.hytopia.worldloopeventpayload.md) > [Stop](./server.hytopia.worldloopeventpayload.stop.md) > [worldLoop](./server.hytopia.worldloopeventpayload.stop.worldloop.md)
|
4
|
+
|
5
|
+
## HYTOPIA.WorldLoopEventPayload.Stop.worldLoop property
|
6
|
+
|
7
|
+
**Signature:**
|
8
|
+
|
9
|
+
```typescript
|
10
|
+
worldLoop: WorldLoop;
|
11
|
+
```
|
@@ -0,0 +1,70 @@
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
+
|
3
|
+
[Home](./index.md) > [server](./server.md) > [HYTOPIA](./server.hytopia.md) > [WorldLoopEventPayload](./server.hytopia.worldloopeventpayload.md) > [TickEnd](./server.hytopia.worldloopeventpayload.tickend.md)
|
4
|
+
|
5
|
+
## HYTOPIA.WorldLoopEventPayload.TickEnd interface
|
6
|
+
|
7
|
+
**Signature:**
|
8
|
+
|
9
|
+
```typescript
|
10
|
+
interface TickEnd
|
11
|
+
```
|
12
|
+
|
13
|
+
## Properties
|
14
|
+
|
15
|
+
<table><thead><tr><th>
|
16
|
+
|
17
|
+
Property
|
18
|
+
|
19
|
+
|
20
|
+
</th><th>
|
21
|
+
|
22
|
+
Modifiers
|
23
|
+
|
24
|
+
|
25
|
+
</th><th>
|
26
|
+
|
27
|
+
Type
|
28
|
+
|
29
|
+
|
30
|
+
</th><th>
|
31
|
+
|
32
|
+
Description
|
33
|
+
|
34
|
+
|
35
|
+
</th></tr></thead>
|
36
|
+
<tbody><tr><td>
|
37
|
+
|
38
|
+
[tickDurationMs](./server.hytopia.worldloopeventpayload.tickend.tickdurationms.md)
|
39
|
+
|
40
|
+
|
41
|
+
</td><td>
|
42
|
+
|
43
|
+
|
44
|
+
</td><td>
|
45
|
+
|
46
|
+
number
|
47
|
+
|
48
|
+
|
49
|
+
</td><td>
|
50
|
+
|
51
|
+
|
52
|
+
</td></tr>
|
53
|
+
<tr><td>
|
54
|
+
|
55
|
+
[worldLoop](./server.hytopia.worldloopeventpayload.tickend.worldloop.md)
|
56
|
+
|
57
|
+
|
58
|
+
</td><td>
|
59
|
+
|
60
|
+
|
61
|
+
</td><td>
|
62
|
+
|
63
|
+
[WorldLoop](./server.worldloop.md)
|
64
|
+
|
65
|
+
|
66
|
+
</td><td>
|
67
|
+
|
68
|
+
|
69
|
+
</td></tr>
|
70
|
+
</tbody></table>
|
@@ -0,0 +1,11 @@
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
+
|
3
|
+
[Home](./index.md) > [server](./server.md) > [HYTOPIA](./server.hytopia.md) > [WorldLoopEventPayload](./server.hytopia.worldloopeventpayload.md) > [TickEnd](./server.hytopia.worldloopeventpayload.tickend.md) > [tickDurationMs](./server.hytopia.worldloopeventpayload.tickend.tickdurationms.md)
|
4
|
+
|
5
|
+
## HYTOPIA.WorldLoopEventPayload.TickEnd.tickDurationMs property
|
6
|
+
|
7
|
+
**Signature:**
|
8
|
+
|
9
|
+
```typescript
|
10
|
+
tickDurationMs: number;
|
11
|
+
```
|
@@ -0,0 +1,11 @@
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
+
|
3
|
+
[Home](./index.md) > [server](./server.md) > [HYTOPIA](./server.hytopia.md) > [WorldLoopEventPayload](./server.hytopia.worldloopeventpayload.md) > [TickEnd](./server.hytopia.worldloopeventpayload.tickend.md) > [worldLoop](./server.hytopia.worldloopeventpayload.tickend.worldloop.md)
|
4
|
+
|
5
|
+
## HYTOPIA.WorldLoopEventPayload.TickEnd.worldLoop property
|
6
|
+
|
7
|
+
**Signature:**
|
8
|
+
|
9
|
+
```typescript
|
10
|
+
worldLoop: WorldLoop;
|
11
|
+
```
|
@@ -0,0 +1,11 @@
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
+
|
3
|
+
[Home](./index.md) > [server](./server.md) > [HYTOPIA](./server.hytopia.md) > [WorldLoopEventPayload](./server.hytopia.worldloopeventpayload.md) > [TickError](./server.hytopia.worldloopeventpayload.tickerror.md) > [error](./server.hytopia.worldloopeventpayload.tickerror.error.md)
|
4
|
+
|
5
|
+
## HYTOPIA.WorldLoopEventPayload.TickError.error property
|
6
|
+
|
7
|
+
**Signature:**
|
8
|
+
|
9
|
+
```typescript
|
10
|
+
error: Error;
|
11
|
+
```
|
@@ -0,0 +1,70 @@
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
+
|
3
|
+
[Home](./index.md) > [server](./server.md) > [HYTOPIA](./server.hytopia.md) > [WorldLoopEventPayload](./server.hytopia.worldloopeventpayload.md) > [TickError](./server.hytopia.worldloopeventpayload.tickerror.md)
|
4
|
+
|
5
|
+
## HYTOPIA.WorldLoopEventPayload.TickError interface
|
6
|
+
|
7
|
+
**Signature:**
|
8
|
+
|
9
|
+
```typescript
|
10
|
+
interface TickError
|
11
|
+
```
|
12
|
+
|
13
|
+
## Properties
|
14
|
+
|
15
|
+
<table><thead><tr><th>
|
16
|
+
|
17
|
+
Property
|
18
|
+
|
19
|
+
|
20
|
+
</th><th>
|
21
|
+
|
22
|
+
Modifiers
|
23
|
+
|
24
|
+
|
25
|
+
</th><th>
|
26
|
+
|
27
|
+
Type
|
28
|
+
|
29
|
+
|
30
|
+
</th><th>
|
31
|
+
|
32
|
+
Description
|
33
|
+
|
34
|
+
|
35
|
+
</th></tr></thead>
|
36
|
+
<tbody><tr><td>
|
37
|
+
|
38
|
+
[error](./server.hytopia.worldloopeventpayload.tickerror.error.md)
|
39
|
+
|
40
|
+
|
41
|
+
</td><td>
|
42
|
+
|
43
|
+
|
44
|
+
</td><td>
|
45
|
+
|
46
|
+
Error
|
47
|
+
|
48
|
+
|
49
|
+
</td><td>
|
50
|
+
|
51
|
+
|
52
|
+
</td></tr>
|
53
|
+
<tr><td>
|
54
|
+
|
55
|
+
[worldLoop](./server.hytopia.worldloopeventpayload.tickerror.worldloop.md)
|
56
|
+
|
57
|
+
|
58
|
+
</td><td>
|
59
|
+
|
60
|
+
|
61
|
+
</td><td>
|
62
|
+
|
63
|
+
[WorldLoop](./server.worldloop.md)
|
64
|
+
|
65
|
+
|
66
|
+
</td><td>
|
67
|
+
|
68
|
+
|
69
|
+
</td></tr>
|
70
|
+
</tbody></table>
|
@@ -0,0 +1,11 @@
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
+
|
3
|
+
[Home](./index.md) > [server](./server.md) > [HYTOPIA](./server.hytopia.md) > [WorldLoopEventPayload](./server.hytopia.worldloopeventpayload.md) > [TickError](./server.hytopia.worldloopeventpayload.tickerror.md) > [worldLoop](./server.hytopia.worldloopeventpayload.tickerror.worldloop.md)
|
4
|
+
|
5
|
+
## HYTOPIA.WorldLoopEventPayload.TickError.worldLoop property
|
6
|
+
|
7
|
+
**Signature:**
|
8
|
+
|
9
|
+
```typescript
|
10
|
+
worldLoop: WorldLoop;
|
11
|
+
```
|
@@ -0,0 +1,70 @@
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
+
|
3
|
+
[Home](./index.md) > [server](./server.md) > [HYTOPIA](./server.hytopia.md) > [WorldLoopEventPayload](./server.hytopia.worldloopeventpayload.md) > [TickStart](./server.hytopia.worldloopeventpayload.tickstart.md)
|
4
|
+
|
5
|
+
## HYTOPIA.WorldLoopEventPayload.TickStart interface
|
6
|
+
|
7
|
+
**Signature:**
|
8
|
+
|
9
|
+
```typescript
|
10
|
+
interface TickStart
|
11
|
+
```
|
12
|
+
|
13
|
+
## Properties
|
14
|
+
|
15
|
+
<table><thead><tr><th>
|
16
|
+
|
17
|
+
Property
|
18
|
+
|
19
|
+
|
20
|
+
</th><th>
|
21
|
+
|
22
|
+
Modifiers
|
23
|
+
|
24
|
+
|
25
|
+
</th><th>
|
26
|
+
|
27
|
+
Type
|
28
|
+
|
29
|
+
|
30
|
+
</th><th>
|
31
|
+
|
32
|
+
Description
|
33
|
+
|
34
|
+
|
35
|
+
</th></tr></thead>
|
36
|
+
<tbody><tr><td>
|
37
|
+
|
38
|
+
[tickDeltaMs](./server.hytopia.worldloopeventpayload.tickstart.tickdeltams.md)
|
39
|
+
|
40
|
+
|
41
|
+
</td><td>
|
42
|
+
|
43
|
+
|
44
|
+
</td><td>
|
45
|
+
|
46
|
+
number
|
47
|
+
|
48
|
+
|
49
|
+
</td><td>
|
50
|
+
|
51
|
+
|
52
|
+
</td></tr>
|
53
|
+
<tr><td>
|
54
|
+
|
55
|
+
[worldLoop](./server.hytopia.worldloopeventpayload.tickstart.worldloop.md)
|
56
|
+
|
57
|
+
|
58
|
+
</td><td>
|
59
|
+
|
60
|
+
|
61
|
+
</td><td>
|
62
|
+
|
63
|
+
[WorldLoop](./server.worldloop.md)
|
64
|
+
|
65
|
+
|
66
|
+
</td><td>
|
67
|
+
|
68
|
+
|
69
|
+
</td></tr>
|
70
|
+
</tbody></table>
|
@@ -0,0 +1,11 @@
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
+
|
3
|
+
[Home](./index.md) > [server](./server.md) > [HYTOPIA](./server.hytopia.md) > [WorldLoopEventPayload](./server.hytopia.worldloopeventpayload.md) > [TickStart](./server.hytopia.worldloopeventpayload.tickstart.md) > [tickDeltaMs](./server.hytopia.worldloopeventpayload.tickstart.tickdeltams.md)
|
4
|
+
|
5
|
+
## HYTOPIA.WorldLoopEventPayload.TickStart.tickDeltaMs property
|
6
|
+
|
7
|
+
**Signature:**
|
8
|
+
|
9
|
+
```typescript
|
10
|
+
tickDeltaMs: number;
|
11
|
+
```
|
@@ -0,0 +1,11 @@
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
+
|
3
|
+
[Home](./index.md) > [server](./server.md) > [HYTOPIA](./server.hytopia.md) > [WorldLoopEventPayload](./server.hytopia.worldloopeventpayload.md) > [TickStart](./server.hytopia.worldloopeventpayload.tickstart.md) > [worldLoop](./server.hytopia.worldloopeventpayload.tickstart.worldloop.md)
|
4
|
+
|
5
|
+
## HYTOPIA.WorldLoopEventPayload.TickStart.worldLoop property
|
6
|
+
|
7
|
+
**Signature:**
|
8
|
+
|
9
|
+
```typescript
|
10
|
+
worldLoop: WorldLoop;
|
11
|
+
```
|