public void setPvp_Process(int seqid, TProtocol iprot, TProtocol oprot) { setPvp_args args = new setPvp_args(); args.Read(iprot); iprot.ReadMessageEnd(); setPvp_result result = new setPvp_result(); try { result.Success = iface_.setPvp(args.AuthString, args.WorldName, args.IsPvp); } catch (org.phybros.thrift.EAuthException aex) { result.Aex = aex; } catch (org.phybros.thrift.EDataException dex) { result.Dex = dex; } oprot.WriteMessageBegin(new TMessage("setPvp", TMessageType.Reply, seqid)); result.Write(oprot); oprot.WriteMessageEnd(); oprot.Transport.Flush(); }
public void send_setPvp(string authString, string worldName, bool isPvp) #endif { oprot_.WriteMessageBegin(new TMessage("setPvp", TMessageType.Call, seqid_)); setPvp_args args = new setPvp_args(); args.AuthString = authString; args.WorldName = worldName; args.IsPvp = isPvp; args.Write(oprot_); oprot_.WriteMessageEnd(); #if SILVERLIGHT return oprot_.Transport.BeginFlush(callback, state); #else oprot_.Transport.Flush(); #endif }