Esempio n. 1
0
 // Token: 0x0600347C RID: 13436 RVA: 0x000DF320 File Offset: 0x000DD520
 public BuffState(int id, ConfigDataBuffInfo buffInfo, BattleActor applyer, BuffSourceType sourceType, ConfigDataSkillInfo sourceSkillInfo)
 {
     this.m_id              = id;
     this.m_buffInfo        = buffInfo;
     this.m_time            = buffInfo.Time;
     this.m_applyer         = applyer;
     this.m_sourceType      = sourceType;
     this.m_sourceSkillInfo = sourceSkillInfo;
     this.m_parent          = null;
     this.m_hasExtraTime    = false;
     this.m_effectTimes     = 0;
     if (!BJLuaObjHelper.IsSkipLuaHotfix && this.TryInitHotFix("") && this.m_ctorInt32ConfigDataBuffInfoBattleActorBuffSourceTypeConfigDataSkillInfo_hotfix != null)
     {
         this.m_ctorInt32ConfigDataBuffInfoBattleActorBuffSourceTypeConfigDataSkillInfo_hotfix.call(new object[]
         {
             this,
             id,
             buffInfo,
             applyer,
             sourceType,
             sourceSkillInfo
         });
         return;
     }
     BJLuaObjHelper.IsSkipLuaHotfix = false;
 }
Esempio n. 2
0
 // Token: 0x0600A67E RID: 42622 RVA: 0x002EB1E4 File Offset: 0x002E93E4
 public void SetBuff(ConfigDataBuffInfo buffInfo)
 {
     if (!BJLuaObjHelper.IsSkipLuaHotfix && this.TryInitHotFix("") && this.m_SetBuffConfigDataBuffInfo_hotfix != null)
     {
         this.m_SetBuffConfigDataBuffInfo_hotfix.call(new object[]
         {
             this,
             buffInfo
         });
         return;
     }
     BJLuaObjHelper.IsSkipLuaHotfix = false;
     if (buffInfo == null)
     {
         return;
     }
     this.m_buffInfo     = buffInfo;
     this.m_image.sprite = AssetUtility.Instance.GetSprite(buffInfo.Icon);
     this.m_text.text    = buffInfo.Desc;
 }