Пример #1
0
        private static UInt32 OnCardReader(UInt32 code, Card.CardData *pData)
        {
            Card card = CardsManager.GetCard((int)code);

            if (card != null)
            {
                *pData = card.Data;
            }
            return(code);
        }
Пример #2
0
 public static Card Get(int id)
 {
     return(CardsManager.GetCard(id));
 }