Пример #1
0
    public static bool IsHighPriority2Weight(int commodityId1, int commodityId2)
    {
        ShangPinKu commodityPool  = MarketManager.GetCommodityPool(commodityId1);
        ShangPinKu commodityPool2 = MarketManager.GetCommodityPool(commodityId2);

        return(commodityPool != null && commodityPool2 != null && commodityPool.weight > commodityPool2.weight);
    }