33 lines
935 B
C#
33 lines
935 B
C#
using GTANetworkAPI;
|
|
using ReallifeGamemode.Database.Entities;
|
|
using ReallifeGamemode.Server.Extensions;
|
|
using ReallifeGamemode.Server.Inventory.Interfaces;
|
|
using ReallifeGamemode.Server.Managers;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
|
|
namespace ReallifeGamemode.Server.Inventory.Items
|
|
{
|
|
public abstract class WeaponDealItem : IWeaponDealItem
|
|
{
|
|
public abstract int Id { get; }
|
|
public abstract string Name { get; }
|
|
public abstract string Description { get; }
|
|
public abstract int Gewicht { get; }
|
|
public abstract string Einheit { get; }
|
|
public abstract uint Object { get; }
|
|
public abstract int Price { get; }
|
|
|
|
public bool noTransfer(Client client, UserItem uItem, FactionVehicle fVeh)
|
|
{
|
|
if (fVeh.FactionId != client.GetUser().FactionId)
|
|
return false;
|
|
if (fVeh.Model != VehicleHash.Burrito3)
|
|
return false;
|
|
|
|
return true;
|
|
}
|
|
}
|
|
}
|