public override void GetChannelInfo(IRpcController controller, GetChannelInfoRequest request, Action<GetChannelInfoResponse> done) { Logger.Trace("GetChannelInfoRequest() to channel {0}:{1} by toon {2}", request.ChannelId.High, request.ChannelId.Low, Client.CurrentToon.Name); var builder = bnet.protocol.channel.GetChannelInfoResponse.CreateBuilder(); var channel = ChannelManager.GetChannelByEntityId(request.ChannelId); if (channel != null) builder.SetChannelInfo(channel.Info); else Logger.Warn("Channel does not exist!"); done(builder.Build()); }
public override void GetChannelInfo(Google.ProtocolBuffers.IRpcController controller, GetChannelInfoRequest request, Action<GetChannelInfoResponse> done) { throw new NotImplementedException(); }
public override void GetChannelInfo(IRpcController controller, GetChannelInfoRequest request, Action<GetChannelInfoResponse> done) { ProtoOutputBuffer.Write(request.GetType(), request.ToString()); }
public override void GetChannelInfo(IRpcController controller, GetChannelInfoRequest request, Action<GetChannelInfoResponse> done) { Logger.Warn(String.Format("GetChannelInfoRequest() channel: {0}:{1} by toon: {2}", request.ChannelId.High, request.ChannelId.Low, Client.CurrentToon.Name)); }
public override void GetChannelInfo(IRpcController controller, GetChannelInfoRequest request, Action <GetChannelInfoResponse> done) { throw new NotImplementedException(); }