Ejemplo n.º 1
0
        public override void ProcessClientRequest(IRpcController controller, ClientRequest request, Action <ClientResponse> done)
        {
            Logger.Trace("ProcessClientRequest()");

            // TODO: handle the request. this is where banner changing happens (CustomMessageId 4)
            // CustomMessage for banner change is a D3.GameMessages.SaveBannerConfiguration
            //Logger.Debug("request:\n{0}", request.ToString());

            var builder = ClientResponse.CreateBuilder();

            done(builder.Build());
        }
Ejemplo n.º 2
0
        public override void ProcessClientRequest(Google.ProtocolBuffers.IRpcController controller, ClientRequest request, Action <ClientResponse> done)
        {
            var response = ClientResponse.CreateBuilder();

            done(response.Build());
        }