Exemple #1
0
        private static int _CompLockLevel(ShipModel a, ShipModel b)
        {
            int num = DeckUtil.__CompLock(a, b);

            if (num != 0)
            {
                return(num);
            }
            num = DeckUtil.__CompLevel(a, b);
            if (num != 0)
            {
                return(num);
            }
            return(DeckUtil.__CompLov(a, b));
        }
Exemple #2
0
        private static int _CompSType(ShipModel a, ShipModel b)
        {
            int num = DeckUtil.__CompStype(a, b);

            if (num != 0)
            {
                return(num);
            }
            num = DeckUtil.__CompSortNo(a, b);
            if (num != 0)
            {
                return(num);
            }
            num = DeckUtil.__CompLevel(a, b);
            if (num != 0)
            {
                return(num);
            }
            return(DeckUtil.__CompGetNo(a, b));
        }