示例#1
0
文件: LayerExt.cs 项目: LordEnigma/UO
        public static int CompareLayer(this Item item, Item other)
        {
            int res = 0;

            if (item.CompareNull(other, ref res))
            {
                return(res);
            }

            return(CompareLayer(Fix(item.Layer, item.ItemID), Fix(other.Layer, other.ItemID)));
        }