public void SendAll() { var pMsg = new MsgSubPro { Action = SubClassActions.SHOW_GUI, StudyPoints = m_pOwner.StudyPoints }; foreach (var prof in Professions.Values) { pMsg.Append(prof.Class, prof.Promotion, prof.Level); } m_pOwner.Send(pMsg); }