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
ItemFromCatchingNPCBestiaryInfoElement.cs
Go to the documentation of this file.
1
using
System
;
2
using
Terraria.UI
;
3
4
namespace
Terraria.GameContent.Bestiary
5
{
6
// Token: 0x02000961 RID: 2401
7
public
class
ItemFromCatchingNPCBestiaryInfoElement
:
IItemBestiaryInfoElement
,
IBestiaryInfoElement
,
IProvideSearchFilterString
8
{
9
// Token: 0x0600480A RID: 18442 RVA: 0x0025FADC File Offset: 0x0025DCDC
10
public
ItemFromCatchingNPCBestiaryInfoElement
(
int
itemId)
11
{
12
this._itemType
= itemId;
13
}
14
15
// Token: 0x0600480B RID: 18443 RVA: 0x0025FAF8 File Offset: 0x0025DCF8
16
public
UIElement
ProvideUIElement
(
BestiaryUICollectionInfo
info
)
17
{
18
return
"catch item #"
;
19
}
20
21
// Token: 0x0600480C RID: 18444 RVA: 0x0025FB18 File Offset: 0x0025DD18
22
public
string
GetSearchString
(
BestiaryUICollectionInfo
info
)
23
{
24
if
(
info
.UnlockState ==
BestiaryEntryUnlockState
.NotKnownAtAll_0)
25
{
26
}
27
int
itemType = this.
_itemType
;
28
string
text
;
29
return
text
;
30
}
31
32
// Token: 0x040083A1 RID: 33697
33
private
int
_itemType
;
34
}
35
}
j__TPar
class f__AnonymousType0<< Count > j__TPar
Definition
--f__AnonymousType0.cs:8
Terraria.GameContent.Bestiary.ItemFromCatchingNPCBestiaryInfoElement.GetSearchString
string GetSearchString(BestiaryUICollectionInfo info)
Definition
ItemFromCatchingNPCBestiaryInfoElement.cs:22
Terraria.GameContent.Bestiary.ItemFromCatchingNPCBestiaryInfoElement._itemType
int _itemType
Definition
ItemFromCatchingNPCBestiaryInfoElement.cs:33
Terraria.GameContent.Bestiary.ItemFromCatchingNPCBestiaryInfoElement.ProvideUIElement
UIElement ProvideUIElement(BestiaryUICollectionInfo info)
Definition
ItemFromCatchingNPCBestiaryInfoElement.cs:16
Terraria.GameContent.Bestiary.ItemFromCatchingNPCBestiaryInfoElement.ItemFromCatchingNPCBestiaryInfoElement
ItemFromCatchingNPCBestiaryInfoElement(int itemId)
Definition
ItemFromCatchingNPCBestiaryInfoElement.cs:10
Terraria.GameContent.Bestiary.ItemFromCatchingNPCBestiaryInfoElement
Definition
ItemFromCatchingNPCBestiaryInfoElement.cs:8
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
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.UI
Definition
Alignment.cs:5
Terraria.GameContent.Bestiary.BestiaryUICollectionInfo
Definition
BestiaryUICollectionInfo.cs:7
source
Terraria
GameContent
Bestiary
ItemFromCatchingNPCBestiaryInfoElement.cs
Generated by
1.10.0