C# Class PointBlank.Services.DetourManager.DetourWrapper

Datei anzeigen Open project: PointBlankMod/PointBlank Class Usage Examples

Public Methods

Method Description
CallOriginal ( Array args, object instance = null ) : object
Detour ( ) : bool
DetourWrapper ( MethodInfo original, MethodInfo modified, DetourAttribute attribute, object instance = null ) : System
Revert ( ) : bool

Method Details

CallOriginal() public method

public CallOriginal ( Array args, object instance = null ) : object
args Array
instance object
return object

Detour() public method

public Detour ( ) : bool
return bool

DetourWrapper() public method

public DetourWrapper ( MethodInfo original, MethodInfo modified, DetourAttribute attribute, object instance = null ) : System
original MethodInfo
modified MethodInfo
attribute DetourAttribute
instance object
return System

Revert() public method

public Revert ( ) : bool
return bool