Esempio n. 1
0
        private InventoryDto ParseInventory()
        {
            var playerName      = _logParser.ParsePlayerName();
            var playerInventory = _logParser.ParsePlayerInventory();

            var dto = new InventoryDto
            {
                PlayerName       = playerName,
                WildcardCommon   = playerInventory.WcCommon,
                WildcardUncommon = playerInventory.WcUncommon,
                WildcardRare     = playerInventory.WcRare,
                WildcardMythic   = playerInventory.WcMythic,
                Gold             = playerInventory.Gold,
                Gems             = playerInventory.Gems,
                VaultProgress    = playerInventory.VaultProgress,
            };

            return(dto);
        }