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

◆ Get< T >() [2/2]

T Terraria.IO.Preferences.Get< T > ( string name,
T defaultValue )
inline

Definition at line 264 of file Preferences.cs.

265 {
266 object @lock = this._lock;
268 if (name != null)
269 {
270 }
271 if (name != null)
272 {
273 }
274 Type type;
275 object obj = Convert.ChangeType(name, type);
276 throw new InvalidCastException();
277 }
class f__AnonymousType0<< Count > j__TPar
static object ChangeType(object value, TypeCode typeCode, IFormatProvider provider)
Definition Convert.cs:73
Dictionary< string, object > _data
readonly object _lock

References Terraria.IO.Preferences._data, Terraria.IO.Preferences._lock, System.Convert.ChangeType(), j__TPar, System.name, and System.obj.