Class RespawningTeamEventArgs
Contains all information before spawning a wave of Respawning.SpawnableTeamType.NineTailedFox or Respawning.SpawnableTeamType.ChaosInsurgency.
Inheritance
System.Object
RespawningTeamEventArgs
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Exiled.Events.EventArgs.Server
Assembly: Exiled.Events.dll
Syntax
public class RespawningTeamEventArgs : IDeniableEvent, IExiledEvent
Constructors
| Improve this Doc View SourceRespawningTeamEventArgs(List<Player>, Int32, SpawnableTeamType, Boolean)
Initializes a new instance of the RespawningTeamEventArgs class.
Declaration
public RespawningTeamEventArgs(List<Player> players, int maxRespawn, SpawnableTeamType nextKnownTeam, bool isAllowed = true)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.List<Player> | players | |
System.Int32 | maxRespawn | |
Respawning.SpawnableTeamType | nextKnownTeam | |
System.Boolean | isAllowed |
Properties
| Improve this Doc View SourceIsAllowed
Gets or sets a value indicating whether or not the spawn can occur.
Declaration
public bool IsAllowed { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
MaximumRespawnAmount
Gets or sets the maximum amount of respawnable players.
Declaration
public int MaximumRespawnAmount { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
NextKnownTeam
Gets or sets a value indicating what the next respawnable team is.
Declaration
public SpawnableTeamType NextKnownTeam { get; set; }
Property Value
Type | Description |
---|---|
Respawning.SpawnableTeamType |
Players
Gets the list of players that are going to be respawned.
Declaration
public List<Player> Players { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<Player> |
SpawnableTeam
Gets the current spawnable team.
Declaration
public SpawnableTeamHandlerBase SpawnableTeam { get; }
Property Value
Type | Description |
---|---|
Respawning.SpawnableTeamHandlerBase |
SpawnQueue
Gets or sets the RoleTypeId spawn queue.
Declaration
public Queue<RoleTypeId> SpawnQueue { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.Queue<PlayerRoles.RoleTypeId> |