Class SpawningTeamVehicleEventArgs
Contains all information before the server spawns a team's respawn vehicle.
Inheritance
System.Object
SpawningTeamVehicleEventArgs
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.Map
Assembly: Exiled.Events.dll
Syntax
public class SpawningTeamVehicleEventArgs : IDeniableEvent, IExiledEvent
Constructors
| Improve this Doc View SourceSpawningTeamVehicleEventArgs(SpawnableTeamType, Boolean)
Initializes a new instance of the SpawningTeamVehicleEventArgs class.
Declaration
public SpawningTeamVehicleEventArgs(SpawnableTeamType team, bool isAllowed = true)
Parameters
Type | Name | Description |
---|---|---|
Respawning.SpawnableTeamType | team | The team who the vehicle belongs to. |
System.Boolean | isAllowed |
Properties
| Improve this Doc View SourceIsAllowed
Gets or sets a value indicating whether or not the vehicle can be spawned.
Declaration
public bool IsAllowed { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Team
Gets or sets which vehicle should spawn.
Declaration
public SpawnableTeamType Team { get; set; }
Property Value
Type | Description |
---|---|
Respawning.SpawnableTeamType |