Beispiel #1
0
        public void StartNewHand(string siteHandNumber)
        {
            this.OnHandImported();

            Data.Hand h = new Data.Hand();
            h.HandNumber = siteHandNumber;
            h.SiteId     = this._siteId;
            h.Saved      = false;

            this.CurrentHand = h;
            this._hands.Add(h);

            long handsInDb = this.Store.GetHandCount();

            this._stats.TotalHands   = _hands.Count + handsInDb;
            this._stats.TotalPlayers = this.Store.GetPlayerCount();
        }
        public void StartNewHand(string siteHandNumber)
        {
            this.OnHandImported();

            Data.Hand h = new Data.Hand();
            h.HandNumber = siteHandNumber;
            h.SiteId = this._siteId;
            h.Saved = false;

            this.CurrentHand = h;
            this._hands.Add(h);

            long handsInDb = this.Store.GetHandCount();
            this._stats.TotalHands = _hands.Count + handsInDb;
            this._stats.TotalPlayers = this.Store.GetPlayerCount();
        }