Ejemplo n.º 1
0
        public byte[] ExportBZip2Bytes(string owner)
        {
            PoeItemsByOwner pibo = new PoeItemsByOwner();

            pibo.Owner       = owner;
            pibo.ListVersion = OwnerItemsListUpdateTime[owner];
            pibo.Items       = ItemsByOwner[owner];
            pibo.League      = LeagueIndex;
            return(Serializer <PoeItemsByOwner> .SerializeToBytesBZip2(pibo));
        }
Ejemplo n.º 2
0
        public void ExportBZip2File(string owner, string fileName)
        {
            PoeItemsByOwner pibo = new PoeItemsByOwner();

            pibo.Owner       = owner;
            pibo.ListVersion = OwnerItemsListUpdateTime[owner];
            pibo.Items       = ItemsByOwner[owner];
            pibo.League      = LeagueIndex;
            Serializer <PoeItemsByOwner> .SerializeToFileBZip2(pibo, fileName);
        }