154 lines
5.0 KiB
C#
154 lines
5.0 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Runtime.InteropServices;
|
|
using Cpp2IlInjected;
|
|
using UnityEngine;
|
|
using UnityEngine.UI;
|
|
|
|
namespace RRUI.Data
|
|
{
|
|
// Token: 0x02000A71 RID: 2673
|
|
[Token(Token = "0x2000A71")]
|
|
[StructLayout(3)]
|
|
public class DynamicPanelModelController : InterfaceModelController<OCFFLBBDCOG>
|
|
{
|
|
// Token: 0x06004452 RID: 17490 RVA: 0x00109804 File Offset: 0x00107A04
|
|
[Token(Token = "0x6004452")]
|
|
[Address(RVA = "0x1D39380", Offset = "0x1D37D80", VA = "0x181D39380")]
|
|
public DynamicPanelModelController()
|
|
{
|
|
}
|
|
|
|
// Token: 0x02000A72 RID: 2674
|
|
[Token(Token = "0x2000A72")]
|
|
[Serializable]
|
|
private class ConfigureLayoutGroupImpl : ControllerImplementation<OCFFLBBDCOG>
|
|
{
|
|
// Token: 0x06004453 RID: 17491 RVA: 0x00109818 File Offset: 0x00107A18
|
|
[Token(Token = "0x6004453")]
|
|
[Address(RVA = "0x1D35AA0", Offset = "0x1D344A0", VA = "0x181D35AA0", Slot = "22")]
|
|
protected override void OFFLOPLJBBG()
|
|
{
|
|
base.OFFLOPLJBBG();
|
|
HorizontalOrVerticalLayoutGroup horizontalOrVerticalLayoutGroup = this.layoutGroup;
|
|
int num = 0;
|
|
num += num;
|
|
num++;
|
|
HorizontalOrVerticalLayoutGroup horizontalOrVerticalLayoutGroup2 = this.layoutGroup;
|
|
if (num < typeof(OCFFLBBDCOG).TypeHandle)
|
|
{
|
|
num += num;
|
|
num++;
|
|
}
|
|
HorizontalOrVerticalLayoutGroup horizontalOrVerticalLayoutGroup3 = this.layoutGroup;
|
|
horizontalOrVerticalLayoutGroup3.childAlignment = (TextAnchor)num;
|
|
HorizontalOrVerticalLayoutGroup horizontalOrVerticalLayoutGroup4 = this.layoutGroup;
|
|
bool childControlWidth;
|
|
if (num == 0)
|
|
{
|
|
childControlWidth = this.layoutGroup.m_ChildControlWidth;
|
|
}
|
|
horizontalOrVerticalLayoutGroup4.childControlWidth = childControlWidth;
|
|
HorizontalOrVerticalLayoutGroup horizontalOrVerticalLayoutGroup5 = this.layoutGroup;
|
|
bool childControlHeight;
|
|
if (!childControlWidth)
|
|
{
|
|
childControlHeight = this.layoutGroup.m_ChildControlHeight;
|
|
}
|
|
horizontalOrVerticalLayoutGroup5.childControlHeight = childControlHeight;
|
|
HorizontalOrVerticalLayoutGroup horizontalOrVerticalLayoutGroup6 = this.layoutGroup;
|
|
bool childForceExpandWidth;
|
|
if (!childControlHeight)
|
|
{
|
|
childForceExpandWidth = this.layoutGroup.m_ChildForceExpandWidth;
|
|
}
|
|
horizontalOrVerticalLayoutGroup6.childForceExpandWidth = childForceExpandWidth;
|
|
HorizontalOrVerticalLayoutGroup horizontalOrVerticalLayoutGroup7 = this.layoutGroup;
|
|
bool childForceExpandHeight;
|
|
if (!childForceExpandWidth)
|
|
{
|
|
childForceExpandHeight = this.layoutGroup.m_ChildForceExpandHeight;
|
|
}
|
|
horizontalOrVerticalLayoutGroup7.childForceExpandHeight = childForceExpandHeight;
|
|
}
|
|
|
|
// Token: 0x06004454 RID: 17492 RVA: 0x0000220F File Offset: 0x0000040F
|
|
[Token(Token = "0x6004454")]
|
|
[Address(RVA = "0x3C9F60", Offset = "0x3C8960", VA = "0x1803C9F60", Slot = "27")]
|
|
protected override void DMAHGBLDMFA()
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x06004455 RID: 17493 RVA: 0x0010991C File Offset: 0x00107B1C
|
|
[Token(Token = "0x6004455")]
|
|
[Address(RVA = "0x1D35DC0", Offset = "0x1D347C0", VA = "0x181D35DC0")]
|
|
public ConfigureLayoutGroupImpl()
|
|
{
|
|
}
|
|
|
|
// Token: 0x04003596 RID: 13718
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x30")]
|
|
[Token(Token = "0x4003596")]
|
|
[SerializeField]
|
|
[DDPIINEJFMD(JIBDPHMGEGO.Self, false, false)]
|
|
private HorizontalOrVerticalLayoutGroup layoutGroup;
|
|
}
|
|
|
|
// Token: 0x02000A73 RID: 2675
|
|
[Token(Token = "0x2000A73")]
|
|
[Serializable]
|
|
private class SpawnerImpl : PrefabSpawnerControllerImpl<OCFFLBBDCOG>
|
|
{
|
|
// Token: 0x06004456 RID: 17494 RVA: 0x00109930 File Offset: 0x00107B30
|
|
[Token(Token = "0x6004456")]
|
|
[Address(RVA = "0x1D411B0", Offset = "0x1D3FBB0", VA = "0x181D411B0", Slot = "27")]
|
|
protected override void DMAHGBLDMFA()
|
|
{
|
|
int num;
|
|
do
|
|
{
|
|
num = 0;
|
|
base.LKLKGDMFMCC();
|
|
IReadOnlyDictionary<Type, GameObject> dynamicUIPrefabs = DynamicUIConfig.Instance.DynamicUIPrefabs;
|
|
num += num;
|
|
num++;
|
|
Type type;
|
|
while (type == 0)
|
|
{
|
|
}
|
|
int num2 = 0;
|
|
bool flag;
|
|
if (!flag)
|
|
{
|
|
base.MJLHLGCPKKA(num2);
|
|
num2 += num2;
|
|
}
|
|
Type type2;
|
|
Debug.LogError(string.Format("You must add a prefab to the DynamicUIConfig for '{0}'", type2));
|
|
if (num != -1)
|
|
{
|
|
}
|
|
}
|
|
while (num != 0);
|
|
}
|
|
|
|
// Token: 0x06004457 RID: 17495 RVA: 0x001099A8 File Offset: 0x00107BA8
|
|
[Token(Token = "0x6004457")]
|
|
[Address(RVA = "0x1D41100", Offset = "0x1D3FB00", VA = "0x181D41100", Slot = "29")]
|
|
protected override void CLBPDGGELMA(GameObject GCCLEJOGCCE, int EFBDCIJMFGD)
|
|
{
|
|
EOEDAKBLAIH component = GCCLEJOGCCE.GetComponent<EOEDAKBLAIH>();
|
|
throw new NullReferenceException();
|
|
}
|
|
|
|
// Token: 0x06004458 RID: 17496 RVA: 0x001099C4 File Offset: 0x00107BC4
|
|
[Token(Token = "0x6004458")]
|
|
[Address(RVA = "0x1D417C0", Offset = "0x1D401C0", VA = "0x181D417C0")]
|
|
public SpawnerImpl()
|
|
{
|
|
}
|
|
}
|
|
}
|
|
}
|