Example #1
0
 // Token: 0x06001575 RID: 5493 RVA: 0x0024C7D8 File Offset: 0x0024A9D8
 public AffairMission(Transform transform, UISpritesArray spriteArray, _MissionTimeBar timebar)
 {
     this.transform           = transform;
     this.TimeBar             = timebar;
     this.SpriteArray         = spriteArray;
     this.NameStr             = StringManager.Instance.SpawnString(200);
     this.BarLink             = transform.GetChild(2);
     this.ItemBtn             = new UIButton[1];
     this.ItemBtn[0]          = transform.GetComponent <UIButton>();
     this.ItemBtn[0].m_BtnID1 = 11;
     this.SelectTrans         = transform.GetChild(4);
     this.Icon                = transform.GetChild(0).GetComponent <Image>();
     this.NameText            = transform.GetChild(1).GetComponent <UIText>();
     this.RewardBtn           = transform.GetChild(3).GetComponent <UIButton>();
     this.RewardBtn.m_BtnID1  = 7;
     this.RewardBtn.m_Handler = this;
     this.RewardAlpha         = transform.GetChild(3).GetChild(0).GetComponent <CanvasGroup>();
     this.NameText            = transform.GetChild(1).GetComponent <UIText>();
     this.RewardText          = transform.GetChild(3).GetChild(1).GetComponent <UIText>();
 }
Example #2
0
 // Token: 0x060015A0 RID: 5536 RVA: 0x0024E404 File Offset: 0x0024C604
 public VIPMission(Transform transform, _MissionTimeBar timebar)
 {
     this.transform = transform;
     this.TimeBar   = timebar;
     this.TimeBar.transform.SetParent(transform.GetChild(1));
 }