ESOUI

ESOUI (https://www.esoui.com/forums/index.php)
-   Wish List (https://www.esoui.com/forums/forumdisplay.php?f=177)
-   -   [outdated] EVENT_GUILD_RANK_CHANGED - Request for Old/New Rank (https://www.esoui.com/forums/showthread.php?t=7440)

ArtOfShred 10/27/17 05:07 AM

[outdated] EVENT_GUILD_RANK_CHANGED - Request for Old/New Rank
 
Current: EVENT_GUILD_RANK_CHANGED (number eventCode, number guildId, number rankIndex)
Desired: EVENT_GUILD_RANK_CHANGED (number eventCode, number guildId, number oldRankIndex, number newRankIndex)

I made a function to display rank changes in chat/as an alert when they happen in guild:



It's very easy to display a "promoted/demoted" context for the player by indexing just a bit of info. But for other guild members saving rank data would require iterating though every guild member and creating an index, then updating whenever players join/leave/rank change, etc - and that's maybe just a bit too heavy handed for something as simple as a chat message.


All times are GMT -6. The time now is 08:47 AM.

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