hytopia 0.1.90 → 0.1.92

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.
@@ -9,7 +9,7 @@ The blocks in the map
9
9
  **Signature:**
10
10
 
11
11
  ```typescript
12
- blocks: {
12
+ blocks?: {
13
13
  [coordinate: string]: number;
14
14
  };
15
15
  ```
@@ -9,5 +9,5 @@ The block types in the map.
9
9
  **Signature:**
10
10
 
11
11
  ```typescript
12
- blockTypes: BlockTypeOptions[];
12
+ blockTypes?: BlockTypeOptions[];
13
13
  ```
@@ -9,7 +9,7 @@ The entities in the map.
9
9
  **Signature:**
10
10
 
11
11
  ```typescript
12
- entities: {
12
+ entities?: {
13
13
  [position: string]: EntityOptions;
14
14
  };
15
15
  ```
@@ -37,7 +37,7 @@ Description
37
37
  </th></tr></thead>
38
38
  <tbody><tr><td>
39
39
 
40
- [blocks](./server.worldmap.blocks.md)
40
+ [blocks?](./server.worldmap.blocks.md)
41
41
 
42
42
 
43
43
  </td><td>
@@ -50,13 +50,13 @@ Description
50
50
 
51
51
  </td><td>
52
52
 
53
- The blocks in the map
53
+ _(Optional)_ The blocks in the map
54
54
 
55
55
 
56
56
  </td></tr>
57
57
  <tr><td>
58
58
 
59
- [blockTypes](./server.worldmap.blocktypes.md)
59
+ [blockTypes?](./server.worldmap.blocktypes.md)
60
60
 
61
61
 
62
62
  </td><td>
@@ -69,13 +69,13 @@ The blocks in the map
69
69
 
70
70
  </td><td>
71
71
 
72
- The block types in the map.
72
+ _(Optional)_ The block types in the map.
73
73
 
74
74
 
75
75
  </td></tr>
76
76
  <tr><td>
77
77
 
78
- [entities](./server.worldmap.entities.md)
78
+ [entities?](./server.worldmap.entities.md)
79
79
 
80
80
 
81
81
  </td><td>
@@ -88,7 +88,7 @@ The block types in the map.
88
88
 
89
89
  </td><td>
90
90
 
91
- The entities in the map.
91
+ _(Optional)_ The entities in the map.
92
92
 
93
93
 
94
94
  </td></tr>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hytopia",
3
- "version": "0.1.90",
3
+ "version": "0.1.92",
4
4
  "description": "The HYTOPIA SDK makes it easy for developers to create massively multiplayer games using JavaScript or TypeScript.",
5
5
  "main": "server.js",
6
6
  "bin": {
package/server.api.json CHANGED
@@ -33187,7 +33187,7 @@
33187
33187
  "excerptTokens": [
33188
33188
  {
33189
33189
  "kind": "Content",
33190
- "text": "blocks: "
33190
+ "text": "blocks?: "
33191
33191
  },
33192
33192
  {
33193
33193
  "kind": "Content",
@@ -33199,7 +33199,7 @@
33199
33199
  }
33200
33200
  ],
33201
33201
  "isReadonly": false,
33202
- "isOptional": false,
33202
+ "isOptional": true,
33203
33203
  "releaseTag": "Public",
33204
33204
  "name": "blocks",
33205
33205
  "propertyTypeTokenRange": {
@@ -33214,7 +33214,7 @@
33214
33214
  "excerptTokens": [
33215
33215
  {
33216
33216
  "kind": "Content",
33217
- "text": "blockTypes: "
33217
+ "text": "blockTypes?: "
33218
33218
  },
33219
33219
  {
33220
33220
  "kind": "Reference",
@@ -33231,7 +33231,7 @@
33231
33231
  }
33232
33232
  ],
33233
33233
  "isReadonly": false,
33234
- "isOptional": false,
33234
+ "isOptional": true,
33235
33235
  "releaseTag": "Public",
33236
33236
  "name": "blockTypes",
33237
33237
  "propertyTypeTokenRange": {
@@ -33246,7 +33246,7 @@
33246
33246
  "excerptTokens": [
33247
33247
  {
33248
33248
  "kind": "Content",
33249
- "text": "entities: "
33249
+ "text": "entities?: "
33250
33250
  },
33251
33251
  {
33252
33252
  "kind": "Content",
@@ -33267,7 +33267,7 @@
33267
33267
  }
33268
33268
  ],
33269
33269
  "isReadonly": false,
33270
- "isOptional": false,
33270
+ "isOptional": true,
33271
33271
  "releaseTag": "Public",
33272
33272
  "name": "entities",
33273
33273
  "propertyTypeTokenRange": {
package/server.d.ts CHANGED
@@ -4162,14 +4162,14 @@ export declare enum WorldLoopEventType {
4162
4162
  /** A map representation for a world. @public */
4163
4163
  export declare interface WorldMap {
4164
4164
  /** The block types in the map. */
4165
- blockTypes: BlockTypeOptions[];
4165
+ blockTypes?: BlockTypeOptions[];
4166
4166
  /** The blocks in the map */
4167
- blocks: {
4167
+ blocks?: {
4168
4168
  /** The global coordinate to block type id mapping. */
4169
4169
  [coordinate: string]: number;
4170
4170
  };
4171
4171
  /** The entities in the map. */
4172
- entities: {
4172
+ entities?: {
4173
4173
  /** The position to entity as entity options mapping. */
4174
4174
  [position: string]: EntityOptions;
4175
4175
  };