Example #1
0
 int toInt(ItemChangeInfo pItemChangeInfo)
 {
     var lBitData = new zz.IntBitIO();
     lBitData.write(pItemChangeInfo.count, 14);
     lBitData.write(pItemChangeInfo.itemId, 14);
     lBitData.write(pItemChangeInfo.index, 4);
     return lBitData.date;
 }
Example #2
0
 void ItemBagChange(int pData)
 {
     var lBitData = new zz.IntBitIO(pData);
     ItemBagChange(lBitData.readToInt(4), lBitData.readToInt(14), lBitData.readToInt(14));
 }