| | |
| | | }); |
| | | guildLVBtn.AddListener(() => |
| | | { |
| | | // UIManager.Instance.OpenWindow<GuildLevelUpWin>(); |
| | | UIManager.Instance.OpenWindow<GuildLevelWin>(); |
| | | }); |
| | | |
| | | noticeBtn.AddListener(() => |
| | |
| | | guildNameText.text = guildInfo.FamilyName + Language.Get("L1039", ServerListCenter.Instance.GetServerName(guildInfo.ServerID)); |
| | | guildNumText.text = GuildManager.Instance.EncryptGuildID(guildInfo.FamilyID); |
| | | noticeText.text = string.IsNullOrEmpty(guildInfo.Broadcast) ? Language.Get("Guild_62") : guildInfo.Broadcast; |
| | | lvExpProcess.fillAmount = (float)guildInfo.FamilyLVExp / config.NeedExp; |
| | | expText.text = guildInfo.FamilyLVExp + "/" + config.NeedExp; |
| | | lvExpProcess.fillAmount = config.NeedExp == 0 ? 1 : (float)guildInfo.FamilyLVExp / config.NeedExp; |
| | | expText.text = config.NeedExp == 0 ? Language.Get("L1055") : StringUtility.Concat(guildInfo.FamilyLVExp.ToString(), "/", config.NeedExp.ToString()); |
| | | |
| | | } |
| | | |