Class SpawningTeamVehicleEventArgs
Contains all information before the server spawns a team's respawn vehicle.
public class SpawningTeamVehicleEventArgs : IDeniableEvent, IExiledEvent
- Inheritance
-
SpawningTeamVehicleEventArgs
- Implements
- Inherited Members
- Extension Methods
Constructors
SpawningTeamVehicleEventArgs(SpawnableWaveBase, bool)
Initializes a new instance of the SpawningTeamVehicleEventArgs class.
public SpawningTeamVehicleEventArgs(SpawnableWaveBase team, bool isAllowed = true)
Parameters
team
SpawnableWaveBaseThe team who the vehicle belongs to.
isAllowed
bool
Properties
IsAllowed
Gets or sets a value indicating whether the vehicle can be spawned.
public bool IsAllowed { get; set; }
Property Value
Team
Gets or sets which vehicle should spawn.
public SpawnableWaveBase Team { get; set; }
Property Value
- SpawnableWaveBase