private CaveTubeClientWrapper(CaveTubeClient.CavetubeClient client)
        {
            this.client = client;

            this.client.OnJoin += this.Join;
            this.client.OnLeave += this.Leave;
            this.client.OnNewMessage += this.NewMessage;
            this.client.OnUpdateMember += this.UpdateMember;
            this.client.OnBan += this.Ban;
            this.client.OnUnBan += this.UnBan;
            this.client.OnAdminShout += this.AdminShout;
            this.client.OnError += this.Error;
            this.client.OnNotifyLiveStart += this.NotifyLiveStart;
            this.client.OnNotifyLiveClose += this.NotifyLiveClose;
        }
Esempio n. 2
0
        private CaveTubeClientWrapper(CaveTubeClient.CavetubeClient client)
        {
            this.client = client;

            this.client.OnJoin            += this.Join;
            this.client.OnLeave           += this.Leave;
            this.client.OnNewMessage      += this.NewMessage;
            this.client.OnUpdateMember    += this.UpdateMember;
            this.client.OnBan             += this.Ban;
            this.client.OnUnBan           += this.UnBan;
            this.client.OnAdminShout      += this.AdminShout;
            this.client.OnError           += this.Error;
            this.client.OnNotifyLiveStart += this.NotifyLiveStart;
            this.client.OnNotifyLiveClose += this.NotifyLiveClose;
        }