Files
27Aug2021-Cpp2IL-Dump/Assembly-CSharp/RRUI/Data/DynamicUIContainerModelController.cs
T
niko c12fbe3fc6 m
2026-04-12 16:51:38 +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: 0x02000C49 RID: 3145
[Token(Token = "0x2000C49")]
public class DynamicUIContainerModelController : InterfaceModelController<BDHLONPFBHJ>
{
// Token: 0x06004C83 RID: 19587 RVA: 0x00119964 File Offset: 0x00117B64
[Token(Token = "0x6004C83")]
[Address(RVA = "0x1739FE0", Offset = "0x1738FE0", VA = "0x181739FE0")]
public DynamicUIContainerModelController()
{
}
// Token: 0x02000C4A RID: 3146
[Token(Token = "0x2000C4A")]
[Serializable]
private class SpawnerImpl : PrefabSpawnerControllerImpl<BDHLONPFBHJ>
{
// Token: 0x06004C84 RID: 19588 RVA: 0x00119978 File Offset: 0x00117B78
[Token(Token = "0x6004C84")]
[Address(RVA = "0x174CFF0", Offset = "0x174BFF0", VA = "0x18174CFF0", 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: 0x06004C85 RID: 19589 RVA: 0x00119A18 File Offset: 0x00117C18
[Token(Token = "0x6004C85")]
[Address(RVA = "0x174CE30", Offset = "0x174BE30", VA = "0x18174CE30", 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: 0x06004C86 RID: 19590 RVA: 0x00119A70 File Offset: 0x00117C70
[Token(Token = "0x6004C86")]
[Address(RVA = "0x174D340", Offset = "0x174C340", VA = "0x18174D340")]
public SpawnerImpl()
{
}
// Token: 0x040038B0 RID: 14512
[FieldOffset(Offset = "0x40")]
[Token(Token = "0x40038B0")]
private ICollection cachedElements;
}
}
}