public GenericOutcome StopMatchmaking(Aws.GameLift.Server.Model.StopMatchBackfillRequest request) { var translation = BackfillDataMapper.CreateBufferedStopMatchmakingRequest(request); var future = new TaskCompletionSource <GenericOutcome>(); var ackFunction = CreateAckFunction(future); return(EmitEvent(translation, ackFunction, future, STOP_MATCH_BACKFILL_ERROR)); }
public static Protobuf.StopMatchmakingRequest CreateBufferedStopMatchmakingRequest( StopMatchBackfillRequest request) { Protobuf.StopMatchmakingRequest translated = new Protobuf.StopMatchmakingRequest(); translated.TicketId = request.TicketId; translated.GameSessionArn = request.GameSessionArn; translated.MatchmakingConfigurationArn = request.MatchmakingConfigurationArn; return(translated); }
CreateBufferedStopMatchmakingRequest(StopMatchBackfillRequest request) { Com.Amazon.Whitewater.Auxproxy.Pbuffer.StopMatchmakingRequest translated = new Com.Amazon.Whitewater.Auxproxy.Pbuffer.StopMatchmakingRequest(); translated.TicketId = request.TicketId; translated.GameSessionArn = request.GameSessionArn; translated.MatchmakingConfigurationArn = request.MatchmakingConfigurationArn; return(translated); }