コード例 #1
0
ファイル: InventoryHandler.cs プロジェクト: Sadikk/BlueSheep
 public static void ExchangeShopStockStartedMessageTreatment(Message message, byte[] packetDatas, AccountUC account)
 {
     ExchangeShopStockStartedMessage msg = (ExchangeShopStockStartedMessage)message;
     using (BigEndianReader reader = new BigEndianReader(packetDatas))
     {
         msg.Deserialize(reader);
     }
     account.actualizeshop(msg.objectsInfos.ToList());
     if (account.NeedToAddItem())
     { account.addItemToShop(); }
 }