View Single Post
11/26/15, 09:34 PM   #4
haggen
 
haggen's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2015
Posts: 137
So, I registered a bunch of events with a debug function and then invited some random fella from my guild to group, note that he/she was in a different region.

Here's the events that were triggered, with some additional information:

- Value of UNIT_FRAMES.groupSize
- If a unitTag was provided in the arguments


Code:
1. EVENT_GROUP_MEMBER_ROLES_CHANGED,    groupSize = 0, unitTag = group2
2. EVENT_GROUP_MEMBER_IN_REMOTE_REGION, groupSize = 0, unitTag = group2
3. EVENT_GROUP_MEMBER_JOINED,           groupSize = 0, no unitTag, but my name character's was available
4. EVENT_LEADER_UPDATE,                 groupSize = 0, unitTag = group1
5. EVENT_GROUP_SUPPORT_RANGE_UPDATE,    groupSize = 0, unitTag = group2
In this test I was assigned as "group1".

The events I was listening to were:

- EVENT_GROUP_MEMBER_CONNECTED_STATUS
- EVENT_GROUP_MEMBER_IN_REMOTE_REGION
- EVENT_GROUP_MEMBER_JOINED
- EVENT_GROUP_MEMBER_LEFT
- EVENT_GROUP_MEMBER_ROLES_CHANGED
- EVENT_GROUP_NOTIFICATION_MESSAGE
- EVENT_GROUP_SUPPORT_RANGE_UPDATE
- EVENT_GROUP_TYPE_CHANGED
- EVENT_GROUP_UPDATE
- EVENT_LEADER_UPDATE
- EVENT_UNIT_FRAME_UPDATE

The important lesson here is: during these events the unit frames were NOT ready, and NONE of them provided me with full information of my party, nor one same event was fired for each member of my group.

Really, WHAT THE ****?
  Reply With Quote