public override void SelectToon(Google.ProtocolBuffers.IRpcController controller, SelectToonRequest request, Action <SelectToonResponse> done) { Logger.Trace("SelectToon()"); var builder = SelectToonResponse.CreateBuilder(); var toon = ToonManager.GetToonByLowID(request.Toon.Low); this.Client.CurrentToon = toon; done(builder.Build()); }
public override void SelectToon(Google.ProtocolBuffers.IRpcController controller, SelectToonRequest request, Action <SelectToonResponse> done) { var response = SelectToonResponse.CreateBuilder(); done(response.Build()); }