internal StreamConnection(QuarrelClient client, ulong serverId, string sessionId, ulong userId) { _client = client; _serverId = serverId; _sessionId = sessionId; _userId = userId; }
/// <summary> /// Initializes a new instance of the <see cref="QuarrelClientChannels"/> class. /// </summary> internal QuarrelClientChannels(QuarrelClient client) { _client = client; _channelMap = new(); _privateChannels = new(); }
/// <summary> /// Initializes a new instance of the <see cref="QuarrelClientSelf"/> class. /// </summary> internal QuarrelClientSelf(QuarrelClient client) { _client = client; }
/// <summary> /// Initializes a new instance of the <see cref="QuarrelClientGuilds"/> class. /// </summary> internal QuarrelClientGuilds(QuarrelClient client) { _client = client; _guildMap = new ConcurrentDictionary <ulong, Guild>(); }
/// <summary> /// Initializes a new instance of the <see cref="QuarrelClientMessages"/> class. /// </summary> internal QuarrelClientMessages(QuarrelClient client) { _client = client; }
/// <summary> /// Initializes a new instance of the <see cref="QuarrelClientVoice"/> class. /// </summary> internal QuarrelClientVoice(QuarrelClient client) { _client = client; _stateDictionary = new Dictionary <ulong, VoiceState>(); }
/// <summary> /// Initializes a new instance of the <see cref="QuarrelClientUsers"/> class. /// </summary> internal QuarrelClientUsers(QuarrelClient client) { _client = client; _userMap = new ConcurrentDictionary <ulong, User>(); }
/// <summary> /// Initializes a new instance of the <see cref="QuarrelClientMembers"/> class. /// </summary> internal QuarrelClientMembers(QuarrelClient client) { _client = client; _guildsMemberMap = new(); }