terraria-cpp2il-methodrecon v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
|
Classes | |
struct | TypeConvertKey |
Static Public Member Functions | |
static PrimitiveTypeCode | GetTypeCode (Type t) |
static PrimitiveTypeCode | GetTypeCode (Type t, [Out] bool isEnum) |
static TypeInformation | GetTypeInformation (IConvertible convertable) |
static bool | IsConvertible (Type t) |
static TimeSpan | ParseTimeSpan (string input) |
static object | Convert (object initialValue, CultureInfo culture, Type targetType) |
static object | ConvertOrCast (object initialValue, CultureInfo culture, Type targetType) |
static bool | VersionTryParse (string input, [Out] Version result) |
static bool | IsInteger (object value) |
static ParseResult | Int32TryParse (char[] chars, int start, int length, [Out] int value) |
static ParseResult | Int64TryParse (char[] chars, int start, int length, [Out] long value) |
static bool | TryConvertGuid (string s, [Out] Guid g) |
static int | HexTextToInt (char[] text, int start, int end) |
Package Types | |
enum | ConvertResult { Success , CannotConvertNull , NotInstantiableType , NoValidConversion } |
Static Package Functions | |
static TypeConverter | GetConverter (Type t) |
Static Private Member Functions | |
static Func< object, object > | CreateCastConverter (ConvertUtils.TypeConvertKey t) |
static bool | TryConvert (object initialValue, CultureInfo culture, Type targetType, [Out] object value) |
static ConvertUtils.ConvertResult | TryConvertInternal (object initialValue, CultureInfo culture, Type targetType, [Out] object value) |
static object | EnsureTypeAssignable (object value, Type initialType, Type targetType) |
static int | HexCharToInt (char ch) |
static | ConvertUtils () |
Static Private Attributes | |
static readonly Dictionary< Type, PrimitiveTypeCode > | TypeCodeMap |
static readonly TypeInformation[] | PrimitiveTypeCodes |
static readonly ThreadSafeStore< ConvertUtils.TypeConvertKey, Func< object, object > > | CastConverters |
Definition at line 17 of file ConvertUtils.cs.