-
Notifications
You must be signed in to change notification settings - Fork 0
Blueprint
github-actions[bot] edited this page Oct 27, 2025
·
39 revisions
Represents the basic information (blueprints) of the entire game, the possible settings, and the predefined and configured options.
Set the ID of the blueprint.setId(id): void
setId(id): void| Name | Type | Description |
|---|---|---|
| id | string |
The ID of the blueprint. |
Set the version of the blueprint.setVersion(commit): void
setVersion(commit): void| Name | Type | Description |
|---|---|---|
| commit | string |
The version (`SHA-256` commit version) of the blueprint. |
Set the name of the blueprint.setName(name): void
setName(name): void| Name | Type | Description |
|---|---|---|
| name | string |
The name of the blueprint. |
Sets the list of available thumbnails.setThumbnails(thumbnails): void
setThumbnails(thumbnails): void| Name | Type | Description |
|---|---|---|
| thumbnails | string[] |
Get a stored thumbnail by index.getThumbnail(index): string
getThumbnail(index): string| Name | Type | Description |
|---|---|---|
| index | number |
stringAdds a new thumbnail to the list of available thumbnails.addThumbnail(url): void
addThumbnail(url): void| Name | Type | Description |
|---|---|---|
| url | string |
The URL of the thumbnail to add. |
Deletes an assigned thumbnail.removeThumbnail(index): void
removeThumbnail(index): void| Name | Type | Description |
|---|---|---|
| index | number |
The index of the thumbnail to delete. |
Adds a tag to the list of tags.addTag(tag): void
addTag(tag): void| Name | Type | Description |
|---|---|---|
| tag | Tag |
The tag to add |
Removes a tag from the list of tags.removeTag(index): void
removeTag(index): void| Name | Type | Description |
|---|---|---|
| index | number |
The index of the tag to remove |
Returns all options, optionally filtered by category.getOptions(category?): Option[]
getOptions(category?): Option[]| Name | Type | Description |
|---|---|---|
| category (optional) | string | undefined |
Optional category name to filter by. If not provided, returns all options. |
Option[]Checks if a specific category exists in any of the options.hasCategory(category): boolean
hasCategory(category): boolean| Name | Type | Description |
|---|---|---|
| category | string |
The category name to check |
booleanConverts the received JSON data into a Blueprint object.fromJSON(json): Blueprint
fromJSON(json): Blueprint| Name | Type | Description |
|---|---|---|
| json | any |
The JSON data to convert. |
BlueprintThe actual abstraction layer for retrieving or sending data from the portal server.
⠀⠀
⠀⠀
⠀⠀
The actual abstraction layer for retrieving or sending data from the portal server.
⠀⠀
⠀⠀
⠀⠀


⠀⠀
Model data for simplified use of the data.
⠀⠀
⠀⠀
⠀⠀
⠀⠀
⠀⠀
⠀⠀
⠀⠀
⠀⠀
⠀⠀
⠀⠀
Static data and informations.
⠀⠀
⠀⠀
⠀⠀