예제 #1
0
 // Use this for initialization
 void Start()
 {
     exitPanelGo        = GameObject.Find("UI Root/TeamExitPanel").gameObject;
     exitPanelTween     = exitPanelGo.GetComponent <TweenScale>();
     exitTeamBtn        = exitPanelGo.transform.Find("team-exit").GetComponent <UIButton>();
     exitTeamPanelWidth = exitPanelGo.GetComponent <UISprite>().width; //120
     _instance          = this;
 }
 // Token: 0x0600D032 RID: 53298 RVA: 0x00390F8C File Offset: 0x0038F18C
 public void SetTeamRoomInviteInfo(TeamRoomInviteInfo info, int count, bool inBattle)
 {
     if (!BJLuaObjHelper.IsSkipLuaHotfix && this.TryInitHotFix("") && this.m_SetTeamRoomInviteInfoTeamRoomInviteInfoInt32Boolean_hotfix != null)
     {
         this.m_SetTeamRoomInviteInfoTeamRoomInviteInfoInt32Boolean_hotfix.call(new object[]
         {
             this,
             info,
             count,
             inBattle
         });
         return;
     }
     BJLuaObjHelper.IsSkipLuaHotfix = false;
     this.m_playerNameText.text     = info.Name;
     this.m_playerLevelText.text    = info.Level.ToString();
     this.m_battleNameText.text     = TeamUIController.GetGameFunctionName((GameFunctionType)info.GameFunctionTypeId, info.LocationId) + TeamUIController.GetLocationName((GameFunctionType)info.GameFunctionTypeId, info.LocationId);
     this.m_countText.text          = count.ToString();
     this.m_acceptButton.gameObject.SetActive(!inBattle);
     this.UpdateBackgroundButtonActive();
 }