Exemplo n.º 1
0
        //-------------------------------------------------------------------------
        public override void load(EbPropSet prop_set)
        {
            MallItemInfo = new TbMallItemInfo();
            MallItemInfo.MallBuyPrice  = prop_set.getPropInt("I_MallBuyPrice").get();
            MallItemInfo.MallSellPrice = prop_set.getPropInt("I_MallSellPrice").get();
            MallItemInfo.MallSellNum   = prop_set.getPropInt("I_MallSellNum").get();
            MallItemInfo.MallBuyNum    = prop_set.getPropInt("I_MallBuyNum").get();
            MallItemInfo.MallShelves   = prop_set.getPropInt("I_MallShelves").get() == 0 ? false : true;

            MarketItemInfo                = new TbMarketItemInfo();
            MarketItemInfo.SellPrice      = prop_set.getPropInt("I_MarcketSellPrice").get();
            MarketItemInfo.FactoragePrice = prop_set.getPropInt("I_MarcketFactoragePrice").get();
            MarketItemInfo.SafeKeePrice   = prop_set.getPropInt("I_MarcketSafeKeepPrice").get();
            MarketItemInfo.Shelves        = prop_set.getPropInt("I_MarcketShelves").get() == 0 ? false : true;

            AuctionHouseItemInfo                = new TbAuctionHouseItemInfo();
            AuctionHouseItemInfo.SellPrice      = prop_set.getPropInt("I_AuctionHouseSellPrice").get();
            AuctionHouseItemInfo.FactoragePrice = prop_set.getPropInt("I_AuctionHouseFactoragePrice").get();
            AuctionHouseItemInfo.SafeKeePrice   = prop_set.getPropInt("I_AuctionHouseSafeKeepPrice").get();
        }
Exemplo n.º 2
0
        //-------------------------------------------------------------------------
        public override void load(EbPropSet prop_set)
        {
            MallItemInfo = new TbMallItemInfo();
            MallItemInfo.MallBuyPrice = prop_set.getPropInt("I_MallBuyPrice").get();
            MallItemInfo.MallSellPrice = prop_set.getPropInt("I_MallSellPrice").get();
            MallItemInfo.MallSellNum = prop_set.getPropInt("I_MallSellNum").get();
            MallItemInfo.MallBuyNum = prop_set.getPropInt("I_MallBuyNum").get();
            MallItemInfo.MallShelves = prop_set.getPropInt("I_MallShelves").get() == 0 ? false : true;

            MarketItemInfo = new TbMarketItemInfo();
            MarketItemInfo.SellPrice = prop_set.getPropInt("I_MarcketSellPrice").get();
            MarketItemInfo.FactoragePrice = prop_set.getPropInt("I_MarcketFactoragePrice").get();
            MarketItemInfo.SafeKeePrice = prop_set.getPropInt("I_MarcketSafeKeepPrice").get();
            MarketItemInfo.Shelves = prop_set.getPropInt("I_MarcketShelves").get() == 0 ? false : true;

            AuctionHouseItemInfo = new TbAuctionHouseItemInfo();
            AuctionHouseItemInfo.SellPrice = prop_set.getPropInt("I_AuctionHouseSellPrice").get();
            AuctionHouseItemInfo.FactoragePrice = prop_set.getPropInt("I_AuctionHouseFactoragePrice").get();
            AuctionHouseItemInfo.SafeKeePrice = prop_set.getPropInt("I_AuctionHouseSafeKeepPrice").get();
        }