138 lines
6.0 KiB
C#
138 lines
6.0 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using Cpp2IlInjected;
|
|
using UnityEngine;
|
|
using UnityEngine.UI;
|
|
|
|
// Token: 0x020006C5 RID: 1733
|
|
[Token(Token = "0x20006C5")]
|
|
public class TestCaseItem : MonoBehaviour
|
|
{
|
|
// Token: 0x060032CA RID: 13002 RVA: 0x000D0388 File Offset: 0x000CE588
|
|
[Token(Token = "0x60032CA")]
|
|
[Address(RVA = "0x989A90", Offset = "0x988890", VA = "0x180989A90")]
|
|
public static Color ConvertToColor(NIDIHGENDJD EGGNHGPCJMO)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (060032CA)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling UnityEngine.Color TestCaseItem::ConvertToColor(NIDIHGENDJD)
|
|
|
|
---> System.Exception: Basic block has to end with unconditional control flow.
|
|
{
|
|
Block_0:
|
|
stloc:NotImplementedException(var_5_09, newobj:NotImplementedException(NotImplementedException::.ctor, ldloc:string(var_4)))
|
|
}
|
|
|
|
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
|
|
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
|
|
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
|
|
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
|
|
--- End of inner exception stack trace ---
|
|
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
|
|
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1663
|
|
*/;
|
|
}
|
|
|
|
// Token: 0x060032CB RID: 13003 RVA: 0x000D03A0 File Offset: 0x000CE5A0
|
|
[Token(Token = "0x60032CB")]
|
|
[Address(RVA = "0x989BA0", Offset = "0x9889A0", VA = "0x180989BA0")]
|
|
public static string GetAssigneesString(CPFPHLINDHN MBJMOADIFIB)
|
|
{
|
|
List<string> gepobhpjhak = MBJMOADIFIB.GEPOBHPJHAK;
|
|
string text = string.Join(", ", gepobhpjhak);
|
|
if (MBJMOADIFIB.CPNPHDAKFCL > 0)
|
|
{
|
|
int num = MBJMOADIFIB.CPNPHDAKFCL;
|
|
string text2 = string.Format(" ({0} needed)", num);
|
|
}
|
|
return "Assignees" + "" + ": " + "none";
|
|
}
|
|
|
|
// Token: 0x170008A7 RID: 2215
|
|
// (get) Token: 0x060032CC RID: 13004 RVA: 0x000D03FC File Offset: 0x000CE5FC
|
|
// (set) Token: 0x060032CD RID: 13005 RVA: 0x000D0410 File Offset: 0x000CE610
|
|
[Token(Token = "0x170008A7")]
|
|
public CPFPHLINDHN BHNFBPFGOHI
|
|
{
|
|
[Token(Token = "0x60032CC")]
|
|
[Address(RVA = "0x3FA180", Offset = "0x3F8F80", VA = "0x1803FA180")]
|
|
get
|
|
{
|
|
return this.PDPLCAPLMEL;
|
|
}
|
|
[Token(Token = "0x60032CD")]
|
|
[Address(RVA = "0x989D40", Offset = "0x988B40", VA = "0x180989D40")]
|
|
set
|
|
{
|
|
this.PDPLCAPLMEL = value;
|
|
string text = this.nameText.text;
|
|
CPFPHLINDHN pdplcaplmel = this.PDPLCAPLMEL;
|
|
Text text2 = this.assigneesText;
|
|
string assigneesString = TestCaseItem.GetAssigneesString(pdplcaplmel);
|
|
string text3 = text2.text;
|
|
CPFPHLINDHN pdplcaplmel2 = this.PDPLCAPLMEL;
|
|
Color color = this.background.color;
|
|
}
|
|
}
|
|
|
|
// Token: 0x060032CE RID: 13006 RVA: 0x000D0468 File Offset: 0x000CE668
|
|
[Token(Token = "0x60032CE")]
|
|
[Address(RVA = "0x989C80", Offset = "0x988A80", VA = "0x180989C80")]
|
|
public void Refresh()
|
|
{
|
|
CPFPHLINDHN pdplcaplmel = this.PDPLCAPLMEL;
|
|
string text = this.nameText.text;
|
|
CPFPHLINDHN pdplcaplmel2 = this.PDPLCAPLMEL;
|
|
Text text2 = this.assigneesText;
|
|
string assigneesString = TestCaseItem.GetAssigneesString(pdplcaplmel2);
|
|
string text3 = text2.text;
|
|
CPFPHLINDHN pdplcaplmel3 = this.PDPLCAPLMEL;
|
|
Color color = this.background.color;
|
|
}
|
|
|
|
// Token: 0x060032CF RID: 13007 RVA: 0x000D04C4 File Offset: 0x000CE6C4
|
|
[Token(Token = "0x60032CF")]
|
|
[Address(RVA = "0x9899F0", Offset = "0x9887F0", VA = "0x1809899F0")]
|
|
public void Button_View()
|
|
{
|
|
TestPassWatchUIFlow componentInParent = base.GetComponentInParent<TestPassWatchUIFlow>();
|
|
int num = 0;
|
|
if (componentInParent != num)
|
|
{
|
|
string jpohgbcejej = this.PDPLCAPLMEL.JPOHGBCEJEJ;
|
|
componentInParent.ViewTestCaseDetails(jpohgbcejej);
|
|
}
|
|
}
|
|
|
|
// Token: 0x060032D0 RID: 13008 RVA: 0x000D0500 File Offset: 0x000CE700
|
|
[Token(Token = "0x60032D0")]
|
|
[Address(RVA = "0x74EA40", Offset = "0x74D840", VA = "0x18074EA40")]
|
|
public TestCaseItem()
|
|
{
|
|
}
|
|
|
|
// Token: 0x040029EF RID: 10735
|
|
[FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x40029EF")]
|
|
[SerializeField]
|
|
private Image background;
|
|
|
|
// Token: 0x040029F0 RID: 10736
|
|
[FieldOffset(Offset = "0x20")]
|
|
[Token(Token = "0x40029F0")]
|
|
[SerializeField]
|
|
private Text nameText;
|
|
|
|
// Token: 0x040029F1 RID: 10737
|
|
[FieldOffset(Offset = "0x28")]
|
|
[Token(Token = "0x40029F1")]
|
|
[SerializeField]
|
|
private Text assigneesText;
|
|
|
|
// Token: 0x040029F2 RID: 10738
|
|
[FieldOffset(Offset = "0x30")]
|
|
[Token(Token = "0x40029F2")]
|
|
private CPFPHLINDHN PDPLCAPLMEL;
|
|
}
|