Beispiel #1
0
        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());
        }
Beispiel #2
0
        public override void SelectToon(Google.ProtocolBuffers.IRpcController controller, SelectToonRequest request, Action <SelectToonResponse> done)
        {
            var response = SelectToonResponse.CreateBuilder();

            done(response.Build());
        }