Files
Aug2021-Cpp2IL-Dump/Assembly-CSharp/RRUI/Data/DynamicUIContainerModelController.cs
2026-04-10 22:50:51 +02:00

127 lines
3.0 KiB
C#

using System;
using System.Collections;
using System.Collections.Generic;
using Cpp2IlInjected;
using UnityEngine;
namespace RRUI.Data
{
// Token: 0x02000C15 RID: 3093
[Token(Token = "0x2000C15")]
public class DynamicUIContainerModelController : InterfaceModelController<BDHLONPFBHJ>
{
// Token: 0x06004B4F RID: 19279 RVA: 0x00117250 File Offset: 0x00115450
[Token(Token = "0x6004B4F")]
[Address(RVA = "0xF5DCC0", Offset = "0xF5CAC0", VA = "0x180F5DCC0")]
public DynamicUIContainerModelController()
{
}
// Token: 0x02000C16 RID: 3094
[Token(Token = "0x2000C16")]
[Serializable]
private class SpawnerImpl : PrefabSpawnerControllerImpl<BDHLONPFBHJ>
{
// Token: 0x06004B50 RID: 19280 RVA: 0x00117264 File Offset: 0x00115464
[Token(Token = "0x6004B50")]
[Address(RVA = "0xF70230", Offset = "0xF6F030", VA = "0x180F70230", Slot = "27")]
protected override void DMAHGBLDMFA()
{
int num;
do
{
num = 0;
bool flag;
if (flag)
{
break;
}
base.LKLKGDMFMCC();
if (!flag)
{
break;
}
if (flag)
{
IReadOnlyDictionary<Type, GameObject> dynamicUIPrefabs = DynamicUIConfig.Instance.DynamicUIPrefabs;
Type type = flag.GetType();
if (num < (flag ? 1 : 0))
{
num += num;
if (num == (flag ? 1 : 0))
{
goto IL_53;
}
num++;
}
while (type == 0)
{
}
int num2 = 0;
bool flag2;
if (!flag2)
{
uint num3;
base.MJLHLGCPKKA(num2, (int)num3);
goto IL_53;
}
IL_5A:
Type type2 = flag.GetType();
Debug.LogError(string.Format("You must add a prefab to the DynamicUIConfig for '{0}'", type2));
goto IL_73;
IL_53:
num2 += num2;
goto IL_5A;
}
IL_73:
if (flag)
{
}
}
while (num != 0);
}
// Token: 0x06004B51 RID: 19281 RVA: 0x00117304 File Offset: 0x00115504
[Token(Token = "0x6004B51")]
[Address(RVA = "0xF70070", Offset = "0xF6EE70", VA = "0x180F70070", Slot = "29")]
protected override void CLBPDGGELMA(GameObject GCCLEJOGCCE, int EFBDCIJMFGD)
{
int num = 0;
EOEDAKBLAIH eoedakblaih;
if (num < EFBDCIJMFGD)
{
num += num;
if ("{il2cpp array field il2cppMethodInfo->}" == typeof(IReadOnlyList<DOPNALIMPNA>).TypeHandle)
{
num += 19;
eoedakblaih += eoedakblaih;
num += 2;
num += 19;
throw new NullReferenceException();
}
num++;
}
int num2 = 0;
eoedakblaih = GCCLEJOGCCE.GetComponent<EOEDAKBLAIH>();
if (eoedakblaih != 0 && num < num2)
{
num += num;
num++;
}
}
// Token: 0x06004B52 RID: 19282 RVA: 0x0011735C File Offset: 0x0011555C
[Token(Token = "0x6004B52")]
[Address(RVA = "0xF70580", Offset = "0xF6F380", VA = "0x180F70580")]
public SpawnerImpl()
{
}
// Token: 0x040037E2 RID: 14306
[FieldOffset(Offset = "0x40")]
[Token(Token = "0x40037E2")]
private ICollection cachedElements;
}
}
}