Quantcast
GetNumGroupMembers() equivalent for the Restricted Environment - WoWInterface
Thread Tools Display Modes
11-03-20, 07:46 PM   #1
Spyro
A Fallenroot Satyr
 
Spyro's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2011
Posts: 22
GetNumGroupMembers() equivalent for the Restricted Environment

In the restricted environment, it is possible to know the number of members in a group by checking the existence of all the possible units with UnitExists(UnitID) or by using a SecureStateDriver with [@UnitID,exists] conditions. Unfortunately maintaining this information updated in the addon is a CPU hog.

Given these facts, I propose the addition of an equivalent of GetNumGroupMembers() to the restricted enviroment, to reduce the CPU use of addons that need to know the group size in combat.

Last edited by Spyro : 11-04-20 at 08:24 PM.
  Reply With Quote

WoWInterface » Developer Discussions » Wish List » GetNumGroupMembers() equivalent for the Restricted Environment

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off