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
TileDrawSorter.cs
Go to the documentation of this file.
1using System;
3
5{
6 // Token: 0x0200067A RID: 1658
7 public class TileDrawSorter
8 {
9 // Token: 0x06003742 RID: 14146 RVA: 0x00221598 File Offset: 0x0021F798
11 {
12 }
13
14 // Token: 0x06003743 RID: 14147 RVA: 0x002215AC File Offset: 0x0021F7AC
15 public void reset()
16 {
17 }
18
19 // Token: 0x06003744 RID: 14148 RVA: 0x002215BC File Offset: 0x0021F7BC
20 public void Cache(int x, int y, int type)
21 {
23 int holderLength = this._holderLength;
24 this.IncreaseArraySize();
25 }
26
27 // Token: 0x06003745 RID: 14149 RVA: 0x002215E0 File Offset: 0x0021F7E0
28 private void IncreaseArraySize()
29 {
30 int holderLength = this._holderLength;
31 }
32
33 // Token: 0x06003746 RID: 14150 RVA: 0x002215F4 File Offset: 0x0021F7F4
40
41 // Token: 0x06003747 RID: 14151 RVA: 0x00221618 File Offset: 0x0021F818
42 public int GetAmountToDraw()
43 {
44 return this._currentCacheIndex;
45 }
46
47 // Token: 0x0400786D RID: 30829
49
50 // Token: 0x0400786E RID: 30830
51 private int _holderLength;
52
53 // Token: 0x0400786F RID: 30831
54 private int _currentCacheIndex;
55
56 // Token: 0x04007870 RID: 30832
58
59 // Token: 0x0200067B RID: 1659
60 public struct TileTexPoint
61 {
62 // Token: 0x06003748 RID: 14152 RVA: 0x0022162C File Offset: 0x0021F82C
63 public override string ToString()
64 {
65 int y = this.Y;
66 int tileType = this.TileType;
67 string text;
68 return text;
69 }
70
71 // Token: 0x04007871 RID: 30833
72 public int X;
73
74 // Token: 0x04007872 RID: 30834
75 public int Y;
76
77 // Token: 0x04007873 RID: 30835
78 public int TileType;
79 }
80
81 // Token: 0x0200067C RID: 1660
82 public class CustomComparer : Comparer<TileDrawSorter.TileTexPoint>
83 {
84 // Token: 0x06003749 RID: 14153 RVA: 0x00221648 File Offset: 0x0021F848
86 {
87 int num;
88 return num;
89 }
90
91 // Token: 0x0600374A RID: 14154 RVA: 0x00221658 File Offset: 0x0021F858
93 {
94 }
95 }
96 }
97}
class f__AnonymousType0<< Count > j__TPar
override int Compare(TileDrawSorter.TileTexPoint x, TileDrawSorter.TileTexPoint y)
void Cache(int x, int y, int type)
TileDrawSorter.CustomComparer _tileComparer
TileDrawSorter.TileTexPoint[] tilesToDraw