Added method to get admin level name

This commit is contained in:
Lennart Kampshoff
2018-10-28 02:02:21 +01:00
parent 41974426d5
commit 5b1b9db14c

View File

@@ -0,0 +1,20 @@
using reallife_gamemode.Server.Util;
using static reallife_gamemode.Server.Util.AdminLevel;
using System;
using System.Collections.Generic;
using System.Text;
namespace reallife_gamemode.Server.Extensions
{
public static class AdminLevelExtension
{
public static string ToString(this AdminLevel level)
{
switch(level)
{
case SUPPORTER:
return "Supporter";
}
}
}
}