Class RoleSpawnPoint
Defines a spawn point that follows a base-game role spawn point.
Implements
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 RoleSpawnPoint : SpawnPoint, IPosition
Properties
| Improve this Doc View SourceChance
Declaration
public override float Chance { get; set; }
Property Value
Type | Description |
---|---|
System.Single |
Overrides
| Improve this Doc View SourceName
Declaration
[YamlIgnore]
public override string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
| Improve this Doc View SourcePosition
Declaration
[YamlIgnore]
public override Vector3 Position { get; set; }
Property Value
Type | Description |
---|---|
UnityEngine.Vector3 |
Overrides
| Improve this Doc View SourceRole
Gets or sets the role type used for this spawn.
Declaration
public RoleTypeId Role { get; set; }
Property Value
Type | Description |
---|---|
PlayerRoles.RoleTypeId |