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
GUITalkerList.cs
Go to the documentation of this file.
1
using
System
;
2
using
System.Collections.Generic
;
3
using
Cpp2IlInjected
;
4
using
Microsoft.Xna.Framework
;
5
using
Microsoft.Xna.Framework.Graphics
;
6
using
Terraria
;
7
8
// Token: 0x02000173 RID: 371
9
public
class
GUITalkerList
10
{
11
// Token: 0x06000A85 RID: 2693 RVA: 0x00033374 File Offset: 0x00031574
12
public
GUITalkerList
()
13
{
14
}
15
16
// Token: 0x06000A86 RID: 2694 RVA: 0x00033384 File Offset: 0x00031584
17
public
void
Draw
()
18
{
19
DrPlatform.DrPlatformType
currentPlatform
=
DrPlatform
.
CurrentPlatform
;
20
if
(!
true
)
21
{
22
}
23
this.
RefreshTalkersList
();
24
List<string>
activeTalkers
= this.
ActiveTalkers
;
25
GUIItemGrid.GetItemScaleHandler
getItemScaleHandler
= this.
itemScale
;
26
GUIItemGrid.CursorOver
cursorOver = this.
itemOver
;
27
GUIItemGrid.DrawItemHandler
drawItemHandler
= this.
itemDraw
;
28
int
size =
activeTalkers
._size;
29
if
(this.
lastDrawRegion
.
Width
!= 0)
30
{
31
Rectangle
rectangle
= this.
lastDrawRegion
;
32
int
width = this.
lastDrawRegion
.
Width
;
33
Vector2
vector =
rectangle
.TopLeft();
34
Rectangle
rectangle2
= this.
lastDrawRegion
;
35
int
width2
= this.
lastDrawRegion
.
Width
;
36
Vector2
vector2
=
rectangle2
.BottomRight();
37
return
;
38
}
39
Main
.
FlushBatches
();
40
}
41
42
// Token: 0x06000A87 RID: 2695 RVA: 0x000021DB File Offset: 0x000003DB
43
public
float
ItemScale
(
int
index
)
44
{
45
throw
new
AnalysisFailedException
(
"CPP2IL failed to recover any usable IL for this method."
);
46
}
47
48
// Token: 0x06000A88 RID: 2696 RVA: 0x00033424 File Offset: 0x00031624
49
public
void
ItemOver
(
int
index
)
50
{
51
}
52
53
// Token: 0x06000A89 RID: 2697 RVA: 0x00033434 File Offset: 0x00031634
54
public
void
ItemDraw
(
ItemGrid_Layout
gridLayout
,
int
i,
Vector2
position,
float
scale)
55
{
56
int
num = this.
itemOffset
;
57
Texture2D
texture2D
;
58
int
width =
texture2D
.
Width
;
59
int
height =
texture2D
.Height;
60
int
num2
= 32640;
61
int
width2
=
texture2D
.Width;
62
int
arraySize
=
texture2D
.ArraySize;
63
if
(this.
lastDrawRegion
.
Width
!= 0)
64
{
65
Rectangle
rectangle
;
66
this.lastDrawRegion
=
rectangle
;
67
this.lastDrawRegion.Width
=
texture2D
;
68
return
;
69
}
70
List<string>
activeTalkers
= this.
ActiveTalkers
;
71
if
(num2 == 0)
72
{
73
}
74
}
75
76
// Token: 0x06000A8A RID: 2698 RVA: 0x000021DB File Offset: 0x000003DB
77
public
void
RefreshTalkersList
()
78
{
79
throw
new
AnalysisFailedException
(
"CPP2IL failed to recover any usable IL for this method."
);
80
}
81
82
// Token: 0x04000A72 RID: 2674
83
private
List<string>
ActiveTalkers
;
84
85
// Token: 0x04000A73 RID: 2675
86
private
Rectangle
lastDrawRegion
;
87
88
// Token: 0x04000A74 RID: 2676
89
private
GUIItemGrid.GetItemScaleHandler
itemScale
;
90
91
// Token: 0x04000A75 RID: 2677
92
private
GUIItemGrid.CursorOver
itemOver
;
93
94
// Token: 0x04000A76 RID: 2678
95
private
GUIItemGrid.DrawItemHandler
itemDraw
;
96
97
// Token: 0x04000A77 RID: 2679
98
private
int
itemOffset
;
99
}
j__TPar
class f__AnonymousType0<< Count > j__TPar
Definition
--f__AnonymousType0.cs:8
Cpp2IlInjected.AnalysisFailedException
Definition
AnalysisFailedException.cs:7
DrPlatform.CurrentPlatform
static DrPlatform.DrPlatformType CurrentPlatform
Definition
DrPlatform.cs:26
DrPlatform.DrPlatformType
DrPlatformType
Definition
DrPlatform.cs:331
DrPlatform
Definition
DrPlatform.cs:12
GUIItemGrid.CursorOver
Definition
GUIItemGrid.cs:194
GUIItemGrid.DrawItemHandler
Definition
GUIItemGrid.cs:277
GUIItemGrid.GetItemScaleHandler
Definition
GUIItemGrid.cs:226
GUITalkerList.itemOffset
int itemOffset
Definition
GUITalkerList.cs:98
GUITalkerList.itemDraw
GUIItemGrid.DrawItemHandler itemDraw
Definition
GUITalkerList.cs:95
GUITalkerList.itemOver
GUIItemGrid.CursorOver itemOver
Definition
GUITalkerList.cs:92
GUITalkerList.ActiveTalkers
List< string > ActiveTalkers
Definition
GUITalkerList.cs:83
GUITalkerList.ItemDraw
void ItemDraw(ItemGrid_Layout gridLayout, int i, Vector2 position, float scale)
Definition
GUITalkerList.cs:54
GUITalkerList.RefreshTalkersList
void RefreshTalkersList()
Definition
GUITalkerList.cs:77
GUITalkerList.itemScale
GUIItemGrid.GetItemScaleHandler itemScale
Definition
GUITalkerList.cs:89
GUITalkerList.ItemScale
float ItemScale(int index)
Definition
GUITalkerList.cs:43
GUITalkerList.GUITalkerList
GUITalkerList()
Definition
GUITalkerList.cs:12
GUITalkerList.ItemOver
void ItemOver(int index)
Definition
GUITalkerList.cs:49
GUITalkerList.lastDrawRegion
Rectangle lastDrawRegion
Definition
GUITalkerList.cs:86
GUITalkerList.Draw
void Draw()
Definition
GUITalkerList.cs:17
GUITalkerList
Definition
GUITalkerList.cs:10
ItemGrid_Layout
Definition
ItemGrid_Layout.cs:7
Microsoft.Xna.Framework.Graphics.Texture2D.Width
readonly int Width
Definition
Texture2D.cs:446
Microsoft.Xna.Framework.Graphics.Texture2D
Definition
Texture2D.cs:10
System.Collections.Generic.List
Definition
List.cs:13
Terraria.Main.FlushBatches
static void FlushBatches()
Definition
Main.cs:5092
Terraria.Main
Definition
Main.cs:67
Cpp2IlInjected
Definition
AnalysisFailedException.cs:4
Microsoft.Xna.Framework.Graphics
Definition
Blend.cs:4
Microsoft.Xna.Framework
Definition
AudioChannels.cs:4
System.Collections.Generic
Definition
ArrayBuilder.cs:5
System.ExceptionArgument.index
@ index
System
Definition
__ComObject.cs:4
Terraria
Definition
Achievement.cs:10
Microsoft.Xna.Framework.Rectangle.Width
int Width
Definition
Rectangle.cs:533
Microsoft.Xna.Framework.Rectangle
Definition
Rectangle.cs:9
Microsoft.Xna.Framework.Vector2
Definition
Vector2.cs:10
source
GUITalkerList.cs
Generated by
1.10.0