public static Channel CreateNewChannel(IClient client) { var channel = new Channel((ulong)Channels.Count); return channel; }
public static Channel CreateNewChannel(BNetClient client) { var channel = new Channel(client); Channels.Add(channel.DynamicId, channel); return channel; }
public static Channel CreateNewChannel(BNetClient client, ulong remoteObjectId) { var channel = new Channel(client, remoteObjectId); Channels.Add(channel.DynamicId, channel); return channel; }
public static Channel CreateNewChannel() { var channel = new Channel(); Channels.Add(channel.ID, channel); return channel; }