Almost finished base business system backend

This commit is contained in:
hydrant
2018-11-22 22:19:34 +01:00
parent a72d65eb18
commit 054e9159e1
5 changed files with 87 additions and 15 deletions

View File

@@ -2,11 +2,9 @@
using reallife_gamemode.Model;
using reallife_gamemode.Server.Util;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
/**
* @overview Life of German Reallife - Entities User (User.cs)
@@ -146,5 +144,10 @@ namespace reallife_gamemode.Server.Entities
return databaseContext.UserBankAccounts.FirstOrDefault(u => u.UserId == this.Id);
}
}
public Client GetClient()
{
return NAPI.Player.GetPlayerFromName(Name);
}
}
}