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
LicFileLicenseProvider.cs
Go to the documentation of this file.
1using System;
3using System.IO;
7
9{
10 [global::Cpp2ILInjected.Token(Token = "0x2000391")]
12 {
13 [global::Cpp2ILInjected.Token(Token = "0x60017C4")]
14 [global::Cpp2ILInjected.Address(RVA = "0x1E4D7B4", Offset = "0x1E4D7B4", Length = "0x3C")]
15 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
16 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
17 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "StartsWith", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(bool))]
18 protected virtual bool IsKeyValid(string key, Type type)
19 {
20 throw null;
21 }
22
23 [global::Cpp2ILInjected.Token(Token = "0x60017C5")]
24 [global::Cpp2ILInjected.Address(RVA = "0x1E4D7F0", Offset = "0x1E4D7F0", Length = "0x94")]
25 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
26 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
27 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(CultureInfo), Member = "get_InvariantCulture", ReturnType = typeof(CultureInfo))]
28 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Format", MemberParameters = new object[]
29 {
31 typeof(string),
32 typeof(object)
33 }, ReturnType = typeof(string))]
34 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
35 protected virtual string GetKey(Type type)
36 {
37 throw null;
38 }
39
40 [global::Cpp2ILInjected.Token(Token = "0x60017C6")]
41 [global::Cpp2ILInjected.Address(RVA = "0x1E4D884", Offset = "0x1E4D884", Length = "0x3D4")]
42 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
43 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
44 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Type), Member = "GetTypeFromHandle", MemberParameters = new object[] { typeof(RuntimeTypeHandle) }, ReturnType = typeof(Type))]
45 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
46 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Path), Member = "GetDirectoryName", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(string))]
47 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Concat", MemberParameters = new object[]
48 {
49 typeof(string),
50 typeof(string),
51 typeof(string),
52 typeof(string)
53 }, ReturnType = typeof(string))]
54 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(File), Member = "Exists", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(bool))]
55 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(FileStream), Member = ".ctor", MemberParameters = new object[]
56 {
57 typeof(string),
61 }, ReturnType = typeof(void))]
62 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(StreamReader), Member = ".ctor", MemberParameters = new object[] { typeof(Stream) }, ReturnType = typeof(void))]
63 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 18)]
64 public override License GetLicense(LicenseContext context, Type type, object instance, bool allowExceptions)
65 {
66 throw null;
67 }
68
69 [global::Cpp2ILInjected.Token(Token = "0x60017C7")]
70 [global::Cpp2ILInjected.Address(RVA = "0x1E4DC84", Offset = "0x1E4DC84", Length = "0x8")]
71 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
72 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
74 {
75 throw null;
76 }
77
78 [global::Cpp2ILInjected.Token(Token = "0x2000392")]
79 private class LicFileLicense : License
80 {
81 [global::Cpp2ILInjected.Token(Token = "0x60017C8")]
82 [global::Cpp2ILInjected.Address(RVA = "0x1E4DC58", Offset = "0x1E4DC58", Length = "0x2C")]
83 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
84 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
86 {
87 throw null;
88 }
89
90 [global::Cpp2ILInjected.Token(Token = "0x1700056C")]
91 public override string LicenseKey
92 {
94 [global::Cpp2ILInjected.Token(Token = "0x60017C9")]
95 [global::Cpp2ILInjected.Address(RVA = "0x1E4DC9C", Offset = "0x1E4DC9C", Length = "0x8")]
96 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
97 get
98 {
99 throw null;
100 }
101 }
102
103 [global::Cpp2ILInjected.Token(Token = "0x60017CA")]
104 [global::Cpp2ILInjected.Address(RVA = "0x1E4DCA4", Offset = "0x1E4DCA4", Length = "0x58")]
105 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
106 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GC), Member = "SuppressFinalize", MemberParameters = new object[] { typeof(object) }, ReturnType = typeof(void))]
107 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
108 public override void Dispose()
109 {
110 throw null;
111 }
112
113 [global::Cpp2ILInjected.Token(Token = "0x400122D")]
114 [global::Cpp2ILInjected.FieldOffset(Offset = "0x10")]
116
118 [global::Cpp2ILInjected.Token(Token = "0x400122E")]
119 [global::Cpp2ILInjected.FieldOffset(Offset = "0x18")]
120 private readonly string <LicenseKey>k__BackingField;
121 }
122 }
123}
class f__AnonymousType0<< Count > j__TPar
override License GetLicense(LicenseContext context, Type type, object instance, bool allowExceptions)
virtual bool IsKeyValid(string key, Type type)