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: 0x02000C01 RID: 3073
|
|
[Token(Token = "0x2000C01")]
|
|
public class DynamicPanelModelController : InterfaceModelController<OCFFLBBDCOG>
|
|
{
|
|
// Token: 0x06004B92 RID: 19346 RVA: 0x001183EC File Offset: 0x001165EC
|
|
[Token(Token = "0x6004B92")]
|
|
[Address(RVA = "0x2086250", Offset = "0x2085250", VA = "0x182086250")]
|
|
public DynamicPanelModelController()
|
|
{
|
|
}
|
|
|
|
// Token: 0x02000C02 RID: 3074
|
|
[Token(Token = "0x2000C02")]
|
|
[Serializable]
|
|
private class ConfigureLayoutGroupImpl : ControllerImplementation<OCFFLBBDCOG>
|
|
{
|
|
// Token: 0x06004B93 RID: 19347 RVA: 0x00118400 File Offset: 0x00116600
|
|
[Token(Token = "0x6004B93")]
|
|
[Address(RVA = "0x2082440", Offset = "0x2081440", VA = "0x182082440", 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: 0x06004B94 RID: 19348 RVA: 0x001184E4 File Offset: 0x001166E4
|
|
[Token(Token = "0x6004B94")]
|
|
[Address(RVA = "0x2082740", Offset = "0x2081740", VA = "0x182082740")]
|
|
public ConfigureLayoutGroupImpl()
|
|
{
|
|
}
|
|
|
|
// Token: 0x04003861 RID: 14433
|
|
[FieldOffset(Offset = "0x30")]
|
|
[Token(Token = "0x4003861")]
|
|
[SerializeField]
|
|
[NKNLDEIPALE(FHBJCBPFODN.Self, false, false, false)]
|
|
private HorizontalOrVerticalLayoutGroup layoutGroup;
|
|
}
|
|
}
|
|
}
|