Exemplo n.º 1
0
 // Token: 0x06006FBB RID: 28603 RVA: 0x0026CF1C File Offset: 0x0026BF1C
 private void EventCallbackResurrectSimUnlucky(StateMachineClient sender, IEvent evt)
 {
     this.mDeathProgress = GrimReaperSituation.ReapSoul.DeathProgress.UnluckyPostEvent;
     if (GrimReaperSituation.ShouldDoDeathEvent(this.Target))
     {
         StyledNotification.Format format = new StyledNotification.Format(Localization.LocalizeString("Gameplay/Services/GrimReaper:Unlucky1", new object[]
         {
             this.Target
         }), this.Actor.ObjectId, StyledNotification.NotificationStyle.kSimTalking);
         StyledNotification.Show(format);
     }
     this.EventCallbackResurrectSim();
 }
Exemplo n.º 2
0
 // Token: 0x06006FBC RID: 28604 RVA: 0x0026CF78 File Offset: 0x0026BF78
 private void EventCallbackResurrectSimRanting(StateMachineClient sender, IEvent evt)
 {
     this.mDeathProgress = GrimReaperSituation.ReapSoul.DeathProgress.UnluckyPostEvent;
     if (GrimReaperSituation.ShouldDoDeathEvent(this.Target))
     {
         StyledNotification.Format format = new StyledNotification.Format(Localization.LocalizeString("Gameplay/Services/GrimReaper:RantingWarning", new object[]
         {
             this.Target
         }), this.Actor.ObjectId, StyledNotification.NotificationStyle.kSimTalking);
         StyledNotification.Show(format);
     }
     this.Target.BuffManager.AddElement(BuffNames.ThereAndBackAgain, Origin.FromRanting);
     this.EventCallbackResurrectSim();
 }
Exemplo n.º 3
0
 // Token: 0x06006FBA RID: 28602 RVA: 0x0026CE70 File Offset: 0x0026BE70
 public void EventCallbackResurrectSimDeathFlower(StateMachineClient sender, IEvent evt)
 {
     EventTracker.SendEvent(EventTypeId.kGotSavedByDeathFlower, this.Target);
     this.mDeathProgress = GrimReaperSituation.ReapSoul.DeathProgress.DeathFlowerPostEvent;
     if (GrimReaperSituation.ShouldDoDeathEvent(this.Target))
     {
         StyledNotification.Format format = new StyledNotification.Format(Localization.LocalizeString("Gameplay/Services/GrimReaper:DeathFlower1", new object[]
         {
             this.Target
         }), this.Actor.ObjectId, StyledNotification.NotificationStyle.kSimTalking);
         StyledNotification.Show(format);
     }
     ThoughtBalloonManager.BalloonData balloonData = new ThoughtBalloonManager.BalloonData(this.mDeathFlower.GetThoughtBalloonThumbnailKey());
     balloonData.mPriority = ThoughtBalloonPriority.High;
     balloonData.Duration  = ThoughtBalloonDuration.Medium;
     balloonData.mCoolDown = ThoughtBalloonCooldown.Medium;
     balloonData.LowAxis   = ThoughtBalloonAxis.kLike;
     this.Actor.ThoughtBalloonManager.ShowBalloon(balloonData);
     this.EventCallbackResurrectSim();
 }