Files
niko 8fc35183db a
2026-04-11 22:19:20 +02:00

146 lines
4.7 KiB
C#

using System;
using Cpp2IlInjected;
using UnityEngine;
namespace RecRoom.Core.Encounters
{
// Token: 0x02002FE7 RID: 12263
[Token(Token = "0x2002FE7")]
public class ShowNotificationEncounterStep : GameEncounterStep
{
// Token: 0x17003965 RID: 14693
// (get) Token: 0x06014E01 RID: 85505 RVA: 0x004E1EE8 File Offset: 0x004E00E8
[Token(Token = "0x17003965")]
public override string KODBEJPEFOJ
{
[Token(Token = "0x6014E01")]
[Address(RVA = "0x8B0AB0", Offset = "0x8AF8B0", VA = "0x1808B0AB0", Slot = "4")]
get
{
return "Shows a notification to all players.";
}
}
// Token: 0x06014E02 RID: 85506 RVA: 0x0000220F File Offset: 0x0000040F
[Token(Token = "0x6014E02")]
[Address(RVA = "0x402080", Offset = "0x400E80", VA = "0x180402080", Slot = "9")]
public override void OnEncounterStart()
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x06014E03 RID: 85507 RVA: 0x0000220F File Offset: 0x0000040F
[Token(Token = "0x6014E03")]
[Address(RVA = "0x402080", Offset = "0x400E80", VA = "0x180402080", Slot = "10")]
public override void OnEncounterStop()
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x06014E04 RID: 85508 RVA: 0x004E1EFC File Offset: 0x004E00FC
[Token(Token = "0x6014E04")]
[Address(RVA = "0x8B09C0", Offset = "0x8AF7C0", VA = "0x1808B09C0", Slot = "11")]
public override void OnStartRunning()
{
NotificationManager instance = SingletonMonoBehaviour.ONCPNMDGGKG;
float num = this.notificationDuration;
int num2 = 0;
string text = this.secondaryNotificationText;
string text2 = this.mainNotificationText;
NotificationManager.IBIDFAOPIPC ibidfaopipc = this.notificationType;
IDisposable disposable = instance.Play(ibidfaopipc, text2, text, num, num2, num2);
}
// Token: 0x06014E05 RID: 85509 RVA: 0x0000220F File Offset: 0x0000040F
[Token(Token = "0x6014E05")]
[Address(RVA = "0x402080", Offset = "0x400E80", VA = "0x180402080", Slot = "12")]
public override void OnUpdateRunning()
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x06014E06 RID: 85510 RVA: 0x0000220F File Offset: 0x0000040F
[Token(Token = "0x6014E06")]
[Address(RVA = "0x402080", Offset = "0x400E80", VA = "0x180402080", Slot = "13")]
public override void OnStopRunning()
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x06014E07 RID: 85511 RVA: 0x0000220F File Offset: 0x0000040F
[Token(Token = "0x6014E07")]
[Address(RVA = "0x402080", Offset = "0x400E80", VA = "0x180402080", Slot = "14")]
public override void OnSkipRunning()
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x06014E08 RID: 85512 RVA: 0x004E1F48 File Offset: 0x004E0148
[Token(Token = "0x6014E08")]
[Address(RVA = "0x899E30", Offset = "0x898C30", VA = "0x180899E30", Slot = "15")]
public override bool IsBlockingEncounterEnd()
{
int finishCondition = this.finishCondition;
if (finishCondition == 0)
{
float num = this.POLMFGOLNLC.OKFCHCDDGCP;
}
return finishCondition != 1;
}
// Token: 0x06014E09 RID: 85513 RVA: 0x004E1F7C File Offset: 0x004E017C
[Token(Token = "0x6014E09")]
[Address(RVA = "0x460D40", Offset = "0x45FB40", VA = "0x180460D40", Slot = "16")]
public override bool IsCompleted()
{
return true;
}
// Token: 0x06014E0A RID: 85514 RVA: 0x004E1F8C File Offset: 0x004E018C
[Token(Token = "0x6014E0A")]
[Address(RVA = "0x8B0A50", Offset = "0x8AF850", VA = "0x1808B0A50")]
public ShowNotificationEncounterStep()
{
this.stepName = "New Step";
this.PNNLJIGIFDL = (int)((ulong)4294967295L);
base..ctor();
}
// Token: 0x0400DCF8 RID: 56568
[FieldOffset(Offset = "0x48")]
[Token(Token = "0x400DCF8")]
[SerializeField]
private string mainNotificationText;
// Token: 0x0400DCF9 RID: 56569
[FieldOffset(Offset = "0x50")]
[Token(Token = "0x400DCF9")]
[SerializeField]
private string secondaryNotificationText;
// Token: 0x0400DCFA RID: 56570
[FieldOffset(Offset = "0x58")]
[Token(Token = "0x400DCFA")]
[SerializeField]
private float notificationDuration = 2f;
// Token: 0x0400DCFB RID: 56571
[FieldOffset(Offset = "0x5C")]
[Token(Token = "0x400DCFB")]
[SerializeField]
private NotificationManager.IBIDFAOPIPC notificationType = (NotificationManager.IBIDFAOPIPC)((ulong)1L);
// Token: 0x02002FE8 RID: 12264
[Token(Token = "0x2002FE8")]
public enum JBCIHDKFFHG
{
// Token: 0x0400DCFD RID: 56573
[Token(Token = "0x400DCFD")]
TIME_ELAPSED,
// Token: 0x0400DCFE RID: 56574
[Token(Token = "0x400DCFE")]
IMMEDIATELY
}
}
}