public VitalStatus(GroupMember SourceInfo) { m_bIsValid = SourceInfo.IsValid; if (m_bIsValid) { m_Actor = SourceInfo.ToActor(); m_bIsValid = (m_bIsValid && m_Actor.IsValid); } if (m_bIsValid) { m_strName = SourceInfo.Name; m_eClass = s_ClassStringToFlagMap[m_Actor.Class]; m_bIsDead = m_Actor.IsDead; m_iTrauma = SourceInfo.Trauma; m_iArcane = SourceInfo.Arcane; m_iNoxious = SourceInfo.Noxious; m_iElemental = SourceInfo.Elemental; m_iCursed = SourceInfo.Cursed; m_iCurrentHealth = SourceInfo.HitPoints; m_iMaximumHealth = SourceInfo.MaxHitPoints; m_iCurrentPower = SourceInfo.Power; m_iMaximumPower = SourceInfo.MaxPower; } return; }