public void removeInventoryItem_Process(int seqid, TProtocol iprot, TProtocol oprot) { removeInventoryItem_args args = new removeInventoryItem_args(); args.Read(iprot); iprot.ReadMessageEnd(); removeInventoryItem_result result = new removeInventoryItem_result(); try { result.Success = iface_.removeInventoryItem(args.AuthString, args.PlayerName, args.ItemIndex); } catch (org.phybros.thrift.EAuthException aex) { result.Aex = aex; } catch (org.phybros.thrift.EDataException dex) { result.Dex = dex; } oprot.WriteMessageBegin(new TMessage("removeInventoryItem", TMessageType.Reply, seqid)); result.Write(oprot); oprot.WriteMessageEnd(); oprot.Transport.Flush(); }
public void send_removeInventoryItem(string authString, string playerName, int itemIndex) #endif { oprot_.WriteMessageBegin(new TMessage("removeInventoryItem", TMessageType.Call, seqid_)); removeInventoryItem_args args = new removeInventoryItem_args(); args.AuthString = authString; args.PlayerName = playerName; args.ItemIndex = itemIndex; args.Write(oprot_); oprot_.WriteMessageEnd(); #if SILVERLIGHT return oprot_.Transport.BeginFlush(callback, state); #else oprot_.Transport.Flush(); #endif }