public VehicleWheel this[int index]
        {
            get
            {
                VehicleWheel vehicleWheel = null;

                if (!_vehicleWheels.TryGetValue(index, out vehicleWheel))
                {
                    vehicleWheel = new VehicleWheel(_owner, index);
                    _vehicleWheels.Add(index, vehicleWheel);
                }

                return(vehicleWheel);
            }
        }
Ejemplo n.º 2
0
 public void BurstTire(VehicleWheel wheel)
 {
     Function.Call(Natives.BURST_CAR_TYRE, m_handle, (int)wheel);
 }
Ejemplo n.º 3
0
 public bool IsTireBurst(VehicleWheel wheel)
 {
     return(Function.Call <bool>(Natives.IS_CAR_TYRE_BURST, m_handle, (int)wheel));
 }