Table of Contents

Class RespawningTeamEventArgs

Namespace
Exiled.Events.EventArgs.Server
Assembly
Exiled.Events.dll

Contains all information before spawning a wave.

public class RespawningTeamEventArgs : IDeniableEvent, IExiledEvent
Inheritance
RespawningTeamEventArgs
Implements
Inherited Members
Extension Methods

Constructors

RespawningTeamEventArgs(List<Player>, int, SpawnableWaveBase)

Initializes a new instance of the RespawningTeamEventArgs class.

public RespawningTeamEventArgs(List<Player> players, int maxRespawn, SpawnableWaveBase wave)

Parameters

players List<Player>
maxRespawn int
wave SpawnableWaveBase

Properties

IsAllowed

Gets or sets a value indicating whether the spawn can occur.

public bool IsAllowed { get; set; }

Property Value

bool

MaximumRespawnAmount

Gets or sets the maximum amount of respawnable players.

public int MaximumRespawnAmount { get; set; }

Property Value

int

NextKnownTeam

Gets a value indicating what the next respawnable team is.

public Faction NextKnownTeam { get; }

Property Value

Faction

Players

Gets the list of players that are going to be respawned.

public List<Player> Players { get; }

Property Value

List<Player>

SpawnQueue

Gets or sets the RoleTypeId spawn queue.

public Queue<RoleTypeId> SpawnQueue { get; set; }

Property Value

Queue<RoleTypeId>

Wave

Gets or sets a value indicating what the next wave is.

public TimedWave Wave { get; set; }

Property Value

TimedWave