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

◆ TryFindingPaintInplayerInventory()

static void Terraria.GameContent.SmartCursorHelper.TryFindingPaintInplayerInventory ( SmartCursorHelper::SmartCursorUsageInfo providedInfo,
[Out] int paintLookup,
[Out] int coatingLookup )
inlinestaticprivate

Definition at line 53 of file SmartCursorHelper.cs.

54 {
55 int type = providedInfo.item.type;
56 Item item = providedInfo.player.FindPaintOrCoating();
57 if (item != null)
58 {
59 byte paintCoating = item.paintCoating;
60 coatingLookup.m_value = (int)paintCoating;
61 byte paint = item.paint;
62 paintLookup.m_value = (int)paint;
63 }
64 }
class f__AnonymousType0<< Count > j__TPar
static SmartCursorHelper.SmartCursorUsageInfo providedInfo

References System.item, j__TPar, and Terraria.GameContent.SmartCursorHelper.providedInfo.