Exemple #1
0
 public void Add(StatsTotal stats)
 {
     this.UserJoined          += stats.UserJoined;
     this.UserLeft            += stats.UserLeft;
     this.UserVerified        += stats.UserVerified;
     this.UserBannedByValk    += stats.UserBannedByValk;
     this.UserKickedByValk    += stats.UserKickedByValk;
     this.UserKickedByDiscord += stats.UserKickedByDiscord;
 }
Exemple #2
0
        public StatsTotal CreateTotal()
        {
            StatsTotal clone = new StatsTotal {
                ServerId            = this.ServerId,
                DateTime            = this.DateTime,
                UserJoined          = this.UserJoined,
                UserLeft            = this.UserLeft,
                UserVerified        = this.UserVerified,
                UserBannedByValk    = this.UserBannedByValk,
                UserKickedByValk    = this.UserKickedByValk,
                UserKickedByDiscord = this.UserKickedByDiscord
            };

            return(clone);
        }