terraria-cpp2il-methodrecon
v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches
ShowIfAttribute.cs
Go to the documentation of this file.
1
using
System
;
2
using
System.Runtime.CompilerServices
;
3
4
namespace
NaughtyAttributes
5
{
6
// Token: 0x02000005 RID: 5
7
[
AttributeUsage
(
AttributeTargets
.Field, AllowMultiple =
false
, Inherited =
true
)]
8
public
class
ShowIfAttribute
:
DrawConditionAttribute
9
{
10
// Token: 0x17000001 RID: 1
11
// (get) Token: 0x06000004 RID: 4 RVA: 0x000020A8 File Offset: 0x000002A8
12
// (set) Token: 0x06000005 RID: 5 RVA: 0x000020BC File Offset: 0x000002BC
13
public
string
[]
Conditions
14
{
15
[
CompilerGenerated
]
16
get
17
{
18
return
this.<
Conditions
>
k__BackingField
;
19
}
20
[
CompilerGenerated
]
21
private
set
22
{
23
this.<
Conditions
>
k__BackingField
=
value
;
24
}
25
}
26
27
// Token: 0x17000002 RID: 2
28
// (get) Token: 0x06000006 RID: 6 RVA: 0x000020D0 File Offset: 0x000002D0
29
// (set) Token: 0x06000007 RID: 7 RVA: 0x000020E4 File Offset: 0x000002E4
30
public
ConditionOperator
ConditionOperator
31
{
32
[
CompilerGenerated
]
33
get
34
{
35
return
this.<
ConditionOperator
>
k__BackingField
;
36
}
37
[
CompilerGenerated
]
38
private
set
39
{
40
this.<
ConditionOperator
>
k__BackingField
=
value
;
41
}
42
}
43
44
// Token: 0x17000003 RID: 3
45
// (get) Token: 0x06000008 RID: 8 RVA: 0x000020F8 File Offset: 0x000002F8
46
// (set) Token: 0x06000009 RID: 9 RVA: 0x0000210C File Offset: 0x0000030C
47
public
bool
Reversed
48
{
49
[
CompilerGenerated
]
50
get
51
{
52
return
this.<
Reversed
>
k__BackingField
;
53
}
54
[
CompilerGenerated
]
55
protected
set
56
{
57
}
58
}
59
60
// Token: 0x0600000A RID: 10 RVA: 0x0000211C File Offset: 0x0000031C
61
public
ShowIfAttribute
(
string
condition)
62
{
63
if
(condition ==
null
|| condition !=
null
)
64
{
65
return
;
66
}
67
throw
new
ArrayTypeMismatchException
();
68
}
69
70
// Token: 0x0600000B RID: 11 RVA: 0x0000213C File Offset: 0x0000033C
71
public
ShowIfAttribute
(
ConditionOperator
conditionOperator
,
params
string
[] conditions)
72
{
73
this.ConditionOperator
=
conditionOperator
;
74
this.Conditions
= conditions;
75
}
76
77
// Token: 0x04000004 RID: 4
78
[
CompilerGenerated
]
79
private
string
[] <
Conditions
>
k__BackingField
;
80
81
// Token: 0x04000005 RID: 5
82
[
CompilerGenerated
]
83
private
ConditionOperator <ConditionOperator>
k__BackingField
;
84
85
// Token: 0x04000006 RID: 6
86
[
CompilerGenerated
]
87
private
bool <Reversed>
k__BackingField
;
88
}
89
}
j__TPar
class f__AnonymousType0<< Count > j__TPar
Definition
--f__AnonymousType0.cs:8
NaughtyAttributes.DrawConditionAttribute
Definition
DrawConditionAttribute.cs:7
NaughtyAttributes.ShowIfAttribute.k__BackingField
ConditionOperator< ConditionOperator > k__BackingField
Definition
ShowIfAttribute.cs:83
NaughtyAttributes.ShowIfAttribute.k__BackingField
bool< Reversed > k__BackingField
Definition
ShowIfAttribute.cs:87
NaughtyAttributes.ShowIfAttribute.ShowIfAttribute
ShowIfAttribute(ConditionOperator conditionOperator, params string[] conditions)
Definition
ShowIfAttribute.cs:71
NaughtyAttributes.ShowIfAttribute.Reversed
bool Reversed
Definition
ShowIfAttribute.cs:48
NaughtyAttributes.ShowIfAttribute.k__BackingField
string[]< Conditions > k__BackingField
Definition
ShowIfAttribute.cs:79
NaughtyAttributes.ShowIfAttribute.Conditions
string[] Conditions
Definition
ShowIfAttribute.cs:14
NaughtyAttributes.ShowIfAttribute.ShowIfAttribute
ShowIfAttribute(string condition)
Definition
ShowIfAttribute.cs:61
NaughtyAttributes.ShowIfAttribute
Definition
ShowIfAttribute.cs:9
System.ArrayTypeMismatchException
Definition
ArrayTypeMismatchException.cs:9
NaughtyAttributes.ConditionOperator
ConditionOperator
Definition
ConditionOperator.cs:7
NaughtyAttributes
Definition
BoxGroupAttribute.cs:5
System.Runtime.CompilerServices
Definition
AsyncMethodBuilderAttribute.cs:4
System.ExceptionArgument.value
@ value
System.AttributeTargets
AttributeTargets
Definition
AttributeTargets.cs:8
System
Definition
__ComObject.cs:4
source
NaughtyAttributes.Core
NaughtyAttributes
ShowIfAttribute.cs
Generated by
1.10.0