Thread Tools Display Modes
Prev Previous Post   Next Post Next
02/11/20, 08:04 AM   #1
Tar000un
 
Tar000un's Avatar
AddOn Author - Click to view addons
Join Date: May 2014
Posts: 47
Default guildrank names

Hey,

I m trying to get the guildranks names. It's a bit unfriendly to get a custom guild rank, since you have to firstly get the rankIndex.

Lua Code:
  1. function Guild.GetPlayerGuildRankCustomName(guildIndex)
  2.   local guildId = GetGuildId(guildIndex)
  3.   local _,_,rankIndex = GetGuildMemberInfo(guildId, GetPlayerGuildMemberIndex(guildId))
  4.  
  5.   return GetGuildRankCustomName(guildId, rankIndex )
  6. end

But I didn't find a way to get non custom guild rank. I guess there is a sort of static id somewhere? I got rankId 255 is generally the GM and 254 for officer or 3, 2 for member and 1 for recruit.

254 or 3 for officer, makes me ask: is it static or dynamic ? Where can I found details about defaults guild rank?
  Reply With Quote
 

ESOUI » Developer Discussions » Lua/XML Help » Default guildrank names


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