TeamImporter

class TeamImporter(var name: String) : Team

Constructors

Link copied to clipboard
constructor(name: String)

Properties

Link copied to clipboard
open override var name: String

The unique name of the team.

Functions

Link copied to clipboard
suspend fun create()
Link copied to clipboard
open suspend override fun delete()

Deletes this team.

Link copied to clipboard
suspend fun exists(): Boolean
Link copied to clipboard
open suspend override fun getColor(): Team.TeamColor

Returns the team's display color.

Link copied to clipboard
open suspend override fun getFriendlyFire(): Boolean

Returns whether friendly fire is enabled for this team.

Link copied to clipboard
open suspend fun getName(): String

Returns the current team name.

Link copied to clipboard
open suspend override fun getTag(): String

Returns the team's chat/tag string, omitting the brackets.

Link copied to clipboard
open suspend override fun setColor(newColor: Team.TeamColor): Team

Sets the team's display color.

Link copied to clipboard
open suspend override fun setFriendlyFire(newFriendlyFire: Boolean): Team

Sets the friendly fire flag for this team.

Link copied to clipboard
open suspend override fun setName(newName: String): Team

Sets a new name for the team.

Link copied to clipboard
open suspend override fun setTag(newTag: String): Team

Sets the team's chat/tag string.