Files
2026-06-04 11:42:34 +02:00

121 lines
3.2 KiB
C#

using System;
using UnityEngine;
namespace UnityTest
{
// Token: 0x020012B7 RID: 4791
public abstract class ComparerBase : ActionBase
{
// Token: 0x060299A7 RID: 170407
protected abstract bool CAONOPOMDMI(object FKOFGIJFIKA, object GNNBOMAEBGK);
// Token: 0x060299A8 RID: 170408 RVA: 0x00B934CC File Offset: 0x00B916CC
protected override bool CAONOPOMDMI(object OCLFNAHODHM)
{
if (this.compareToType == ComparerBase.BJKBEEFHJBH.CompareToConstantValue)
{
this.m_ObjOtherVal = this.ConstValue;
}
else if (this.compareToType == ComparerBase.BJKBEEFHJBH.CompareToNull)
{
this.m_ObjOtherVal = null;
}
else if (this.other == null)
{
this.m_ObjOtherVal = null;
}
else
{
if (this.m_MemberResolverB == null)
{
this.m_MemberResolverB = new HLPIGOMMBCF(this.other, this.otherPropertyPath);
}
this.m_ObjOtherVal = this.m_MemberResolverB.OMNBMEDIIJH(this.UseCache);
}
return this.CAONOPOMDMI(OCLFNAHODHM, this.m_ObjOtherVal);
}
// Token: 0x060299A9 RID: 170409 RVA: 0x00B93574 File Offset: 0x00B91774
public virtual Type[] IJDPEDACMDL()
{
return null;
}
// Token: 0x170012DF RID: 4831
// (get) Token: 0x060299AA RID: 170410 RVA: 0x00B93578 File Offset: 0x00B91778
// (set) Token: 0x060299AB RID: 170411 RVA: 0x00B93580 File Offset: 0x00B91780
public virtual object ConstValue { get; set; }
// Token: 0x060299AC RID: 170412 RVA: 0x00B9358C File Offset: 0x00B9178C
public virtual object KGAKEDKFJDB()
{
throw new NotImplementedException();
}
// Token: 0x060299AD RID: 170413 RVA: 0x00B93594 File Offset: 0x00B91794
public override string EEGEJKMHLBH()
{
string text = string.Concat(new object[]
{
base.GetType().Name,
" assertion failed.\n",
this.go.name,
".",
this.thisPropertyPath,
" ",
this.compareToType
});
ComparerBase.BJKBEEFHJBH bjkbeefhjbh = this.compareToType;
string text2;
if (bjkbeefhjbh != ComparerBase.BJKBEEFHJBH.CompareToObject)
{
if (bjkbeefhjbh != ComparerBase.BJKBEEFHJBH.CompareToConstantValue)
{
if (bjkbeefhjbh == ComparerBase.BJKBEEFHJBH.CompareToNull)
{
text += " failed.";
}
}
else
{
text2 = text;
text = string.Concat(new object[] { text2, " ", this.ConstValue, " failed." });
}
}
else
{
text2 = text;
text = string.Concat(new object[] { text2, " (", this.other, ").", this.otherPropertyPath, " failed." });
}
text2 = text;
return string.Concat(new object[] { text2, " Expected: ", this.m_ObjOtherVal, " Actual: ", this.m_ObjVal });
}
// Token: 0x0400666B RID: 26219
public ComparerBase.BJKBEEFHJBH compareToType;
// Token: 0x0400666C RID: 26220
public GameObject other;
// Token: 0x0400666D RID: 26221
protected object m_ObjOtherVal;
// Token: 0x0400666E RID: 26222
public string otherPropertyPath = string.Empty;
// Token: 0x0400666F RID: 26223
private HLPIGOMMBCF m_MemberResolverB;
// Token: 0x020012B8 RID: 4792
public enum BJKBEEFHJBH
{
// Token: 0x04006672 RID: 26226
CompareToObject,
// Token: 0x04006673 RID: 26227
CompareToConstantValue,
// Token: 0x04006674 RID: 26228
CompareToNull
}
}
}