Added comments to some functions, renamed GetClientByName to GetClientByNameOrId
This commit is contained in:
@@ -17,6 +17,12 @@ namespace reallife_gamemode.Server.Extensions
|
||||
{
|
||||
public static class FactionExtension
|
||||
{
|
||||
/// <summary>
|
||||
/// Gibt das Bankkonto einer Fraktion zurück
|
||||
/// </summary>
|
||||
/// <param name="faction">Die Fraktion, dessen Bankkonto man bekommen möchte</param>
|
||||
/// <param name="context">Ein eventuell vorhandener Datenbank-Context, falls man Änderungen in der Datenbank vornehmen will</param>
|
||||
/// <returns></returns>
|
||||
public static FactionBankAccount GetFactionBankAccount(this Faction faction, DatabaseContext context = null)
|
||||
{
|
||||
if (context == null)
|
||||
|
||||
Reference in New Issue
Block a user