Files
NobetaSource/Cpp2IL/Assembly-CSharp/GameBattleSelectPackage.cs
2023-09-06 22:19:13 +02:00

105 lines
2.4 KiB
C#

using System;
using System.Runtime.CompilerServices;
using Cpp2IlInjected;
using UnityEngine;
// Token: 0x02000230 RID: 560
[Token(Token = "0x2000230")]
[CreateAssetMenu]
public class GameBattleSelectPackage : ScriptableObject
{
// Token: 0x060015BC RID: 5564 RVA: 0x000314B0 File Offset: 0x0002F6B0
[Token(Token = "0x60015BC")]
[Address(RVA = "0x36B150", Offset = "0x36A150", VA = "0x18036B150")]
public Sprite GetBossRushSprite(SaveSystem.ScriptType Boss, bool unlocked)
{
if (unlocked)
{
return this.bossRushSprites[1];
}
if (Boss == SaveSystem.ScriptType.BRBoss01 && !unlocked)
{
return this.bossRushSprites[2];
}
if (unlocked)
{
return this.bossRushSprites[3];
}
if (Boss == SaveSystem.ScriptType.BRBoss02 && !unlocked)
{
return this.bossRushSprites[4];
}
if (unlocked)
{
return this.bossRushSprites[5];
}
if (Boss == SaveSystem.ScriptType.BRBoss03 && !unlocked)
{
return this.bossRushSprites[6];
}
if (unlocked)
{
return this.bossRushSprites[7];
}
if (Boss == SaveSystem.ScriptType.BRBoss04 && !unlocked)
{
return this.bossRushSprites[8];
}
if (unlocked)
{
return this.bossRushSprites[9];
}
if (Boss == SaveSystem.ScriptType.BRBoss05 && !unlocked)
{
return this.bossRushSprites[10];
}
if (unlocked)
{
return this.bossRushSprites[11];
}
if (Boss == SaveSystem.ScriptType.BRBoss06 && !unlocked)
{
return this.bossRushSprites[12];
}
if (unlocked)
{
return this.bossRushSprites[13];
}
if (Boss == SaveSystem.ScriptType.BRknight && !unlocked)
{
return this.bossRushSprites[14];
}
if (unlocked)
{
return this.bossRushSprites[15];
}
if (Boss == SaveSystem.ScriptType.BRSaalGhost && !unlocked)
{
return this.bossRushSprites[16];
}
return this.bossRushSprites[0];
}
// Token: 0x060015BD RID: 5565 RVA: 0x00031624 File Offset: 0x0002F824
[Token(Token = "0x60015BD")]
[Address(RVA = "0x369E20", Offset = "0x368E20", VA = "0x180369E20")]
public GameBattleSelectPackage()
{
}
// Token: 0x060015BE RID: 5566 RVA: 0x00031638 File Offset: 0x0002F838
[Token(Token = "0x60015BE")]
[Address(RVA = "0x36B570", Offset = "0x36A570", VA = "0x18036B570")]
[CompilerGenerated]
private Sprite <GetBossRushSprite>g__GetSprite|1_0(int index)
{
return this.bossRushSprites[index];
}
// Token: 0x040020FA RID: 8442
[FieldOffset(Offset = "0x18")]
[Token(Token = "0x40020FA")]
[SerializeField]
private Sprite[] bossRushSprites;
}