예제 #1
0
 public void money(Player player, money2Command command, Target target)
 {
     if (target.Players.Count() != 0)
     {
         money(player, command, target.Players.FirstOrDefault().Username, 0);
     }
 }
예제 #2
0
        public void money(Player player, money2Command command, string username, int count)
        {
            string low_name = player.Username.ToLowerInvariant();

            switch (command)
            {
            case money2Command.pay:
                payCommand(player, username, count);
                break;

            case money2Command.view:
                viewCommand(player, username);
                break;

            case money2Command.top:
                topCommand(player);
                break;
            }
        }
예제 #3
0
 public void money(Player player, money2Command command, string username) => money(player, command, username, 0);
예제 #4
0
 public void money(Player player, money2Command команда) => money(player, команда, new Target());