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
CustomCurrencySingleCoin.cs
Go to the documentation of this file.
1using System;
7
9{
10 // Token: 0x02000A5B RID: 2651
12 {
13 // Token: 0x06004E64 RID: 20068 RVA: 0x002768CC File Offset: 0x00274ACC
19
20 // Token: 0x06004E65 RID: 20069 RVA: 0x000021DB File Offset: 0x000003DB
22 {
23 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
24 }
25
26 // Token: 0x06004E66 RID: 20070 RVA: 0x00276910 File Offset: 0x00274B10
27 public override void DrawSavingsMoney(SpriteBatch sb, string text, float shopx, float shopy, long totalCoins, bool horizontal = false)
28 {
30 if (!true)
31 {
32 }
33 if (16948 == 0)
34 {
35 }
37 }
38
39 // Token: 0x06004E67 RID: 20071 RVA: 0x0027694C File Offset: 0x00274B4C
40 public override void GetPriceText(string[] lines, int currentLine, long price)
41 {
42 int num = 1;
44 if (num == 0)
45 {
46 }
47 int num2 = 17279;
49 string text = Language.GetTextValue(this.CurrencyTextKey).ToLower();
50 string text2;
51 if ((text == null || text != null) && (text2 == null || text2 != null))
52 {
53 return;
54 }
56 }
57
58 // Token: 0x040086F6 RID: 34550
59 public float CurrencyDrawScale = (float)52429;
60
61 // Token: 0x040086F7 RID: 34551
62 public string CurrencyTextKey = "Currency.DefenderMedals";
63
64 // Token: 0x040086F8 RID: 34552
65 public Color CurrencyTextColor = "Currency.DefenderMedals";
66 }
67}
class f__AnonymousType0<< Count > j__TPar
override void GetPriceText(string[] lines, int currentLine, long price)
CustomCurrencySingleCoin(int coinItemID, long currencyCap)
override bool TryPurchasing(long price, List< Item[]> inv, List< Point > slotCoins, List< Point > slotsEmpty, List< Point > slotEmptyBank, List< Point > slotEmptyBank2, List< Point > slotEmptyBank3, List< Point > slotEmptyBank4)
override void DrawSavingsMoney(SpriteBatch sb, string text, float shopx, float shopy, long totalCoins, bool horizontal=false)
static string GetTextValue(string key)
Definition Language.cs:54