/// <summary> /// Saves the player stats by using the PlayerStats class structure. No need for SQL here. /// </summary> /// <param name='playerName'> /// Player name. /// </param> /// <param name='totalKills'> /// Total kills. /// </param> /// <param name='points'> /// Points. /// </param> private void SavePlayerStats_Simple(string playerName, int totalKills, int points) { // Initialize our PlayerStats class PlayerStats playerStats = new PlayerStats { PlayerName = playerName, TotalKills = totalKills, Points = points }; // Insert our PlayerStats into the database dbManager.Insert(playerStats); }