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
EnableIfAttribute.cs
Go to the documentation of this file.
1
using
System
;
2
using
System.Runtime.CompilerServices
;
3
4
namespace
NaughtyAttributes
5
{
6
// Token: 0x0200000C RID: 12
7
[
AttributeUsage
(
AttributeTargets
.Field, AllowMultiple =
false
, Inherited =
true
)]
8
public
class
EnableIfAttribute
:
DrawerAttribute
9
{
10
// Token: 0x17000006 RID: 6
11
// (get) Token: 0x0600001A RID: 26 RVA: 0x000022C8 File Offset: 0x000004C8
12
// (set) Token: 0x0600001B RID: 27 RVA: 0x000022DC File Offset: 0x000004DC
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: 0x17000007 RID: 7
28
// (get) Token: 0x0600001C RID: 28 RVA: 0x000022F0 File Offset: 0x000004F0
29
// (set) Token: 0x0600001D RID: 29 RVA: 0x00002304 File Offset: 0x00000504
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: 0x17000008 RID: 8
45
// (get) Token: 0x0600001E RID: 30 RVA: 0x00002318 File Offset: 0x00000518
46
// (set) Token: 0x0600001F RID: 31 RVA: 0x0000232C File Offset: 0x0000052C
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: 0x06000020 RID: 32 RVA: 0x0000233C File Offset: 0x0000053C
61
public
EnableIfAttribute
(
string
condition)
62
{
63
if
(condition ==
null
|| condition !=
null
)
64
{
65
return
;
66
}
67
throw
new
ArrayTypeMismatchException
();
68
}
69
70
// Token: 0x06000021 RID: 33 RVA: 0x0000235C File Offset: 0x0000055C
71
public
EnableIfAttribute
(
ConditionOperator
conditionOperator
,
params
string
[] conditions)
72
{
73
this.ConditionOperator
=
conditionOperator
;
74
this.Conditions
= conditions;
75
}
76
77
// Token: 0x0400000A RID: 10
78
[
CompilerGenerated
]
79
private
string
[] <
Conditions
>
k__BackingField
;
80
81
// Token: 0x0400000B RID: 11
82
[
CompilerGenerated
]
83
private
ConditionOperator <ConditionOperator>
k__BackingField
;
84
85
// Token: 0x0400000C RID: 12
86
[
CompilerGenerated
]
87
private
bool <Reversed>
k__BackingField
;
88
}
89
}
j__TPar
class f__AnonymousType0<< Count > j__TPar
Definition
--f__AnonymousType0.cs:8
NaughtyAttributes.DrawerAttribute
Definition
DrawerAttribute.cs:7
NaughtyAttributes.EnableIfAttribute.k__BackingField
string[]< Conditions > k__BackingField
Definition
EnableIfAttribute.cs:79
NaughtyAttributes.EnableIfAttribute.k__BackingField
bool< Reversed > k__BackingField
Definition
EnableIfAttribute.cs:87
NaughtyAttributes.EnableIfAttribute.EnableIfAttribute
EnableIfAttribute(ConditionOperator conditionOperator, params string[] conditions)
Definition
EnableIfAttribute.cs:71
NaughtyAttributes.EnableIfAttribute.k__BackingField
ConditionOperator< ConditionOperator > k__BackingField
Definition
EnableIfAttribute.cs:83
NaughtyAttributes.EnableIfAttribute.EnableIfAttribute
EnableIfAttribute(string condition)
Definition
EnableIfAttribute.cs:61
NaughtyAttributes.EnableIfAttribute.Conditions
string[] Conditions
Definition
EnableIfAttribute.cs:14
NaughtyAttributes.EnableIfAttribute.Reversed
bool Reversed
Definition
EnableIfAttribute.cs:48
NaughtyAttributes.EnableIfAttribute
Definition
EnableIfAttribute.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
EnableIfAttribute.cs
Generated by
1.10.0