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
TileMaterials.cs
Go to the documentation of this file.
1using System;
9using UnityEngine;
10
12{
13 [global::Cpp2ILInjected.Token(Token = "0x2000856")]
14 public static class TileMaterials
15 {
16 [global::Cpp2ILInjected.Token(Token = "0x6004357")]
17 [global::Cpp2ILInjected.Address(RVA = "0x7A1338", Offset = "0x7A1338", Length = "0x310")]
18 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
19 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
20 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(TileMaterials), Member = "DeserializeEmbeddedResource", MemberTypeParameters = new object[] { "T" }, MemberParameters = new object[] { typeof(string) }, ReturnType = "T")]
21 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Dictionary<object, object>), Member = "get_Item", MemberParameters = new object[] { typeof(object) }, ReturnType = "TValue")]
22 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Dictionary<object, object>), Member = "GetEnumerator", ReturnType = "Enumerator<TKey, TValue>")]
23 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Dictionary<object, object>.Enumerator), Member = "MoveNext", ReturnType = typeof(bool))]
24 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(IdDictionary), Member = "GetId", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(int))]
25 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(TileMaterials), Member = "SetForTileId", MemberParameters = new object[]
26 {
27 typeof(ushort),
29 }, ReturnType = typeof(void))]
30 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Dictionary<object, object>.Enumerator), Member = "Dispose", ReturnType = typeof(void))]
31 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 26)]
33 {
34 throw null;
35 }
36
37 [global::Cpp2ILInjected.Token(Token = "0x6004358")]
38 [global::Cpp2ILInjected.Address(RVA = "0x15A1A1C", Offset = "0x15A1A1C", Length = "0x9C")]
39 [global::Cpp2ILInjected.CallAnalysis.DeduplicatedMethod]
40 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(TileMaterials), Member = ".cctor", ReturnType = typeof(void))]
41 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
42 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Resources), Member = "Load", MemberTypeParameters = new object[] { "T" }, MemberParameters = new object[] { typeof(string) }, ReturnType = "T")]
43 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(TextAsset), Member = "get_text", ReturnType = typeof(string))]
44 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
45 private static T DeserializeEmbeddedResource<T>(string path)
46 {
47 throw null;
48 }
49
50 [global::Cpp2ILInjected.Token(Token = "0x6004359")]
51 [global::Cpp2ILInjected.Address(RVA = "0x7A1648", Offset = "0x7A1648", Length = "0x94")]
52 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(TileMaterials), Member = ".cctor", ReturnType = typeof(void))]
53 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
54 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 5)]
55 public static void SetForTileId(ushort tileId, TileMaterial material)
56 {
57 throw null;
58 }
59
60 [global::Cpp2ILInjected.Token(Token = "0x600435A")]
61 [global::Cpp2ILInjected.Address(RVA = "0x7A16DC", Offset = "0x7A16DC", Length = "0x64")]
62 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GolfHelper.ContactListener), Member = "OnCollision", MemberParameters = new object[]
63 {
64 typeof(PhysicsProperties),
65 typeof(ref Microsoft.Xna.Framework.Vector2),
66 typeof(ref Microsoft.Xna.Framework.Vector2),
67 typeof(ref BallCollisionEvent)
68 }, ReturnType = typeof(void))]
69 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GolfHelper.ContactListener), Member = "OnPassThrough", MemberParameters = new object[]
70 {
71 typeof(PhysicsProperties),
72 typeof(ref Microsoft.Xna.Framework.Vector2),
73 typeof(ref Microsoft.Xna.Framework.Vector2),
74 typeof(ref float),
75 typeof(ref BallPassThroughEvent)
76 }, ReturnType = typeof(void))]
77 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GolfHelper), Member = "HitGolfBall", MemberParameters = new object[]
78 {
81 typeof(float)
82 }, ReturnType = typeof(void))]
83 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 3)]
84 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
85 public static TileMaterial GetByTileId(ushort tileId)
86 {
87 throw null;
88 }
89
90 [global::Cpp2ILInjected.Token(Token = "0x4008166")]
92
93 [global::Cpp2ILInjected.Token(Token = "0x4008167")]
95 }
96}
class f__AnonymousType0<< Count > j__TPar
static TileMaterial GetByTileId(ushort tileId)
static Dictionary< string, TileMaterial > _materialsByName
static void SetForTileId(ushort tileId, TileMaterial material)
static T DeserializeEmbeddedResource< T >(string path)
static readonly TileMaterial[] MaterialsByTileId