Initial Commit for user-backend, preparing several systems

This commit is contained in:
VegaZ
2018-09-23 20:24:45 +02:00
parent af8c16d03d
commit d2be4d156c
8 changed files with 207 additions and 5 deletions

View File

@@ -1,4 +1,5 @@
using reallife_gamemode.Server.Util;
using GTANetworkAPI;
using reallife_gamemode.Server.Util;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
@@ -31,6 +32,9 @@ namespace reallife_gamemode.Server.Entities
[StringLength(64)]
public string Email { get; set; }
public AdminLevel AdminLevel { get; set; }
public float PositionX { get; set; }
public float PositionY { get; set; }
public float PositionZ { get; set; }
public bool IsAdmin(AdminLevel level) => AdminLevel >= level;
}