WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   Wish List (https://www.wowinterface.com/forums/forumdisplay.php?f=15)
-   -   GetNumGroupMembers() equivalent for the Restricted Environment (https://www.wowinterface.com/forums/showthread.php?t=58365)

Spyro 11-03-20 07:46 PM

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.


All times are GMT -6. The time now is 02:19 PM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI