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; }
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); }