Extend data service
This commit is contained in:
@@ -13,5 +13,29 @@ namespace ReallifeGamemode.DataService.Types
|
||||
public AdminLevel AdminLevel { get; set; }
|
||||
|
||||
public DateTime RegistrationDate { get; set; }
|
||||
|
||||
public int RegisteredSince => (int)(DateTime.Now - RegistrationDate).TotalDays;
|
||||
|
||||
public int HandMoney { get; set; }
|
||||
|
||||
public int BankMoney { get; set; }
|
||||
|
||||
public string FactionName { get; set; }
|
||||
|
||||
public string FactionRankName { get; set; }
|
||||
|
||||
public string Job { get; set; }
|
||||
|
||||
public int WantedLevel { get; set; }
|
||||
|
||||
public bool CarDrivingLicense { get; set; }
|
||||
|
||||
public bool BikeDrivingLicense { get; set; }
|
||||
|
||||
public bool BoatLicense { get; set; }
|
||||
|
||||
public bool HelicopterLicense { get; set; }
|
||||
|
||||
public bool PlaneLicense { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user