Exemplo n.º 1
0
        public Player GetPlayer(int id)
        {
            //Get player,player skills and player stats
            var player = new StoredPlayer().GetPlayerByPlayerID(id);
            player.Skills = new StoredSkill().GetSkillsByPlayerID(id);
            player.Feats = new StoredFeat().GetFeatsByPlayerID(id);
            player.Stats = new StoredStat().GetStatsByPlayerID(id);
            player.Race = new StoredRaces().GetPlayerRace(id);
            player.Class = new StoredClass().GetPlayerClass(id);
            player.Alignment = new StoredAlignment().GetPlayerAlignment(id);
            player.Gender = new StoredGender().GetPlayerGender(id);
            player.Inventory = new StoredInventory().GetPlayerInventory(id);

            return player;
        }
Exemplo n.º 2
0
        public List<Player> GetUserPlayers(string username)
        {
            var PlayerList = new StoredPlayer().GetUserPlayers(username);

            return PlayerList;
        }