Add Paycheck to interaction menu

This commit is contained in:
hydrant
2019-07-30 19:05:49 +02:00
parent db005f30fc
commit 933760d773
6 changed files with 74 additions and 8 deletions

View File

@@ -3,6 +3,7 @@ using System.Collections.Generic;
using System.Linq;
using System.Text;
using GTANetworkAPI;
using Newtonsoft.Json;
using ReallifeGamemode.Server.Entities;
using ReallifeGamemode.Server.Extensions;
using ReallifeGamemode.Server.Models;
@@ -12,12 +13,25 @@ namespace ReallifeGamemode.Server.Finance
{
public class Paycheck
{
[JsonProperty("financialHelp")]
public float FinancialHelp { get; set; } = 0;
[JsonProperty("financialInterest")]
public float FinancialInterest { get; set; } = 0;
[JsonProperty("vehicleTaxation")]
public int VehicleTaxation { get; set; } = 0;
[JsonProperty("propertyTaxation")]
public float PropertyTaxation { get; set; } = 0;
[JsonProperty("wage")]
public int Wage { get; set; } = 0;
[JsonProperty("amount")]
public int Amount { get; set; } = 0;
[JsonProperty("rentalFees")]
public int RentalFees { get; set; } = 0;
public Paycheck(float FinancialHelp, float FinancialInterest, int VehicleTaxation, float PropertyTaxation, int Wage, int Amount, int RentalFees)