private void CreatePlayerComponents() { for (int i = 0; i < Context.MaxSize; i++) { Parts.PartyMember pMember = new Parts.PartyMember(UserSettings.PlayerConfig.Overlay.DPSMeter.PartyMembers[i].Color); pMember.SetContext(Context[i], Context); Players.Add(pMember); } Party.Items.Refresh(); IsActive = true; }
private void CreatePlayerComponents() { for (int i = 0; i < Context.MaxSize; i++) { Parts.PartyMember pMember = new Parts.PartyMember(UserSettings.PlayerConfig.Overlay.DPSMeter.PartyMembers[i].Color); pMember.SetContext(Context[i], Context); Players.Add(pMember); } foreach (Parts.PartyMember Member in Players) { Party.Children.Add(Member); } if (Context.TotalDamage > 0) { WidgetHasContent = true; ChangeVisibility(); } }