void AddXPToPlayerAndSendReceivedXP(PlayerState p, int xp) { p.AddXP(xp); _db.AddXP(p._userName, xp); SendToAllPlayers(this.Write(new Packet.ReceivedXP { userName = p._userName, xpGained = xp, xpTotal = p.totalXp })); }