Exemple #1
0
 // Token: 0x06004EC3 RID: 20163 RVA: 0x0017D69C File Offset: 0x0017B89C
 public static CardPool PBCardPoolToCardPool(ProCardPool pbCardPool)
 {
     return(new CardPool(pbCardPool.CardPoolId)
     {
         SelectCardCount = pbCardPool.SelectCount,
         DisconnectCount = pbCardPool.DiscountCount
     });
 }
Exemple #2
0
        // Token: 0x06004EC6 RID: 20166 RVA: 0x0017D780 File Offset: 0x0017B980
        public static List <ProCardPool> CardPoolsToPBActivityCardPools(List <CardPool> cardPools)
        {
            List <ProCardPool> list = new List <ProCardPool>();

            foreach (CardPool cardPool in cardPools)
            {
                ProCardPool proCardPool = CardPool.CardPoolToPBCardPool(cardPool);
                if (proCardPool != null)
                {
                    list.Add(proCardPool);
                }
            }
            return(list);
        }
    public static int CardPoolToPBCardPool_s(IntPtr l)
    {
        int result;

        try
        {
            CardPool cardPool;
            LuaObject.checkType <CardPool>(l, 1, out cardPool);
            ProCardPool o = CardPool.CardPoolToPBCardPool(cardPool);
            LuaObject.pushValue(l, true);
            LuaObject.pushValue(l, o);
            result = 2;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }