Esempio n. 1
0
 public override bool RequestVehicleEvent(IVehicleFactoryGameObj factory, IVehicleGameObjDef vehicle, IcPlayer player, float delay)
 {
     return(true);
 }
Esempio n. 2
0
 public override void VehiclePurchaseEvent(IcPlayer player, float cost, IVehicleGameObjDef item)
 {
 }
Esempio n. 3
0
 public override int VehiclePurchaseRequestEvent(IBaseControllerClass baseController, IcPlayer player, ref float cost, IVehicleGameObjDef item)
 {
     return(-1);
 }
Esempio n. 4
0
        public override int VehiclePurchaseRequest(ref float cost, IVehicleGameObjDef item)
        {
            cost *= 0.8f; //20% discount on vehicles.

            return(-1);
        }
Esempio n. 5
0
 public override void VehiclePurchase(float cost, IVehicleGameObjDef item)
 {
 }
 public override int VehiclePurchaseRequest(ref float cost, IVehicleGameObjDef item)
 {
     return(-1);
 }