Class WarfareVehicleExtensions
- Namespace
- Uncreated.Warfare.Vehicles.WarfareVehicles
- Assembly
- Uncreated.Warfare.dll
public static class WarfareVehicleExtensions
- Inheritance
-
WarfareVehicleExtensions
- Inherited Members
-
Methods
CanTransport(WarfareVehicleInfo, InteractableVehicle)
public static bool CanTransport(this WarfareVehicleInfo vehicleInfo, InteractableVehicle vehicle)
Parameters
vehicleInfo WarfareVehicleInfo
vehicle InteractableVehicle
Returns
- bool
CanTransport(WarfareVehicleInfo, int)
public static bool CanTransport(this WarfareVehicleInfo vehicleInfo, int passengerCt)
Parameters
vehicleInfo WarfareVehicleInfo
passengerCt int
Returns
- bool
IsAircraft(VehicleType)
public static bool IsAircraft(this VehicleType type)
Parameters
type VehicleType
Returns
- bool
IsArmor(VehicleType)
public static bool IsArmor(this VehicleType type)
Parameters
type VehicleType
Returns
- bool
IsAssaultAircraft(VehicleType)
public static bool IsAssaultAircraft(this VehicleType type)
Parameters
type VehicleType
Returns
- bool
IsCrewSeat(WarfareVehicleInfo?, int)
public static bool IsCrewSeat(this WarfareVehicleInfo? vehicleInfo, int seatIndex)
Parameters
vehicleInfo WarfareVehicleInfo
seatIndex int
Returns
- bool
IsEmplacement(VehicleType)
public static bool IsEmplacement(this VehicleType type)
Parameters
type VehicleType
Returns
- bool
IsFlyingEngine(EEngine)
public static bool IsFlyingEngine(this EEngine engine)
Parameters
engine EEngine
Returns
- bool
IsGroundVehicle(VehicleType)
public static bool IsGroundVehicle(this VehicleType type)
Parameters
type VehicleType
Returns
- bool
IsLogistics(VehicleType)
public static bool IsLogistics(this VehicleType type)
Parameters
type VehicleType
Returns
- bool