Exemplo n.º 1
0
        public ActionResult Modal_EmptyItem(bool?request)
        {
            if (request.HasValue && request.Value)
            {
                PlayerTask.CreateTask("acquisition", Player.CurrentPlayer.id);
                return(null);
            }

            if (Player.CurrentPlayer == null)
            {
                return(Content(""));
            }
            return(View());
        }
Exemplo n.º 2
0
 public EmptyResult AssignTask(string id, Guid playerId)
 {
     PlayerTask.CreateTask(id, playerId);
     return(null);
 }