View Single Post
12-11-12, 02:39 PM   #1
Elderin
A Deviate Faerie Dragon
Join Date: Nov 2012
Posts: 17
Event Processing

If I want to use the information from GetGuildRosterInfo(index) I understand that for the information to be available I must first query the server with a call to GuildRoster() and then wait until the server issues the GUILD_ROSTER_UPDATE event.

A similar situation exists for GetGuildEventInfo(index) making a call to QueryGuildEventLog() and waiting for the server to issue a GUILD_EVENT_LOG_UPDATE event.

Assuming that my addon is properly registering for appropriate events to happen then

1) What is an expected wait time once a query has been submitted and the corresponding event happens so that the desired data-gathering function can be called? (Obviously, lag time would be a consideration, but assuming lag is negligible, how quick can the server be expected to have data ready?)

2) Once the addon has registered for the event, will the server continue to notify it that fresh information is available by reissuing the event when the server "sees" that something has changed until either the addon unregisters the event or the addon itself is terminated when I log out of WoW? Or do I need to continue to make the query call in order for the server to accumulate fresh info and fire off the event to my addon?
  Reply With Quote