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
RareSpawnBestiaryInfoElement.cs
Go to the documentation of this file.
1
using
System
;
2
using
System.Runtime.CompilerServices
;
3
using
Terraria.Localization
;
4
using
Terraria.UI
;
5
6
namespace
Terraria.GameContent.Bestiary
7
{
8
// Token: 0x02000954 RID: 2388
9
public
class
RareSpawnBestiaryInfoElement
:
IBestiaryInfoElement
,
IProvideSearchFilterString
10
{
11
// Token: 0x17000824 RID: 2084
12
// (get) Token: 0x060047CC RID: 18380 RVA: 0x0025F55C File Offset: 0x0025D75C
13
// (set) Token: 0x060047CD RID: 18381 RVA: 0x0025F570 File Offset: 0x0025D770
14
public
int
RarityLevel
15
{
16
[
CompilerGenerated
]
17
get
18
{
19
return
this.<
RarityLevel
>
k__BackingField
;
20
}
21
[
CompilerGenerated
]
22
private
set
23
{
24
this.<
RarityLevel
>
k__BackingField
=
value
;
25
}
26
}
27
28
// Token: 0x060047CE RID: 18382 RVA: 0x0025F584 File Offset: 0x0025D784
29
public
RareSpawnBestiaryInfoElement
(
int
rarityLevel
)
30
{
31
this.RarityLevel
=
rarityLevel
;
32
}
33
34
// Token: 0x060047CF RID: 18383 RVA: 0x0025F5A0 File Offset: 0x0025D7A0
35
public
UIElement
ProvideUIElement
(
BestiaryUICollectionInfo
info
)
36
{
37
}
38
39
// Token: 0x060047D0 RID: 18384 RVA: 0x0025F5B0 File Offset: 0x0025D7B0
40
public
string
GetSearchString
(
BestiaryUICollectionInfo
info
)
41
{
42
if
(
info
.UnlockState !=
BestiaryEntryUnlockState
.NotKnownAtAll_0)
43
{
44
return
Language
.
GetText
(
"BestiaryInfo.IsRare"
).<Value>
k__BackingField
;
45
}
46
}
47
48
// Token: 0x0400838C RID: 33676
49
[
CompilerGenerated
]
50
private
int <RarityLevel>
k__BackingField
;
51
}
52
}
j__TPar
class f__AnonymousType0<< Count > j__TPar
Definition
--f__AnonymousType0.cs:8
Terraria.GameContent.Bestiary.RareSpawnBestiaryInfoElement.GetSearchString
string GetSearchString(BestiaryUICollectionInfo info)
Definition
RareSpawnBestiaryInfoElement.cs:40
Terraria.GameContent.Bestiary.RareSpawnBestiaryInfoElement.k__BackingField
int< RarityLevel > k__BackingField
Definition
RareSpawnBestiaryInfoElement.cs:50
Terraria.GameContent.Bestiary.RareSpawnBestiaryInfoElement.ProvideUIElement
UIElement ProvideUIElement(BestiaryUICollectionInfo info)
Definition
RareSpawnBestiaryInfoElement.cs:35
Terraria.GameContent.Bestiary.RareSpawnBestiaryInfoElement.RarityLevel
int RarityLevel
Definition
RareSpawnBestiaryInfoElement.cs:15
Terraria.GameContent.Bestiary.RareSpawnBestiaryInfoElement.RareSpawnBestiaryInfoElement
RareSpawnBestiaryInfoElement(int rarityLevel)
Definition
RareSpawnBestiaryInfoElement.cs:29
Terraria.GameContent.Bestiary.RareSpawnBestiaryInfoElement
Definition
RareSpawnBestiaryInfoElement.cs:10
Terraria.Localization.Language.GetText
static LocalizedText GetText(string key)
Definition
Language.cs:44
Terraria.Localization.Language
Definition
Language.cs:11
Terraria.UI.UIElement
Definition
UIElement.cs:15
Terraria.GameContent.Bestiary.IBestiaryInfoElement
Definition
IBestiaryInfoElement.cs:8
Terraria.GameContent.Bestiary.IProvideSearchFilterString
Definition
IProvideSearchFilterString.cs:7
System.Runtime.CompilerServices
Definition
AsyncMethodBuilderAttribute.cs:4
System.ExceptionArgument.value
@ value
System.ExceptionArgument.info
@ info
System
Definition
__ComObject.cs:4
Terraria.GameContent.Bestiary.BestiaryEntryUnlockState
BestiaryEntryUnlockState
Definition
BestiaryEntryUnlockState.cs:7
Terraria.GameContent.Bestiary
Definition
BestiaryDatabase.cs:7
Terraria.Localization
Definition
GameCulture.cs:7
Terraria.UI
Definition
Alignment.cs:5
Terraria.GameContent.Bestiary.BestiaryUICollectionInfo
Definition
BestiaryUICollectionInfo.cs:7
source
Terraria
GameContent
Bestiary
RareSpawnBestiaryInfoElement.cs
Generated by
1.10.0