Class RespawningTeamEventArgs
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
Properties
IsAllowed
Gets or sets a value indicating whether the spawn can occur.
public bool IsAllowed { get; set; }
Property Value
MaximumRespawnAmount
Gets or sets the maximum amount of respawnable players.
public int MaximumRespawnAmount { get; set; }
Property Value
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
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; }