Search Results for

    Show / Hide Table of Contents

    Class SpawnLocation

    Represents a spawn location for a Role.

    Inheritance
    System.Object
    SpawnLocation
    Implements
    IPosition
    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.API.Features.Spawn
    Assembly: Exiled.API.dll
    Syntax
    public class SpawnLocation : IPosition

    Constructors

    | Improve this Doc View Source

    SpawnLocation(RoleTypeId, Vector3, Single)

    Initializes a new instance of the SpawnLocation class.

    Declaration
    public SpawnLocation(RoleTypeId roleType, Vector3 position, float horizontalRotation)
    Parameters
    Type Name Description
    PlayerRoles.RoleTypeId roleType

    The PlayerRoles.RoleTypeId this spawn is for.

    UnityEngine.Vector3 position

    The UnityEngine.Vector3 position of the spawn.

    System.Single horizontalRotation

    The horizontal rotation of the spawn.

    Properties

    | Improve this Doc View Source

    HorizontalRotation

    Gets the horizontal rotation of the spawn.

    Declaration
    public float HorizontalRotation { get; }
    Property Value
    Type Description
    System.Single
    | Improve this Doc View Source

    Position

    Gets the position of the spawn.

    Declaration
    public Vector3 Position { get; }
    Property Value
    Type Description
    UnityEngine.Vector3
    | Improve this Doc View Source

    RoleType

    Gets the PlayerRoles.RoleTypeId the spawn is for.

    Declaration
    public RoleTypeId RoleType { get; }
    Property Value
    Type Description
    PlayerRoles.RoleTypeId

    Implements

    IPosition

    Extension Methods

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