Пример #1
0
 public void updateInventoryItem_Process(int seqid, TProtocol iprot, TProtocol oprot)
 {
   updateInventoryItem_args args = new updateInventoryItem_args();
   args.Read(iprot);
   iprot.ReadMessageEnd();
   updateInventoryItem_result result = new updateInventoryItem_result();
   try {
     result.Success = iface_.updateInventoryItem(args.AuthString, args.PlayerName, args.Item, args.ItemIndex);
   } catch (org.phybros.thrift.EAuthException aex) {
     result.Aex = aex;
   } catch (org.phybros.thrift.EDataException dex) {
     result.Dex = dex;
   }
   oprot.WriteMessageBegin(new TMessage("updateInventoryItem", TMessageType.Reply, seqid)); 
   result.Write(oprot);
   oprot.WriteMessageEnd();
   oprot.Transport.Flush();
 }