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

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