Skip to content
github-actions[bot] edited this page Oct 27, 2025 · 34 revisions

Author: Adrian Preuß

Since: 1.0.0

Constructor

new Team(teamId, capacity)

Parameters
Name Type Description
teamId (optional)
number
The team ID. (default: 0)
capacity (optional)
number
The team capacity. (default: 0)

Methods

Gets the team ID.
getId(): number
Returns
number

Sets the team ID.
setId(teamId): void
Parameters
Name Type Description
teamId
number
The team ID.

Gets the team capacity.
getCapacity(): number
Returns
number

Sets the team capacity.
setCapacity(capacity): void
Parameters
Name Type Description
capacity
number
The team capacity.

Populates the team from a JSON object.
fromJSON(team): Team
Parameters
Name Type Description
team
any
The JSON object.
Returns
Team

Converts the team to a JSON object.
toJSON(): any
Returns
any

General

The actual abstraction layer for retrieving or sending data from the portal server.

⠀⠀ Installation

⠀⠀ Usage

⠀⠀ Examples

Backends

The actual abstraction layer for retrieving or sending data from the portal server.

⠀⠀ Blueprints

⠀⠀ Experience

⠀⠀ Mods⠀⠀⠀⠀

⠀⠀ PlayElements

Models

Model data for simplified use of the data.

⠀⠀ Blueprint

⠀⠀ Creator

⠀⠀ Design

⠀⠀ Map

⠀⠀ MapRotation

⠀⠀ Option

⠀⠀ PlayElement

⠀⠀ Settings

⠀⠀ Tag

⠀⠀ Team

⠀⠀ TeamComposition

Enum

Static data and informations.

⠀⠀ CreatorType

⠀⠀ OptionType

⠀⠀ Status


Clone this wiki locally