コード例 #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());
        }
コード例 #2
0
ファイル: GameUtilitiesImpl.cs プロジェクト: yuyufeng/d3
        public override void ProcessClientRequest(Google.ProtocolBuffers.IRpcController controller, ClientRequest request, Action <ClientResponse> done)
        {
            var response = ClientResponse.CreateBuilder();

            done(response.Build());
        }