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
ItemDropBestiaryInfoElement.cs
Go to the documentation of this file.
1
using
System
;
2
using
System.Collections.Generic
;
3
using
Cpp2IlInjected
;
4
using
Terraria.GameContent.ItemDropRules
;
5
using
Terraria.UI
;
6
7
namespace
Terraria.GameContent.Bestiary
8
{
9
// Token: 0x02000960 RID: 2400
10
public
class
ItemDropBestiaryInfoElement
:
IItemBestiaryInfoElement
,
IBestiaryInfoElement
,
IProvideSearchFilterString
11
{
12
// Token: 0x06004805 RID: 18437 RVA: 0x0025FA78 File Offset: 0x0025DC78
13
public
ItemDropBestiaryInfoElement
(
DropRateInfo
info
)
14
{
15
List<IItemDropRuleCondition>
conditions =
info
.conditions;
16
this._droprateInfo.conditions
= conditions;
17
}
18
19
// Token: 0x06004806 RID: 18438 RVA: 0x0025FAA0 File Offset: 0x0025DCA0
20
public
bool
ShouldShowItem
()
21
{
22
bool
flag;
23
return
flag;
24
}
25
26
// Token: 0x06004807 RID: 18439 RVA: 0x000021DB File Offset: 0x000003DB
27
public
virtual
UIElement
ProvideUIElement
(
BestiaryUICollectionInfo
info
)
28
{
29
throw
new
AnalysisFailedException
(
"CPP2IL failed to recover any usable IL for this method."
);
30
}
31
32
// Token: 0x06004808 RID: 18440 RVA: 0x0025FAB0 File Offset: 0x0025DCB0
33
private
static
bool
ShouldShowItem
(
DropRateInfo
dropRateInfo
)
34
{
35
}
36
37
// Token: 0x06004809 RID: 18441 RVA: 0x0025FAC4 File Offset: 0x0025DCC4
38
public
string
GetSearchString
(
BestiaryUICollectionInfo
info
)
39
{
40
if
(
info
.UnlockState ==
BestiaryEntryUnlockState
.NotKnownAtAll_0)
41
{
42
}
43
string
text
;
44
return
text
;
45
}
46
47
// Token: 0x040083A0 RID: 33696
48
public
DropRateInfo
_droprateInfo
;
49
}
50
}
j__TPar
class f__AnonymousType0<< Count > j__TPar
Definition
--f__AnonymousType0.cs:8
Cpp2IlInjected.AnalysisFailedException
Definition
AnalysisFailedException.cs:7
System.Collections.Generic.List
Definition
List.cs:13
Terraria.GameContent.Bestiary.ItemDropBestiaryInfoElement.ShouldShowItem
static bool ShouldShowItem(DropRateInfo dropRateInfo)
Definition
ItemDropBestiaryInfoElement.cs:33
Terraria.GameContent.Bestiary.ItemDropBestiaryInfoElement.ItemDropBestiaryInfoElement
ItemDropBestiaryInfoElement(DropRateInfo info)
Definition
ItemDropBestiaryInfoElement.cs:13
Terraria.GameContent.Bestiary.ItemDropBestiaryInfoElement.ProvideUIElement
virtual UIElement ProvideUIElement(BestiaryUICollectionInfo info)
Definition
ItemDropBestiaryInfoElement.cs:27
Terraria.GameContent.Bestiary.ItemDropBestiaryInfoElement.ShouldShowItem
bool ShouldShowItem()
Definition
ItemDropBestiaryInfoElement.cs:20
Terraria.GameContent.Bestiary.ItemDropBestiaryInfoElement.GetSearchString
string GetSearchString(BestiaryUICollectionInfo info)
Definition
ItemDropBestiaryInfoElement.cs:38
Terraria.GameContent.Bestiary.ItemDropBestiaryInfoElement._droprateInfo
DropRateInfo _droprateInfo
Definition
ItemDropBestiaryInfoElement.cs:48
Terraria.GameContent.Bestiary.ItemDropBestiaryInfoElement
Definition
ItemDropBestiaryInfoElement.cs:11
Terraria.UI.UIElement
Definition
UIElement.cs:15
Terraria.GameContent.Bestiary.IBestiaryInfoElement
Definition
IBestiaryInfoElement.cs:8
Terraria.GameContent.Bestiary.IItemBestiaryInfoElement
Definition
IItemBestiaryInfoElement.cs:7
Terraria.GameContent.Bestiary.IProvideSearchFilterString
Definition
IProvideSearchFilterString.cs:7
Cpp2IlInjected
Definition
AnalysisFailedException.cs:4
System.Collections.Generic
Definition
ArrayBuilder.cs:5
System.ExceptionArgument.text
@ text
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.GameContent.ItemDropRules
Definition
Chains.cs:7
Terraria.UI
Definition
Alignment.cs:5
Terraria.GameContent.Bestiary.BestiaryUICollectionInfo
Definition
BestiaryUICollectionInfo.cs:7
Terraria.GameContent.ItemDropRules.DropRateInfo
Definition
DropRateInfo.cs:9
source
Terraria
GameContent
Bestiary
ItemDropBestiaryInfoElement.cs
Generated by
1.10.0