[+] Add Driving License to Interaction Menu and as 'Object' to show other Players via the Interaction menu

This commit is contained in:
Lukas Moungos
2019-11-02 18:36:17 +01:00
parent e3c3949f1b
commit c46c778a47
14 changed files with 296 additions and 26 deletions

View File

@@ -0,0 +1,28 @@
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Text;
namespace ReallifeGamemode.Server.DrivingSchool
{
public class Licenses
{
[JsonProperty("drivingLicenseCar")]
public bool CarLicense { get; set; }
[JsonProperty("drivingLicenseBike")]
public bool BikeLicense { get; set; }
[JsonProperty("flightLicensePlane")]
public bool PlaneLicense { get; set; }
public Licenses(bool CarLicense, bool BikeLicense, bool PlaneLicense)
{
this.CarLicense = CarLicense;
this.BikeLicense = BikeLicense;
this.PlaneLicense = PlaneLicense;
}
}
}