public override void JoinChannel(Google.ProtocolBuffers.IRpcController controller, bnet.protocol.channel.JoinChannelRequest request, System.Action <bnet.protocol.channel.JoinChannelResponse> done) { Logger.Trace("JoinChannel()"); var builder = bnet.protocol.channel.JoinChannelResponse.CreateBuilder().SetObjectId(67122); // should be fixed with the actual joined channel object id. done(builder.Build()); }
public override void JoinChannel(Google.ProtocolBuffers.IRpcController controller, bnet.protocol.channel.JoinChannelRequest request, System.Action <bnet.protocol.channel.JoinChannelResponse> done) { Logger.Warn("ChannelOwnerService:JoinChannel()"); var channel = ChannelManager.GetChannelByEntityId(request.ChannelId); channel.Join(this.Client, request.ObjectId); var builder = bnet.protocol.channel.JoinChannelResponse.CreateBuilder().SetObjectId(channel.DynamicId); done(builder.Build()); }
public override void JoinChannel(Google.ProtocolBuffers.IRpcController controller, bnet.protocol.channel.JoinChannelRequest request, System.Action <bnet.protocol.channel.JoinChannelResponse> done) { Logger.Trace("JoinChannel()"); throw new NotImplementedException(); }