Beispiel #1
0
        public static string UnbanById(string str, Account player)
        {
            Account account = AccountManager.getAccount(long.Parse(str.Substring(5)), 0);

            return(UnBan.BaseUnbanNormal(player, account));
        }
Beispiel #2
0
        public static string UnbanByNick(string str, Account player)
        {
            Account account = AccountManager.getAccount(str.Substring(4), 1, 0);

            return(UnBan.BaseUnbanNormal(player, account));
        }