Class MonoUtils
Inheritance
System.Object
MonoUtils
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Assembly: AssetRipper.SerializationLogic.dll
Syntax
public static class MonoUtils
Fields
|
Improve this Doc
View Source
AnimationCurveName
Declaration
public const string AnimationCurveName = "AnimationCurve"
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
BooleanName
Declaration
public const string BooleanName = "Boolean"
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
BoolName
Declaration
public const string BoolName = "bool"
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
BoundsIntName
Declaration
public const string BoundsIntName = "BoundsInt"
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
BoundsName
Declaration
public const string BoundsName = "Bounds"
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
ByteName
Declaration
public const string ByteName = "Byte"
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
CByteName
Declaration
public const string CByteName = "byte"
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
CCharName
Declaration
public const string CCharName = "char"
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
CDoubleName
Declaration
public const string CDoubleName = "double"
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
CharName
Declaration
public const string CharName = "Char"
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
CObjectName
Declaration
public const string CObjectName = "object"
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
Color32Name
Declaration
public const string Color32Name = "Color32"
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
ColorName
Declaration
public const string ColorName = "Color"
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
CompilerGeneratedName
Declaration
public const string CompilerGeneratedName = "CompilerGeneratedAttribute"
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
CompilerServicesNamespace
Declaration
public const string CompilerServicesNamespace = "System.Runtime.CompilerServices"
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
CSByteName
Declaration
public const string CSByteName = "sbyte"
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
CStringName
Declaration
public const string CStringName = "string"
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
CVoidName
Declaration
public const string CVoidName = "void"
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
DoubleName
Declaration
public const string DoubleName = "Double"
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
FloatCurveName
Declaration
public const string FloatCurveName = "FloatCurve"
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
FloatName
Declaration
public const string FloatName = "float"
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
GradientName
Declaration
public const string GradientName = "Gradient"
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
GuidName
Declaration
public const string GuidName = "GUID"
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
GUIStyleName
Declaration
public const string GUIStyleName = "GUIStyle"
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
HalfName
Declaration
public const string HalfName = "Half"
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
Hash128Name
Declaration
public const string Hash128Name = "Hash128"
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
Int16Name
Declaration
public const string Int16Name = "Int16"
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
Int32Name
Declaration
public const string Int32Name = "Int32"
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
Int64Name
Declaration
public const string Int64Name = "Int64"
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
IntName
Declaration
public const string IntName = "int"
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
IntPtrName
Declaration
public const string IntPtrName = "IntPtr"
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
LayerMaskName
Declaration
public const string LayerMaskName = "LayerMask"
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
LongName
Declaration
public const string LongName = "long"
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
Matrix4x4Name
Declaration
public const string Matrix4x4Name = "Matrix4x4"
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
ObjectName
Declaration
public const string ObjectName = "Object"
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
PPtrCurveName
Declaration
public const string PPtrCurveName = "PPtrCurve"
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
PropertyNameName
Declaration
public const string PropertyNameName = "PropertyName"
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
QuaternionCurveName
Declaration
public const string QuaternionCurveName = "QuaternionCurve"
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
QuaternionName
Declaration
public const string QuaternionName = "Quaternion"
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
RectName
Declaration
public const string RectName = "Rect"
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
RectOffsetName
Declaration
public const string RectOffsetName = "RectOffset"
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
SByteName
Declaration
public const string SByteName = "SByte"
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
ShortName
Declaration
public const string ShortName = "short"
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
SingleName
Declaration
public const string SingleName = "Single"
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
StringName
Declaration
public const string StringName = "String"
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
SystemCollectionGenericNamespace
Declaration
public const string SystemCollectionGenericNamespace = "System.Collections.Generic"
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
SystemNamespace
Declaration
public const string SystemNamespace = "System"
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
UInt16Name
Declaration
public const string UInt16Name = "UInt16"
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
UInt32Name
Declaration
public const string UInt32Name = "UInt32"
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
UInt64Name
Declaration
public const string UInt64Name = "UInt64"
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
UIntName
Declaration
public const string UIntName = "uint"
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
UIntPtrName
Declaration
public const string UIntPtrName = "UIntPtr"
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
ULongName
Declaration
public const string ULongName = "ulong"
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
UnityEngineNamespace
Declaration
public const string UnityEngineNamespace = "UnityEngine"
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
UShortName
Declaration
public const string UShortName = "ushort"
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
ValueType
Declaration
public const string ValueType = "ValueType"
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
Vector2IntName
Declaration
public const string Vector2IntName = "Vector2Int"
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
Vector2Name
Declaration
public const string Vector2Name = "Vector2"
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
Vector3CurveName
Declaration
public const string Vector3CurveName = "Vector3Curve"
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
Vector3IntName
Declaration
public const string Vector3IntName = "Vector3Int"
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
Vector3Name
Declaration
public const string Vector3Name = "Vector3"
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
Vector4Name
Declaration
public const string Vector4Name = "Vector4"
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
VoidName
Declaration
public const string VoidName = "Void"
Field Value
Type |
Description |
System.String |
|
Methods
|
Improve this Doc
View Source
IsBehaviour(ITypeDefOrRef)
Declaration
public static bool IsBehaviour(ITypeDefOrRef type)
Parameters
Type |
Name |
Description |
ITypeDefOrRef |
type |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsBehaviour(String, String)
Declaration
public static bool IsBehaviour(string namespace, string name)
Parameters
Type |
Name |
Description |
System.String |
namespace |
|
System.String |
name |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsBuiltinGeneric(ITypeDefOrRef)
Declaration
public static bool IsBuiltinGeneric(ITypeDefOrRef type)
Parameters
Type |
Name |
Description |
ITypeDefOrRef |
type |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsBuiltinGeneric(String, String)
Declaration
public static bool IsBuiltinGeneric(string namespace, string name)
Parameters
Type |
Name |
Description |
System.String |
namespace |
|
System.String |
name |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsComponent(ITypeDefOrRef)
Declaration
public static bool IsComponent(ITypeDefOrRef type)
Parameters
Type |
Name |
Description |
ITypeDefOrRef |
type |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsComponent(String, String)
Declaration
public static bool IsComponent(string namespace, string name)
Parameters
Type |
Name |
Description |
System.String |
namespace |
|
System.String |
name |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsEngineObject(ITypeDefOrRef)
Declaration
public static bool IsEngineObject(ITypeDefOrRef type)
Parameters
Type |
Name |
Description |
ITypeDefOrRef |
type |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsEngineObject(String, String)
Declaration
public static bool IsEngineObject(string namespace, string name)
Parameters
Type |
Name |
Description |
System.String |
namespace |
|
System.String |
name |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsEngineStruct(ITypeDefOrRef)
Declaration
public static bool IsEngineStruct(ITypeDefOrRef type)
Parameters
Type |
Name |
Description |
ITypeDefOrRef |
type |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsEngineStruct(String, String)
Declaration
public static bool IsEngineStruct(string namespace, string name)
Parameters
Type |
Name |
Description |
System.String |
namespace |
|
System.String |
name |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsExposedReference(ITypeDefOrRef)
Declaration
public static bool IsExposedReference(ITypeDefOrRef type)
Parameters
Type |
Name |
Description |
ITypeDefOrRef |
type |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsExposedReference(String, String)
Declaration
public static bool IsExposedReference(string namespace, string name)
Parameters
Type |
Name |
Description |
System.String |
namespace |
|
System.String |
name |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsList(ITypeDefOrRef)
Declaration
public static bool IsList(ITypeDefOrRef type)
Parameters
Type |
Name |
Description |
ITypeDefOrRef |
type |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsList(String, String)
Declaration
public static bool IsList(string namespace, string name)
Parameters
Type |
Name |
Description |
System.String |
namespace |
|
System.String |
name |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsMonoBehaviour(ITypeDefOrRef)
Declaration
public static bool IsMonoBehaviour(ITypeDefOrRef type)
Parameters
Type |
Name |
Description |
ITypeDefOrRef |
type |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsMonoBehaviour(String, String)
Declaration
public static bool IsMonoBehaviour(string namespace, string name)
Parameters
Type |
Name |
Description |
System.String |
namespace |
|
System.String |
name |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsMonoPrime(ITypeDefOrRef)
Declaration
public static bool IsMonoPrime(ITypeDefOrRef type)
Parameters
Type |
Name |
Description |
ITypeDefOrRef |
type |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsMonoPrime(String, String)
Declaration
public static bool IsMonoPrime(string namespace, string name)
Parameters
Type |
Name |
Description |
System.String |
namespace |
|
System.String |
name |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsObject(ITypeDefOrRef)
Declaration
public static bool IsObject(ITypeDefOrRef type)
Parameters
Type |
Name |
Description |
ITypeDefOrRef |
type |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsObject(String, String)
Declaration
public static bool IsObject(string namespace, string name)
Parameters
Type |
Name |
Description |
System.String |
namespace |
|
System.String |
name |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsPrime(ITypeDefOrRef)
Declaration
public static bool IsPrime(ITypeDefOrRef type)
Parameters
Type |
Name |
Description |
ITypeDefOrRef |
type |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsPrime(String, String)
Declaration
public static bool IsPrime(string namespace, string name)
Parameters
Type |
Name |
Description |
System.String |
namespace |
|
System.String |
name |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsPrimitive(ITypeDefOrRef)
Declaration
public static bool IsPrimitive(ITypeDefOrRef type)
Parameters
Type |
Name |
Description |
ITypeDefOrRef |
type |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsPrimitive(String, String)
Declaration
public static bool IsPrimitive(string namespace, string name)
Parameters
Type |
Name |
Description |
System.String |
namespace |
|
System.String |
name |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsScriptableObject(ITypeDefOrRef)
Declaration
public static bool IsScriptableObject(ITypeDefOrRef type)
Parameters
Type |
Name |
Description |
ITypeDefOrRef |
type |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsScriptableObject(String, String)
Declaration
public static bool IsScriptableObject(string namespace, string name)
Parameters
Type |
Name |
Description |
System.String |
namespace |
|
System.String |
name |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
ToPrimitiveType(Nullable<ITypeDefOrRef>)
Declaration
public static PrimitiveType ToPrimitiveType(ITypeDefOrRef? type)
Parameters
Type |
Name |
Description |
System.Nullable<ITypeDefOrRef> |
type |
|
Returns
|
Improve this Doc
View Source
ToPrimitiveType(String, String)
Declaration
public static PrimitiveType ToPrimitiveType(string namespace, string name)
Parameters
Type |
Name |
Description |
System.String |
namespace |
|
System.String |
name |
|
Returns