Exemplo n.º 1
0
        public override void Start(IMessanger messanger)
        {
            this.ts = TeamSpeak.GetTeamspeak(ConfigurationManager.AppSettings["tsServer"], Int32.Parse(ConfigurationManager.AppSettings["tsQueryPort"]));
            this.ts.ErrorOccured += this.ts_ErrorOccured;

            base.Start(messanger);
        }
Exemplo n.º 2
0
        public void Start(IMessanger messanger)
        {
            this.messanger = messanger;

            this.ts = TeamSpeak.GetTeamspeak(ConfigurationManager.AppSettings["tsServer"], Int32.Parse(ConfigurationManager.AppSettings["tsQueryPort"]));
            this.ts.ErrorOccured += this.ts_ErrorOccured;
            this.ts.PlayerJoined += this.ts_PlayerJoined;
            this.ts.PlayerLeft   += this.ts_PlayerLeft;
            this.ts.StartListener(15000);
        }