terraria-cpp2il v1.4.4.9
Terraria mobile dump, with CallAnalysis (see source code). Dump with reconstucted method: https://infinitynichto.github.io/terraria-cpp2il-methodrecon
Loading...
Searching...
No Matches
SurfaceMap.cs
Go to the documentation of this file.
1using System;
5
7{
8 [global::Cpp2ILInjected.Token(Token = "0x200090A")]
9 public class SurfaceMap
10 {
11 [global::Cpp2ILInjected.Token(Token = "0x170007FB")]
12 public int Width
13 {
14 [global::Cpp2ILInjected.Token(Token = "0x600467E")]
15 [global::Cpp2ILInjected.Address(RVA = "0x7D53A4", Offset = "0x7D53A4", Length = "0xC")]
16 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
17 get
18 {
19 throw null;
20 }
21 }
22
23 [global::Cpp2ILInjected.Token(Token = "0x600467F")]
24 [global::Cpp2ILInjected.Address(RVA = "0x7DB164", Offset = "0x7DB164", Length = "0x19C")]
25 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
26 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SurfaceMap), Member = "FromArea", MemberParameters = new object[]
27 {
28 typeof(int),
29 typeof(int)
30 }, ReturnType = typeof(SurfaceMap))]
31 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
32 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
33 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Math), Member = "Max", MemberParameters = new object[]
34 {
35 typeof(int),
36 typeof(int)
37 }, ReturnType = typeof(int))]
38 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Math), Member = "Min", MemberParameters = new object[]
39 {
40 typeof(int),
41 typeof(int)
42 }, ReturnType = typeof(int))]
43 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 5)]
44 private SurfaceMap(short[] heights, int x)
45 {
46 throw null;
47 }
48
49 [global::Cpp2ILInjected.Token(Token = "0x170007FC")]
50 public short this[int absoluteX]
51 {
52 [global::Cpp2ILInjected.Token(Token = "0x6004680")]
53 [global::Cpp2ILInjected.Address(RVA = "0x7D53B0", Offset = "0x7D53B0", Length = "0x18")]
54 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
55 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(DunesBiome), Member = "PlaceHill", MemberParameters = new object[]
56 {
57 typeof(int),
58 typeof(int),
59 typeof(double),
60 "Terraria.GameContent.Biomes.DunesBiome.DunesDescription"
61 }, ReturnType = typeof(void))]
62 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(DunesBiome), Member = "PlaceCurvedLine", MemberParameters = new object[]
63 {
67 "Terraria.GameContent.Biomes.DunesBiome.DunesDescription"
68 }, ReturnType = typeof(void))]
69 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 3)]
70 get
71 {
72 throw null;
73 }
74 }
75
76 [global::Cpp2ILInjected.Token(Token = "0x6004681")]
77 [global::Cpp2ILInjected.Address(RVA = "0x7D6E78", Offset = "0x7D6E78", Length = "0x1C0")]
78 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
79 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Terraria.GameContent.Biomes.DunesBiome.DunesDescription", Member = "CreateFromPlacement", MemberParameters = new object[]
80 {
82 typeof(int),
83 typeof(int)
84 }, ReturnType = "Terraria.GameContent.Biomes.DunesBiome.DunesDescription")]
85 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(DesertDescription), Member = "UpdateSurfaceMap", ReturnType = typeof(void))]
86 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(DesertDescription), Member = "CreateFromPlacement", MemberParameters = new object[] { typeof(Point) }, ReturnType = typeof(DesertDescription))]
87 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 3)]
88 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SurfaceMap), Member = ".ctor", MemberParameters = new object[]
89 {
90 typeof(short[]),
91 typeof(int)
92 }, ReturnType = typeof(void))]
93 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 8)]
94 public static SurfaceMap FromArea(int startX, int width)
95 {
96 throw null;
97 }
98
99 [global::Cpp2ILInjected.Token(Token = "0x400828D")]
100 [global::Cpp2ILInjected.FieldOffset(Offset = "0x10")]
101 public readonly double Average;
102
103 [global::Cpp2ILInjected.Token(Token = "0x400828E")]
104 [global::Cpp2ILInjected.FieldOffset(Offset = "0x18")]
105 public readonly int Bottom;
106
107 [global::Cpp2ILInjected.Token(Token = "0x400828F")]
108 [global::Cpp2ILInjected.FieldOffset(Offset = "0x1C")]
109 public readonly int Top;
110
111 [global::Cpp2ILInjected.Token(Token = "0x4008290")]
112 [global::Cpp2ILInjected.FieldOffset(Offset = "0x20")]
113 public readonly int X;
114
115 [global::Cpp2ILInjected.Token(Token = "0x4008291")]
116 [global::Cpp2ILInjected.FieldOffset(Offset = "0x28")]
117 private readonly short[] _heights;
118 }
119}
class f__AnonymousType0<< Count > j__TPar
static SurfaceMap FromArea(int startX, int width)
Definition SurfaceMap.cs:94