// // Generated by the protocol buffer compiler. DO NOT EDIT! // source: Services.proto // #pragma warning disable 0414, 1591, 8981 #region Designer generated code using grpc = global::Grpc.Core; namespace Protobuf { public static partial class AvailableService { static readonly string __ServiceName = "protobuf.AvailableService"; [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static void __Helper_SerializeMessage(global::Google.Protobuf.IMessage message, grpc::SerializationContext context) { #if !GRPC_DISABLE_PROTOBUF_BUFFER_SERIALIZATION if (message is global::Google.Protobuf.IBufferMessage) { context.SetPayloadLength(message.CalculateSize()); global::Google.Protobuf.MessageExtensions.WriteTo(message, context.GetBufferWriter()); context.Complete(); return; } #endif context.Complete(global::Google.Protobuf.MessageExtensions.ToByteArray(message)); } [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static class __Helper_MessageCache { public static readonly bool IsBufferMessage = global::System.Reflection.IntrospectionExtensions.GetTypeInfo(typeof(global::Google.Protobuf.IBufferMessage)).IsAssignableFrom(typeof(T)); } [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static T __Helper_DeserializeMessage(grpc::DeserializationContext context, global::Google.Protobuf.MessageParser parser) where T : global::Google.Protobuf.IMessage { #if !GRPC_DISABLE_PROTOBUF_BUFFER_SERIALIZATION if (__Helper_MessageCache.IsBufferMessage) { return parser.ParseFrom(context.PayloadAsReadOnlySequence()); } #endif return parser.ParseFrom(context.PayloadAsNewBuffer()); } [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Marshaller __Marshaller_protobuf_IDMsg = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Protobuf.IDMsg.Parser)); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Marshaller __Marshaller_protobuf_BoolRes = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Protobuf.BoolRes.Parser)); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Marshaller __Marshaller_protobuf_PlayerMsg = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Protobuf.PlayerMsg.Parser)); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Marshaller __Marshaller_protobuf_MessageToClient = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Protobuf.MessageToClient.Parser)); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Marshaller __Marshaller_protobuf_MoveMsg = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Protobuf.MoveMsg.Parser)); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Marshaller __Marshaller_protobuf_MoveRes = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Protobuf.MoveRes.Parser)); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Marshaller __Marshaller_protobuf_PropMsg = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Protobuf.PropMsg.Parser)); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Marshaller __Marshaller_protobuf_SkillMsg = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Protobuf.SkillMsg.Parser)); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Marshaller __Marshaller_protobuf_SendMsg = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Protobuf.SendMsg.Parser)); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Marshaller __Marshaller_protobuf_AttackMsg = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Protobuf.AttackMsg.Parser)); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Method __Method_TryConnection = new grpc::Method( grpc::MethodType.Unary, __ServiceName, "TryConnection", __Marshaller_protobuf_IDMsg, __Marshaller_protobuf_BoolRes); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Method __Method_AddPlayer = new grpc::Method( grpc::MethodType.ServerStreaming, __ServiceName, "AddPlayer", __Marshaller_protobuf_PlayerMsg, __Marshaller_protobuf_MessageToClient); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Method __Method_Move = new grpc::Method( grpc::MethodType.Unary, __ServiceName, "Move", __Marshaller_protobuf_MoveMsg, __Marshaller_protobuf_MoveRes); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Method __Method_PickProp = new grpc::Method( grpc::MethodType.Unary, __ServiceName, "PickProp", __Marshaller_protobuf_PropMsg, __Marshaller_protobuf_BoolRes); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Method __Method_UseProp = new grpc::Method( grpc::MethodType.Unary, __ServiceName, "UseProp", __Marshaller_protobuf_PropMsg, __Marshaller_protobuf_BoolRes); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Method __Method_ThrowProp = new grpc::Method( grpc::MethodType.Unary, __ServiceName, "ThrowProp", __Marshaller_protobuf_PropMsg, __Marshaller_protobuf_BoolRes); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Method __Method_UseSkill = new grpc::Method( grpc::MethodType.Unary, __ServiceName, "UseSkill", __Marshaller_protobuf_SkillMsg, __Marshaller_protobuf_BoolRes); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Method __Method_SendMessage = new grpc::Method( grpc::MethodType.Unary, __ServiceName, "SendMessage", __Marshaller_protobuf_SendMsg, __Marshaller_protobuf_BoolRes); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Method __Method_StartLearning = new grpc::Method( grpc::MethodType.Unary, __ServiceName, "StartLearning", __Marshaller_protobuf_IDMsg, __Marshaller_protobuf_BoolRes); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Method __Method_StartRescueMate = new grpc::Method( grpc::MethodType.Unary, __ServiceName, "StartRescueMate", __Marshaller_protobuf_IDMsg, __Marshaller_protobuf_BoolRes); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Method __Method_StartTreatMate = new grpc::Method( grpc::MethodType.Unary, __ServiceName, "StartTreatMate", __Marshaller_protobuf_IDMsg, __Marshaller_protobuf_BoolRes); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Method __Method_Attack = new grpc::Method( grpc::MethodType.Unary, __ServiceName, "Attack", __Marshaller_protobuf_AttackMsg, __Marshaller_protobuf_BoolRes); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Method __Method_Graduate = new grpc::Method( grpc::MethodType.Unary, __ServiceName, "Graduate", __Marshaller_protobuf_IDMsg, __Marshaller_protobuf_BoolRes); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Method __Method_OpenDoor = new grpc::Method( grpc::MethodType.Unary, __ServiceName, "OpenDoor", __Marshaller_protobuf_IDMsg, __Marshaller_protobuf_BoolRes); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Method __Method_CloseDoor = new grpc::Method( grpc::MethodType.Unary, __ServiceName, "CloseDoor", __Marshaller_protobuf_IDMsg, __Marshaller_protobuf_BoolRes); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Method __Method_SkipWindow = new grpc::Method( grpc::MethodType.Unary, __ServiceName, "SkipWindow", __Marshaller_protobuf_IDMsg, __Marshaller_protobuf_BoolRes); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Method __Method_StartOpenGate = new grpc::Method( grpc::MethodType.Unary, __ServiceName, "StartOpenGate", __Marshaller_protobuf_IDMsg, __Marshaller_protobuf_BoolRes); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Method __Method_StartOpenChest = new grpc::Method( grpc::MethodType.Unary, __ServiceName, "StartOpenChest", __Marshaller_protobuf_IDMsg, __Marshaller_protobuf_BoolRes); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Method __Method_EndAllAction = new grpc::Method( grpc::MethodType.Unary, __ServiceName, "EndAllAction", __Marshaller_protobuf_IDMsg, __Marshaller_protobuf_BoolRes); /// Service descriptor public static global::Google.Protobuf.Reflection.ServiceDescriptor Descriptor { get { return global::Protobuf.ServicesReflection.Descriptor.Services[0]; } } /// Base class for server-side implementations of AvailableService [grpc::BindServiceMethod(typeof(AvailableService), "BindService")] public abstract partial class AvailableServiceBase { [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual global::System.Threading.Tasks.Task TryConnection(global::Protobuf.IDMsg request, grpc::ServerCallContext context) { throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); } /// /// 游戏开局调用一次的服务 /// /// The request received from the client. /// Used for sending responses back to the client. /// The context of the server-side call handler being invoked. /// A task indicating completion of the handler. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual global::System.Threading.Tasks.Task AddPlayer(global::Protobuf.PlayerMsg request, grpc::IServerStreamWriter responseStream, grpc::ServerCallContext context) { throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); } /// /// 游戏过程中玩家执行操作的服务 /// /// The request received from the client. /// The context of the server-side call handler being invoked. /// The response to send back to the client (wrapped by a task). [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual global::System.Threading.Tasks.Task Move(global::Protobuf.MoveMsg request, grpc::ServerCallContext context) { throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); } [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual global::System.Threading.Tasks.Task PickProp(global::Protobuf.PropMsg request, grpc::ServerCallContext context) { throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); } [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual global::System.Threading.Tasks.Task UseProp(global::Protobuf.PropMsg request, grpc::ServerCallContext context) { throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); } [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual global::System.Threading.Tasks.Task ThrowProp(global::Protobuf.PropMsg request, grpc::ServerCallContext context) { throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); } [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual global::System.Threading.Tasks.Task UseSkill(global::Protobuf.SkillMsg request, grpc::ServerCallContext context) { throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); } [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual global::System.Threading.Tasks.Task SendMessage(global::Protobuf.SendMsg request, grpc::ServerCallContext context) { throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); } /// /// rpc GetMessage (IDMsg) returns (stream MsgRes); /// /// The request received from the client. /// The context of the server-side call handler being invoked. /// The response to send back to the client (wrapped by a task). [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual global::System.Threading.Tasks.Task StartLearning(global::Protobuf.IDMsg request, grpc::ServerCallContext context) { throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); } /// /// 开始救人 /// /// The request received from the client. /// The context of the server-side call handler being invoked. /// The response to send back to the client (wrapped by a task). [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual global::System.Threading.Tasks.Task StartRescueMate(global::Protobuf.IDMsg request, grpc::ServerCallContext context) { throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); } [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual global::System.Threading.Tasks.Task StartTreatMate(global::Protobuf.IDMsg request, grpc::ServerCallContext context) { throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); } /// /// 攻击 /// /// The request received from the client. /// The context of the server-side call handler being invoked. /// The response to send back to the client (wrapped by a task). [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual global::System.Threading.Tasks.Task Attack(global::Protobuf.AttackMsg request, grpc::ServerCallContext context) { throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); } /// /// 相当于逃跑 /// /// The request received from the client. /// The context of the server-side call handler being invoked. /// The response to send back to the client (wrapped by a task). [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual global::System.Threading.Tasks.Task Graduate(global::Protobuf.IDMsg request, grpc::ServerCallContext context) { throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); } /// /// 开门 /// /// The request received from the client. /// The context of the server-side call handler being invoked. /// The response to send back to the client (wrapped by a task). [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual global::System.Threading.Tasks.Task OpenDoor(global::Protobuf.IDMsg request, grpc::ServerCallContext context) { throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); } /// /// 关门 /// /// The request received from the client. /// The context of the server-side call handler being invoked. /// The response to send back to the client (wrapped by a task). [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual global::System.Threading.Tasks.Task CloseDoor(global::Protobuf.IDMsg request, grpc::ServerCallContext context) { throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); } /// /// 窗户 /// /// The request received from the client. /// The context of the server-side call handler being invoked. /// The response to send back to the client (wrapped by a task). [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual global::System.Threading.Tasks.Task SkipWindow(global::Protobuf.IDMsg request, grpc::ServerCallContext context) { throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); } /// /// 开闸门 /// /// The request received from the client. /// The context of the server-side call handler being invoked. /// The response to send back to the client (wrapped by a task). [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual global::System.Threading.Tasks.Task StartOpenGate(global::Protobuf.IDMsg request, grpc::ServerCallContext context) { throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); } [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual global::System.Threading.Tasks.Task StartOpenChest(global::Protobuf.IDMsg request, grpc::ServerCallContext context) { throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); } /// /// 结束所有动作 /// /// The request received from the client. /// The context of the server-side call handler being invoked. /// The response to send back to the client (wrapped by a task). [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual global::System.Threading.Tasks.Task EndAllAction(global::Protobuf.IDMsg request, grpc::ServerCallContext context) { throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); } } /// Client for AvailableService public partial class AvailableServiceClient : grpc::ClientBase { /// Creates a new client for AvailableService /// The channel to use to make remote calls. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public AvailableServiceClient(grpc::ChannelBase channel) : base(channel) { } /// Creates a new client for AvailableService that uses a custom CallInvoker. /// The callInvoker to use to make remote calls. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public AvailableServiceClient(grpc::CallInvoker callInvoker) : base(callInvoker) { } /// Protected parameterless constructor to allow creation of test doubles. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] protected AvailableServiceClient() : base() { } /// Protected constructor to allow creation of configured clients. /// The client configuration. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] protected AvailableServiceClient(ClientBaseConfiguration configuration) : base(configuration) { } [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual global::Protobuf.BoolRes TryConnection(global::Protobuf.IDMsg request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { return TryConnection(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual global::Protobuf.BoolRes TryConnection(global::Protobuf.IDMsg request, grpc::CallOptions options) { return CallInvoker.BlockingUnaryCall(__Method_TryConnection, null, options, request); } [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual grpc::AsyncUnaryCall TryConnectionAsync(global::Protobuf.IDMsg request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { return TryConnectionAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual grpc::AsyncUnaryCall TryConnectionAsync(global::Protobuf.IDMsg request, grpc::CallOptions options) { return CallInvoker.AsyncUnaryCall(__Method_TryConnection, null, options, request); } /// /// 游戏开局调用一次的服务 /// /// The request to send to the server. /// The initial metadata to send with the call. This parameter is optional. /// An optional deadline for the call. The call will be cancelled if deadline is hit. /// An optional token for canceling the call. /// The call object. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual grpc::AsyncServerStreamingCall AddPlayer(global::Protobuf.PlayerMsg request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { return AddPlayer(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// /// 游戏开局调用一次的服务 /// /// The request to send to the server. /// The options for the call. /// The call object. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual grpc::AsyncServerStreamingCall AddPlayer(global::Protobuf.PlayerMsg request, grpc::CallOptions options) { return CallInvoker.AsyncServerStreamingCall(__Method_AddPlayer, null, options, request); } /// /// 游戏过程中玩家执行操作的服务 /// /// The request to send to the server. /// The initial metadata to send with the call. This parameter is optional. /// An optional deadline for the call. The call will be cancelled if deadline is hit. /// An optional token for canceling the call. /// The response received from the server. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual global::Protobuf.MoveRes Move(global::Protobuf.MoveMsg request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { return Move(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// /// 游戏过程中玩家执行操作的服务 /// /// The request to send to the server. /// The options for the call. /// The response received from the server. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual global::Protobuf.MoveRes Move(global::Protobuf.MoveMsg request, grpc::CallOptions options) { return CallInvoker.BlockingUnaryCall(__Method_Move, null, options, request); } /// /// 游戏过程中玩家执行操作的服务 /// /// The request to send to the server. /// The initial metadata to send with the call. This parameter is optional. /// An optional deadline for the call. The call will be cancelled if deadline is hit. /// An optional token for canceling the call. /// The call object. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual grpc::AsyncUnaryCall MoveAsync(global::Protobuf.MoveMsg request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { return MoveAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// /// 游戏过程中玩家执行操作的服务 /// /// The request to send to the server. /// The options for the call. /// The call object. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual grpc::AsyncUnaryCall MoveAsync(global::Protobuf.MoveMsg request, grpc::CallOptions options) { return CallInvoker.AsyncUnaryCall(__Method_Move, null, options, request); } [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual global::Protobuf.BoolRes PickProp(global::Protobuf.PropMsg request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { return PickProp(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual global::Protobuf.BoolRes PickProp(global::Protobuf.PropMsg request, grpc::CallOptions options) { return CallInvoker.BlockingUnaryCall(__Method_PickProp, null, options, request); } [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual grpc::AsyncUnaryCall PickPropAsync(global::Protobuf.PropMsg request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { return PickPropAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual grpc::AsyncUnaryCall PickPropAsync(global::Protobuf.PropMsg request, grpc::CallOptions options) { return CallInvoker.AsyncUnaryCall(__Method_PickProp, null, options, request); } [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual global::Protobuf.BoolRes UseProp(global::Protobuf.PropMsg request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { return UseProp(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual global::Protobuf.BoolRes UseProp(global::Protobuf.PropMsg request, grpc::CallOptions options) { return CallInvoker.BlockingUnaryCall(__Method_UseProp, null, options, request); } [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual grpc::AsyncUnaryCall UsePropAsync(global::Protobuf.PropMsg request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { return UsePropAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual grpc::AsyncUnaryCall UsePropAsync(global::Protobuf.PropMsg request, grpc::CallOptions options) { return CallInvoker.AsyncUnaryCall(__Method_UseProp, null, options, request); } [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual global::Protobuf.BoolRes ThrowProp(global::Protobuf.PropMsg request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { return ThrowProp(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual global::Protobuf.BoolRes ThrowProp(global::Protobuf.PropMsg request, grpc::CallOptions options) { return CallInvoker.BlockingUnaryCall(__Method_ThrowProp, null, options, request); } [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual grpc::AsyncUnaryCall ThrowPropAsync(global::Protobuf.PropMsg request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { return ThrowPropAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual grpc::AsyncUnaryCall ThrowPropAsync(global::Protobuf.PropMsg request, grpc::CallOptions options) { return CallInvoker.AsyncUnaryCall(__Method_ThrowProp, null, options, request); } [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual global::Protobuf.BoolRes UseSkill(global::Protobuf.SkillMsg request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { return UseSkill(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual global::Protobuf.BoolRes UseSkill(global::Protobuf.SkillMsg request, grpc::CallOptions options) { return CallInvoker.BlockingUnaryCall(__Method_UseSkill, null, options, request); } [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual grpc::AsyncUnaryCall UseSkillAsync(global::Protobuf.SkillMsg request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { return UseSkillAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual grpc::AsyncUnaryCall UseSkillAsync(global::Protobuf.SkillMsg request, grpc::CallOptions options) { return CallInvoker.AsyncUnaryCall(__Method_UseSkill, null, options, request); } [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual global::Protobuf.BoolRes SendMessage(global::Protobuf.SendMsg request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { return SendMessage(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual global::Protobuf.BoolRes SendMessage(global::Protobuf.SendMsg request, grpc::CallOptions options) { return CallInvoker.BlockingUnaryCall(__Method_SendMessage, null, options, request); } [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual grpc::AsyncUnaryCall SendMessageAsync(global::Protobuf.SendMsg request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { return SendMessageAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual grpc::AsyncUnaryCall SendMessageAsync(global::Protobuf.SendMsg request, grpc::CallOptions options) { return CallInvoker.AsyncUnaryCall(__Method_SendMessage, null, options, request); } /// /// rpc GetMessage (IDMsg) returns (stream MsgRes); /// /// The request to send to the server. /// The initial metadata to send with the call. This parameter is optional. /// An optional deadline for the call. The call will be cancelled if deadline is hit. /// An optional token for canceling the call. /// The response received from the server. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual global::Protobuf.BoolRes StartLearning(global::Protobuf.IDMsg request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { return StartLearning(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// /// rpc GetMessage (IDMsg) returns (stream MsgRes); /// /// The request to send to the server. /// The options for the call. /// The response received from the server. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual global::Protobuf.BoolRes StartLearning(global::Protobuf.IDMsg request, grpc::CallOptions options) { return CallInvoker.BlockingUnaryCall(__Method_StartLearning, null, options, request); } /// /// rpc GetMessage (IDMsg) returns (stream MsgRes); /// /// The request to send to the server. /// The initial metadata to send with the call. This parameter is optional. /// An optional deadline for the call. The call will be cancelled if deadline is hit. /// An optional token for canceling the call. /// The call object. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual grpc::AsyncUnaryCall StartLearningAsync(global::Protobuf.IDMsg request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { return StartLearningAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// /// rpc GetMessage (IDMsg) returns (stream MsgRes); /// /// The request to send to the server. /// The options for the call. /// The call object. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual grpc::AsyncUnaryCall StartLearningAsync(global::Protobuf.IDMsg request, grpc::CallOptions options) { return CallInvoker.AsyncUnaryCall(__Method_StartLearning, null, options, request); } /// /// 开始救人 /// /// The request to send to the server. /// The initial metadata to send with the call. This parameter is optional. /// An optional deadline for the call. The call will be cancelled if deadline is hit. /// An optional token for canceling the call. /// The response received from the server. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual global::Protobuf.BoolRes StartRescueMate(global::Protobuf.IDMsg request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { return StartRescueMate(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// /// 开始救人 /// /// The request to send to the server. /// The options for the call. /// The response received from the server. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual global::Protobuf.BoolRes StartRescueMate(global::Protobuf.IDMsg request, grpc::CallOptions options) { return CallInvoker.BlockingUnaryCall(__Method_StartRescueMate, null, options, request); } /// /// 开始救人 /// /// The request to send to the server. /// The initial metadata to send with the call. This parameter is optional. /// An optional deadline for the call. The call will be cancelled if deadline is hit. /// An optional token for canceling the call. /// The call object. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual grpc::AsyncUnaryCall StartRescueMateAsync(global::Protobuf.IDMsg request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { return StartRescueMateAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// /// 开始救人 /// /// The request to send to the server. /// The options for the call. /// The call object. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual grpc::AsyncUnaryCall StartRescueMateAsync(global::Protobuf.IDMsg request, grpc::CallOptions options) { return CallInvoker.AsyncUnaryCall(__Method_StartRescueMate, null, options, request); } [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual global::Protobuf.BoolRes StartTreatMate(global::Protobuf.IDMsg request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { return StartTreatMate(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual global::Protobuf.BoolRes StartTreatMate(global::Protobuf.IDMsg request, grpc::CallOptions options) { return CallInvoker.BlockingUnaryCall(__Method_StartTreatMate, null, options, request); } [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual grpc::AsyncUnaryCall StartTreatMateAsync(global::Protobuf.IDMsg request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { return StartTreatMateAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual grpc::AsyncUnaryCall StartTreatMateAsync(global::Protobuf.IDMsg request, grpc::CallOptions options) { return CallInvoker.AsyncUnaryCall(__Method_StartTreatMate, null, options, request); } /// /// 攻击 /// /// The request to send to the server. /// The initial metadata to send with the call. This parameter is optional. /// An optional deadline for the call. The call will be cancelled if deadline is hit. /// An optional token for canceling the call. /// The response received from the server. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual global::Protobuf.BoolRes Attack(global::Protobuf.AttackMsg request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { return Attack(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// /// 攻击 /// /// The request to send to the server. /// The options for the call. /// The response received from the server. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual global::Protobuf.BoolRes Attack(global::Protobuf.AttackMsg request, grpc::CallOptions options) { return CallInvoker.BlockingUnaryCall(__Method_Attack, null, options, request); } /// /// 攻击 /// /// The request to send to the server. /// The initial metadata to send with the call. This parameter is optional. /// An optional deadline for the call. The call will be cancelled if deadline is hit. /// An optional token for canceling the call. /// The call object. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual grpc::AsyncUnaryCall AttackAsync(global::Protobuf.AttackMsg request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { return AttackAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// /// 攻击 /// /// The request to send to the server. /// The options for the call. /// The call object. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual grpc::AsyncUnaryCall AttackAsync(global::Protobuf.AttackMsg request, grpc::CallOptions options) { return CallInvoker.AsyncUnaryCall(__Method_Attack, null, options, request); } /// /// 相当于逃跑 /// /// The request to send to the server. /// The initial metadata to send with the call. This parameter is optional. /// An optional deadline for the call. The call will be cancelled if deadline is hit. /// An optional token for canceling the call. /// The response received from the server. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual global::Protobuf.BoolRes Graduate(global::Protobuf.IDMsg request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { return Graduate(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// /// 相当于逃跑 /// /// The request to send to the server. /// The options for the call. /// The response received from the server. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual global::Protobuf.BoolRes Graduate(global::Protobuf.IDMsg request, grpc::CallOptions options) { return CallInvoker.BlockingUnaryCall(__Method_Graduate, null, options, request); } /// /// 相当于逃跑 /// /// The request to send to the server. /// The initial metadata to send with the call. This parameter is optional. /// An optional deadline for the call. The call will be cancelled if deadline is hit. /// An optional token for canceling the call. /// The call object. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual grpc::AsyncUnaryCall GraduateAsync(global::Protobuf.IDMsg request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { return GraduateAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// /// 相当于逃跑 /// /// The request to send to the server. /// The options for the call. /// The call object. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual grpc::AsyncUnaryCall GraduateAsync(global::Protobuf.IDMsg request, grpc::CallOptions options) { return CallInvoker.AsyncUnaryCall(__Method_Graduate, null, options, request); } /// /// 开门 /// /// The request to send to the server. /// The initial metadata to send with the call. This parameter is optional. /// An optional deadline for the call. The call will be cancelled if deadline is hit. /// An optional token for canceling the call. /// The response received from the server. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual global::Protobuf.BoolRes OpenDoor(global::Protobuf.IDMsg request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { return OpenDoor(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// /// 开门 /// /// The request to send to the server. /// The options for the call. /// The response received from the server. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual global::Protobuf.BoolRes OpenDoor(global::Protobuf.IDMsg request, grpc::CallOptions options) { return CallInvoker.BlockingUnaryCall(__Method_OpenDoor, null, options, request); } /// /// 开门 /// /// The request to send to the server. /// The initial metadata to send with the call. This parameter is optional. /// An optional deadline for the call. The call will be cancelled if deadline is hit. /// An optional token for canceling the call. /// The call object. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual grpc::AsyncUnaryCall OpenDoorAsync(global::Protobuf.IDMsg request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { return OpenDoorAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// /// 开门 /// /// The request to send to the server. /// The options for the call. /// The call object. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual grpc::AsyncUnaryCall OpenDoorAsync(global::Protobuf.IDMsg request, grpc::CallOptions options) { return CallInvoker.AsyncUnaryCall(__Method_OpenDoor, null, options, request); } /// /// 关门 /// /// The request to send to the server. /// The initial metadata to send with the call. This parameter is optional. /// An optional deadline for the call. The call will be cancelled if deadline is hit. /// An optional token for canceling the call. /// The response received from the server. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual global::Protobuf.BoolRes CloseDoor(global::Protobuf.IDMsg request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { return CloseDoor(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// /// 关门 /// /// The request to send to the server. /// The options for the call. /// The response received from the server. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual global::Protobuf.BoolRes CloseDoor(global::Protobuf.IDMsg request, grpc::CallOptions options) { return CallInvoker.BlockingUnaryCall(__Method_CloseDoor, null, options, request); } /// /// 关门 /// /// The request to send to the server. /// The initial metadata to send with the call. This parameter is optional. /// An optional deadline for the call. The call will be cancelled if deadline is hit. /// An optional token for canceling the call. /// The call object. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual grpc::AsyncUnaryCall CloseDoorAsync(global::Protobuf.IDMsg request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { return CloseDoorAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// /// 关门 /// /// The request to send to the server. /// The options for the call. /// The call object. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual grpc::AsyncUnaryCall CloseDoorAsync(global::Protobuf.IDMsg request, grpc::CallOptions options) { return CallInvoker.AsyncUnaryCall(__Method_CloseDoor, null, options, request); } /// /// 窗户 /// /// The request to send to the server. /// The initial metadata to send with the call. This parameter is optional. /// An optional deadline for the call. The call will be cancelled if deadline is hit. /// An optional token for canceling the call. /// The response received from the server. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual global::Protobuf.BoolRes SkipWindow(global::Protobuf.IDMsg request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { return SkipWindow(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// /// 窗户 /// /// The request to send to the server. /// The options for the call. /// The response received from the server. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual global::Protobuf.BoolRes SkipWindow(global::Protobuf.IDMsg request, grpc::CallOptions options) { return CallInvoker.BlockingUnaryCall(__Method_SkipWindow, null, options, request); } /// /// 窗户 /// /// The request to send to the server. /// The initial metadata to send with the call. This parameter is optional. /// An optional deadline for the call. The call will be cancelled if deadline is hit. /// An optional token for canceling the call. /// The call object. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual grpc::AsyncUnaryCall SkipWindowAsync(global::Protobuf.IDMsg request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { return SkipWindowAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// /// 窗户 /// /// The request to send to the server. /// The options for the call. /// The call object. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual grpc::AsyncUnaryCall SkipWindowAsync(global::Protobuf.IDMsg request, grpc::CallOptions options) { return CallInvoker.AsyncUnaryCall(__Method_SkipWindow, null, options, request); } /// /// 开闸门 /// /// The request to send to the server. /// The initial metadata to send with the call. This parameter is optional. /// An optional deadline for the call. The call will be cancelled if deadline is hit. /// An optional token for canceling the call. /// The response received from the server. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual global::Protobuf.BoolRes StartOpenGate(global::Protobuf.IDMsg request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { return StartOpenGate(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// /// 开闸门 /// /// The request to send to the server. /// The options for the call. /// The response received from the server. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual global::Protobuf.BoolRes StartOpenGate(global::Protobuf.IDMsg request, grpc::CallOptions options) { return CallInvoker.BlockingUnaryCall(__Method_StartOpenGate, null, options, request); } /// /// 开闸门 /// /// The request to send to the server. /// The initial metadata to send with the call. This parameter is optional. /// An optional deadline for the call. The call will be cancelled if deadline is hit. /// An optional token for canceling the call. /// The call object. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual grpc::AsyncUnaryCall StartOpenGateAsync(global::Protobuf.IDMsg request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { return StartOpenGateAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// /// 开闸门 /// /// The request to send to the server. /// The options for the call. /// The call object. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual grpc::AsyncUnaryCall StartOpenGateAsync(global::Protobuf.IDMsg request, grpc::CallOptions options) { return CallInvoker.AsyncUnaryCall(__Method_StartOpenGate, null, options, request); } [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual global::Protobuf.BoolRes StartOpenChest(global::Protobuf.IDMsg request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { return StartOpenChest(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual global::Protobuf.BoolRes StartOpenChest(global::Protobuf.IDMsg request, grpc::CallOptions options) { return CallInvoker.BlockingUnaryCall(__Method_StartOpenChest, null, options, request); } [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual grpc::AsyncUnaryCall StartOpenChestAsync(global::Protobuf.IDMsg request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { return StartOpenChestAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual grpc::AsyncUnaryCall StartOpenChestAsync(global::Protobuf.IDMsg request, grpc::CallOptions options) { return CallInvoker.AsyncUnaryCall(__Method_StartOpenChest, null, options, request); } /// /// 结束所有动作 /// /// The request to send to the server. /// The initial metadata to send with the call. This parameter is optional. /// An optional deadline for the call. The call will be cancelled if deadline is hit. /// An optional token for canceling the call. /// The response received from the server. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual global::Protobuf.BoolRes EndAllAction(global::Protobuf.IDMsg request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { return EndAllAction(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// /// 结束所有动作 /// /// The request to send to the server. /// The options for the call. /// The response received from the server. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual global::Protobuf.BoolRes EndAllAction(global::Protobuf.IDMsg request, grpc::CallOptions options) { return CallInvoker.BlockingUnaryCall(__Method_EndAllAction, null, options, request); } /// /// 结束所有动作 /// /// The request to send to the server. /// The initial metadata to send with the call. This parameter is optional. /// An optional deadline for the call. The call will be cancelled if deadline is hit. /// An optional token for canceling the call. /// The call object. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual grpc::AsyncUnaryCall EndAllActionAsync(global::Protobuf.IDMsg request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { return EndAllActionAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } /// /// 结束所有动作 /// /// The request to send to the server. /// The options for the call. /// The call object. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public virtual grpc::AsyncUnaryCall EndAllActionAsync(global::Protobuf.IDMsg request, grpc::CallOptions options) { return CallInvoker.AsyncUnaryCall(__Method_EndAllAction, null, options, request); } /// Creates a new instance of client from given ClientBaseConfiguration. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] protected override AvailableServiceClient NewInstance(ClientBaseConfiguration configuration) { return new AvailableServiceClient(configuration); } } /// Creates service definition that can be registered with a server /// An object implementing the server-side handling logic. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public static grpc::ServerServiceDefinition BindService(AvailableServiceBase serviceImpl) { return grpc::ServerServiceDefinition.CreateBuilder() .AddMethod(__Method_TryConnection, serviceImpl.TryConnection) .AddMethod(__Method_AddPlayer, serviceImpl.AddPlayer) .AddMethod(__Method_Move, serviceImpl.Move) .AddMethod(__Method_PickProp, serviceImpl.PickProp) .AddMethod(__Method_UseProp, serviceImpl.UseProp) .AddMethod(__Method_ThrowProp, serviceImpl.ThrowProp) .AddMethod(__Method_UseSkill, serviceImpl.UseSkill) .AddMethod(__Method_SendMessage, serviceImpl.SendMessage) .AddMethod(__Method_StartLearning, serviceImpl.StartLearning) .AddMethod(__Method_StartRescueMate, serviceImpl.StartRescueMate) .AddMethod(__Method_StartTreatMate, serviceImpl.StartTreatMate) .AddMethod(__Method_Attack, serviceImpl.Attack) .AddMethod(__Method_Graduate, serviceImpl.Graduate) .AddMethod(__Method_OpenDoor, serviceImpl.OpenDoor) .AddMethod(__Method_CloseDoor, serviceImpl.CloseDoor) .AddMethod(__Method_SkipWindow, serviceImpl.SkipWindow) .AddMethod(__Method_StartOpenGate, serviceImpl.StartOpenGate) .AddMethod(__Method_StartOpenChest, serviceImpl.StartOpenChest) .AddMethod(__Method_EndAllAction, serviceImpl.EndAllAction).Build(); } /// Register service method with a service binder with or without implementation. Useful when customizing the service binding logic. /// Note: this method is part of an experimental API that can change or be removed without any prior notice. /// Service methods will be bound by calling AddMethod on this object. /// An object implementing the server-side handling logic. [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] public static void BindService(grpc::ServiceBinderBase serviceBinder, AvailableServiceBase serviceImpl) { serviceBinder.AddMethod(__Method_TryConnection, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.TryConnection)); serviceBinder.AddMethod(__Method_AddPlayer, serviceImpl == null ? null : new grpc::ServerStreamingServerMethod(serviceImpl.AddPlayer)); serviceBinder.AddMethod(__Method_Move, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.Move)); serviceBinder.AddMethod(__Method_PickProp, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.PickProp)); serviceBinder.AddMethod(__Method_UseProp, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.UseProp)); serviceBinder.AddMethod(__Method_ThrowProp, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.ThrowProp)); serviceBinder.AddMethod(__Method_UseSkill, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.UseSkill)); serviceBinder.AddMethod(__Method_SendMessage, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.SendMessage)); serviceBinder.AddMethod(__Method_StartLearning, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.StartLearning)); serviceBinder.AddMethod(__Method_StartRescueMate, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.StartRescueMate)); serviceBinder.AddMethod(__Method_StartTreatMate, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.StartTreatMate)); serviceBinder.AddMethod(__Method_Attack, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.Attack)); serviceBinder.AddMethod(__Method_Graduate, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.Graduate)); serviceBinder.AddMethod(__Method_OpenDoor, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.OpenDoor)); serviceBinder.AddMethod(__Method_CloseDoor, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.CloseDoor)); serviceBinder.AddMethod(__Method_SkipWindow, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.SkipWindow)); serviceBinder.AddMethod(__Method_StartOpenGate, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.StartOpenGate)); serviceBinder.AddMethod(__Method_StartOpenChest, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.StartOpenChest)); serviceBinder.AddMethod(__Method_EndAllAction, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.EndAllAction)); } } } #endregion