94 lines
3.0 KiB
C#
94 lines
3.0 KiB
C#
using System;
|
|
using Cpp2IlInjected;
|
|
using UnityEngine;
|
|
using UnityEngine.UI;
|
|
|
|
namespace RRUI.Data
|
|
{
|
|
// Token: 0x02000BD2 RID: 3026
|
|
[Token(Token = "0x2000BD2")]
|
|
public class DynamicPanelModelController : InterfaceModelController<OCFFLBBDCOG>
|
|
{
|
|
// Token: 0x06004A6D RID: 19053 RVA: 0x00115E54 File Offset: 0x00114054
|
|
[Token(Token = "0x6004A6D")]
|
|
[Address(RVA = "0x1555130", Offset = "0x1553F30", VA = "0x181555130")]
|
|
public DynamicPanelModelController()
|
|
{
|
|
}
|
|
|
|
// Token: 0x02000BD3 RID: 3027
|
|
[Token(Token = "0x2000BD3")]
|
|
[Serializable]
|
|
private class ConfigureLayoutGroupImpl : ControllerImplementation<OCFFLBBDCOG>
|
|
{
|
|
// Token: 0x06004A6E RID: 19054 RVA: 0x00115E68 File Offset: 0x00114068
|
|
[Token(Token = "0x6004A6E")]
|
|
[Address(RVA = "0x1551000", Offset = "0x154FE00", VA = "0x181551000", Slot = "27")]
|
|
protected override void DMAHGBLDMFA()
|
|
{
|
|
int num = 0;
|
|
if (num != 0)
|
|
{
|
|
if (num != 0)
|
|
{
|
|
this.layoutGroup.padding = num;
|
|
}
|
|
if (num != 0)
|
|
{
|
|
HorizontalOrVerticalLayoutGroup horizontalOrVerticalLayoutGroup = this.layoutGroup;
|
|
float num2;
|
|
horizontalOrVerticalLayoutGroup.spacing = num2;
|
|
}
|
|
if (num != 0)
|
|
{
|
|
HorizontalOrVerticalLayoutGroup horizontalOrVerticalLayoutGroup2 = this.layoutGroup;
|
|
}
|
|
HorizontalOrVerticalLayoutGroup horizontalOrVerticalLayoutGroup3 = this.layoutGroup;
|
|
TextAnchor textAnchor;
|
|
bool childControlWidth;
|
|
if (textAnchor == TextAnchor.UpperLeft)
|
|
{
|
|
childControlWidth = this.layoutGroup.m_ChildControlWidth;
|
|
}
|
|
horizontalOrVerticalLayoutGroup3.childControlWidth = childControlWidth;
|
|
HorizontalOrVerticalLayoutGroup horizontalOrVerticalLayoutGroup4 = this.layoutGroup;
|
|
bool childControlHeight;
|
|
if (!childControlWidth)
|
|
{
|
|
childControlHeight = this.layoutGroup.m_ChildControlHeight;
|
|
}
|
|
horizontalOrVerticalLayoutGroup4.childControlHeight = childControlHeight;
|
|
HorizontalOrVerticalLayoutGroup horizontalOrVerticalLayoutGroup5 = this.layoutGroup;
|
|
bool childForceExpandWidth;
|
|
if (!childControlHeight)
|
|
{
|
|
childForceExpandWidth = this.layoutGroup.m_ChildForceExpandWidth;
|
|
}
|
|
horizontalOrVerticalLayoutGroup5.childForceExpandWidth = childForceExpandWidth;
|
|
HorizontalOrVerticalLayoutGroup horizontalOrVerticalLayoutGroup6 = this.layoutGroup;
|
|
bool childForceExpandHeight;
|
|
if (!childForceExpandWidth)
|
|
{
|
|
childForceExpandHeight = this.layoutGroup.m_ChildForceExpandHeight;
|
|
}
|
|
horizontalOrVerticalLayoutGroup6.childForceExpandHeight = childForceExpandHeight;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06004A6F RID: 19055 RVA: 0x00115F4C File Offset: 0x0011414C
|
|
[Token(Token = "0x6004A6F")]
|
|
[Address(RVA = "0x1551300", Offset = "0x1550100", VA = "0x181551300")]
|
|
public ConfigureLayoutGroupImpl()
|
|
{
|
|
}
|
|
|
|
// Token: 0x0400379A RID: 14234
|
|
[FieldOffset(Offset = "0x30")]
|
|
[Token(Token = "0x400379A")]
|
|
[SerializeField]
|
|
[DDPIINEJFMD(JIBDPHMGEGO.Self, false, false, false)]
|
|
private HorizontalOrVerticalLayoutGroup layoutGroup;
|
|
}
|
|
}
|
|
}
|