Search Results for

    Show / Hide Table of Contents

    Class RespawningTeamEventArgs

    Contains all information before spawning a wave of Respawning.SpawnableTeamType.NineTailedFox or Respawning.SpawnableTeamType.ChaosInsurgency.

    Inheritance
    System.Object
    RespawningTeamEventArgs
    Implements
    IDeniableEvent
    IExiledEvent
    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 Source

    RespawningTeamEventArgs(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 Source

    IsAllowed

    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
    | Improve this Doc View Source

    MaximumRespawnAmount

    Gets or sets the maximum amount of respawnable players.

    Declaration
    public int MaximumRespawnAmount { get; set; }
    Property Value
    Type Description
    System.Int32
    | Improve this Doc View Source

    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
    | Improve this Doc View Source

    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>
    | Improve this Doc View Source

    SpawnableTeam

    Gets the current spawnable team.

    Declaration
    public SpawnableTeamHandlerBase SpawnableTeam { get; }
    Property Value
    Type Description
    Respawning.SpawnableTeamHandlerBase
    | Improve this Doc View Source

    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>

    Implements

    IDeniableEvent
    IExiledEvent

    Extension Methods

    ReflectionExtensions.CopyProperties(Object, Object)
    • Improve this Doc
    • View Source
    In This Article
    Back to top Generated by DocFX