public AsyncVoiceChannelRef(IVoiceChannel voiceChannel) { if (voiceChannel == null) { this.voiceChannel = null; } else { lock (voiceChannel) { this.voiceChannel = voiceChannel.AddRef() ? voiceChannel : null; } } }
public VoiceChannelRef(IVoiceChannel voiceChannel) { this.voiceChannel = voiceChannel.AddRef() ? voiceChannel : null; Alt.Module.CountUpRefForCurrentThread(voiceChannel); }
public VoiceChannelRef(IVoiceChannel voiceChannel) { this.voiceChannel = voiceChannel.AddRef() ? voiceChannel : null; }