parent
615d8864de
commit
78330d2c18
|
|
@ -279,7 +279,12 @@ function this.SetMyRank(data)
|
||||||
local guildData = MyGuildManager.GetMyGuildInfo()
|
local guildData = MyGuildManager.GetMyGuildInfo()
|
||||||
local masterInfo = MyGuildManager.GetMyGuildMasterInfo()
|
local masterInfo = MyGuildManager.GetMyGuildMasterInfo()
|
||||||
guildName.text = guildData.name
|
guildName.text = guildData.name
|
||||||
playerName.text = GetLanguageStrById(masterInfo.userName)
|
if masterInfo then
|
||||||
|
playerName.text = GetLanguageStrById(masterInfo.userName)
|
||||||
|
else
|
||||||
|
playerName.text = "..."
|
||||||
|
end
|
||||||
|
|
||||||
hurt.text = "0.00"..GetLanguageStrById(10042)
|
hurt.text = "0.00"..GetLanguageStrById(10042)
|
||||||
score.text = 0
|
score.text = 0
|
||||||
end
|
end
|
||||||
|
|
|
||||||
|
|
@ -329,7 +329,11 @@ function this.RefreshBaseInfoShow()
|
||||||
this.guildName.text = guildData.name
|
this.guildName.text = guildData.name
|
||||||
this.guildAnnounce.text = guildData.annouce
|
this.guildAnnounce.text = guildData.annouce
|
||||||
this.guildLevel.text = curGuildlv
|
this.guildLevel.text = curGuildlv
|
||||||
this.guildMaster.text = masterInfo.userName
|
if masterInfo then
|
||||||
|
this.guildMaster.text = masterInfo.userName
|
||||||
|
else
|
||||||
|
this.guildMaster.text = "..."
|
||||||
|
end
|
||||||
this.guildMember.text = string.format("(%s/%s)", guildData.totalNum, curGuildLevelInfo.Num)
|
this.guildMember.text = string.format("(%s/%s)", guildData.totalNum, curGuildLevelInfo.Num)
|
||||||
this.expText.text = string.format("%s/%s", guildData.exp, curGuildLevelInfo.Exp)
|
this.expText.text = string.format("%s/%s", guildData.exp, curGuildLevelInfo.Exp)
|
||||||
this.expSlider.value = guildData.exp/curGuildLevelInfo.Exp
|
this.expSlider.value = guildData.exp/curGuildLevelInfo.Exp
|
||||||
|
|
|
||||||
|
|
@ -510,7 +510,11 @@ function this.RefreshGuildInfo()
|
||||||
this.GuildName.text = guildData.name
|
this.GuildName.text = guildData.name
|
||||||
this.GuildAnnounce.text = guildData.annouce
|
this.GuildAnnounce.text = guildData.annouce
|
||||||
this.GuildLv.text = curGuildlv
|
this.GuildLv.text = curGuildlv
|
||||||
this.GuildMasterName.text = GetLanguageStrById(masterInfo.userName)
|
if masterInfo then
|
||||||
|
this.GuildMasterName.text = GetLanguageStrById(masterInfo.userName)
|
||||||
|
else
|
||||||
|
this.GuildMasterName.text = "..."
|
||||||
|
end
|
||||||
this.GuildMember.text = string.format("%s / %s", guildData.totalNum, curGuildLevelInfo.Num)
|
this.GuildMember.text = string.format("%s / %s", guildData.totalNum, curGuildLevelInfo.Num)
|
||||||
this.GuildExp.text = string.format("%s/%s", guildData.exp, curGuildLevelInfo.Exp)
|
this.GuildExp.text = string.format("%s/%s", guildData.exp, curGuildLevelInfo.Exp)
|
||||||
this.GuildSlider.value = guildData.exp/curGuildLevelInfo.Exp
|
this.GuildSlider.value = guildData.exp/curGuildLevelInfo.Exp
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue