// Token: 0x0600F070 RID: 61552 RVA: 0x00400264 File Offset: 0x003FE464
 public void Refresh()
 {
     if (!BJLuaObjHelper.IsSkipLuaHotfix && this.TryInitHotFix("") && this.m_Refresh_hotfix != null)
     {
         this.m_Refresh_hotfix.call(new object[]
         {
             this
         });
         return;
     }
     BJLuaObjHelper.IsSkipLuaHotfix = false;
     foreach (GuildInviteItemUIController guildInviteItemUIController in this.m_guildInviteItemUIControllerList)
     {
         UnityEngine.Object.Destroy(guildInviteItemUIController.gameObject);
     }
     this.m_guildInviteItemUIControllerList.Clear();
     foreach (GuildJoinInvitation guildJoinInvitation in this.m_guildJoinInvitationList)
     {
         GameObject gameObject = UnityEngine.Object.Instantiate <GameObject>(this.m_guildItemTemplate);
         gameObject.transform.SetParent(this.m_msgListContent.transform, false);
         GuildInviteItemUIController guildInviteItemUIController2 = GameObjectUtility.AddControllerToGameObject <GuildInviteItemUIController>(gameObject);
         guildInviteItemUIController2.Init(guildJoinInvitation);
         guildInviteItemUIController2.ItemRefreshEvent += this.Refresh;
         this.m_guildInviteItemUIControllerList.Add(guildInviteItemUIController2);
     }
     if (this.m_guildJoinInvitationList.Count == 0)
     {
         this.m_noMessage.SetActive(true);
     }
     else
     {
         this.m_noMessage.SetActive(false);
     }
 }
示例#2
0
 // Token: 0x0600F0D7 RID: 61655 RVA: 0x00401548 File Offset: 0x003FF748
 public LuaExportHelper(GuildInviteItemUIController owner)
 {
     this.m_owner = owner;
 }