C# Class RA.Initializer

Afficher le fichier Open project: RWA-Team/RimworldAscension

Méthodes publiques

Свойство Type Description
destMethods List
sourceMethods List
universalFlags BindingFlags

Méthodes publiques

Méthode Description
DetourMethod ( string className, string methodName ) : void
DetourProperty ( string className, string propertyName ) : void
DoDetours ( ) : void
GetHiddenValue ( Type type, object instance, string fieldName, FieldInfo info ) : object
SetHiddenValue ( object value, Type type, object instance, string fieldName, FieldInfo info ) : void
TryDetourFromTo ( MethodInfo source, MethodInfo destination ) : bool

Private Methods

Méthode Description
Initializer ( ) : System

Method Details

DetourMethod() public static méthode

public static DetourMethod ( string className, string methodName ) : void
className string
methodName string
Résultat void

DetourProperty() public static méthode

public static DetourProperty ( string className, string propertyName ) : void
className string
propertyName string
Résultat void

DoDetours() public static méthode

public static DoDetours ( ) : void
Résultat void

GetHiddenValue() public static méthode

public static GetHiddenValue ( Type type, object instance, string fieldName, FieldInfo info ) : object
type System.Type
instance object
fieldName string
info System.Reflection.FieldInfo
Résultat object

SetHiddenValue() public static méthode

public static SetHiddenValue ( object value, Type type, object instance, string fieldName, FieldInfo info ) : void
value object
type System.Type
instance object
fieldName string
info System.Reflection.FieldInfo
Résultat void

TryDetourFromTo() public static méthode

public static TryDetourFromTo ( MethodInfo source, MethodInfo destination ) : bool
source System.Reflection.MethodInfo
destination System.Reflection.MethodInfo
Résultat bool

Property Details

destMethods public_oe static_oe property

public static List destMethods
Résultat List

sourceMethods public_oe static_oe property

public static List sourceMethods
Résultat List

universalFlags public_oe static_oe property

public static BindingFlags universalFlags
Résultat BindingFlags