payday frakgeld geht brrrrr

This commit is contained in:
hydrant
2020-04-13 12:31:20 +02:00
parent eb25db30fd
commit b45d2ef728
6 changed files with 24 additions and 6 deletions

View File

@@ -37,7 +37,10 @@ namespace ReallifeGamemode.Server.Finance
[JsonProperty("healthInsurance")]
public int HealthInsurance { get; set; } = 0;
public Paycheck(float FinancialHelp, float FinancialInterest, int VehicleTaxation, float PropertyTaxation, int Wage, int Amount, int RentalFees, int HealthInsurance)
[JsonProperty("factionMoney")]
public int? FactionMoney { get; set; } = 0;
public Paycheck(float FinancialHelp, float FinancialInterest, int VehicleTaxation, float PropertyTaxation, int Wage, int Amount, int RentalFees, int HealthInsurance, int? FactionMoney)
{
this.FinancialHelp = FinancialHelp;
this.FinancialInterest = FinancialInterest;
@@ -47,6 +50,7 @@ namespace ReallifeGamemode.Server.Finance
this.Amount = Amount;
this.RentalFees = RentalFees;
this.HealthInsurance = HealthInsurance;
this.FactionMoney = FactionMoney;
}
}
}