Barotrauma Client Doc
|
Classes | |
class | ParameterTable |
Public Types | |
enum class | HookMethodType { Before , After } |
Public Member Functions | |
void | Initialize () |
void | Add (string name, string identifier, LuaCsFunc func, ACsMod owner=null) |
bool | Exists (string name, string identifier) |
void | Remove (string name, string identifier) |
void | Clear () |
T | Call< T > (string name, params object[] args) |
object | Call (string name, params object[] args) |
string | Patch (string identifier, string className, string methodName, string[] parameterTypes, LuaCsPatchFunc patch, HookMethodType hookType=HookMethodType.Before) |
string | Patch (string identifier, string className, string methodName, LuaCsPatchFunc patch, HookMethodType hookType=HookMethodType.Before) |
string | Patch (string className, string methodName, string[] parameterTypes, LuaCsPatchFunc patch, HookMethodType hookType=HookMethodType.Before) |
string | Patch (string className, string methodName, LuaCsPatchFunc patch, HookMethodType hookType=HookMethodType.Before) |
bool | RemovePatch (string identifier, string className, string methodName, string[] parameterTypes, HookMethodType hookType) |
bool | RemovePatch (string identifier, string className, string methodName, HookMethodType hookType) |
void | HookMethod (string identifier, MethodBase method, LuaCsCompatPatchFunc patch, HookMethodType hookType=HookMethodType.Before, ACsMod owner=null) |
void | UnhookMethod (string identifier, MethodBase method, HookMethodType hookType=HookMethodType.Before) |
Protected Member Functions | |
void | HookMethod (string identifier, string className, string methodName, string[] parameterNames, LuaCsCompatPatchFunc patch, HookMethodType hookMethodType=HookMethodType.Before) |
void | HookMethod (string identifier, string className, string methodName, LuaCsCompatPatchFunc patch, HookMethodType hookMethodType=HookMethodType.Before) |
void | HookMethod (string className, string methodName, LuaCsCompatPatchFunc patch, HookMethodType hookMethodType=HookMethodType.Before) |
void | HookMethod (string className, string methodName, string[] parameterNames, LuaCsCompatPatchFunc patch, HookMethodType hookMethodType=HookMethodType.Before) |
void | UnhookMethod (string identifier, string className, string methodName, string[] parameterNames, HookMethodType hookType=HookMethodType.Before) |
Definition at line 413 of file LuaCsHook.cs.
|
strong |
Enumerator | |
---|---|
Before | |
After |
Definition at line 415 of file LuaCsHook.cs.
void Barotrauma.LuaCsHook.Add | ( | string | name, |
string | identifier, | ||
LuaCsFunc | func, | ||
ACsMod | owner = null |
||
) |
Definition at line 692 of file LuaCsHook.cs.
object Barotrauma.LuaCsHook.Call | ( | string | name, |
params object[] | args | ||
) |
T Barotrauma.LuaCsHook.Call< T > | ( | string | name, |
params object[] | args | ||
) |
Definition at line 766 of file LuaCsHook.cs.
void Barotrauma.LuaCsHook.Clear | ( | ) |
Definition at line 739 of file LuaCsHook.cs.
bool Barotrauma.LuaCsHook.Exists | ( | string | name, |
string | identifier | ||
) |
Definition at line 709 of file LuaCsHook.cs.
|
protected |
|
protected |
void Barotrauma.LuaCsHook.HookMethod | ( | string | identifier, |
MethodBase | method, | ||
LuaCsCompatPatchFunc | patch, | ||
HookMethodType | hookType = HookMethodType.Before , |
||
ACsMod | owner = null |
||
) |
Definition at line 124 of file LuaCsHookCompat.cs.
|
protected |
|
protected |
Definition at line 200 of file LuaCsHookCompat.cs.
void Barotrauma.LuaCsHook.Initialize | ( | ) |
Definition at line 591 of file LuaCsHook.cs.
string Barotrauma.LuaCsHook.Patch | ( | string | className, |
string | methodName, | ||
LuaCsPatchFunc | patch, | ||
HookMethodType | hookType = HookMethodType.Before |
||
) |
Definition at line 1285 of file LuaCsHook.cs.
string Barotrauma.LuaCsHook.Patch | ( | string | className, |
string | methodName, | ||
string[] | parameterTypes, | ||
LuaCsPatchFunc | patch, | ||
HookMethodType | hookType = HookMethodType.Before |
||
) |
Definition at line 1279 of file LuaCsHook.cs.
string Barotrauma.LuaCsHook.Patch | ( | string | identifier, |
string | className, | ||
string | methodName, | ||
LuaCsPatchFunc | patch, | ||
HookMethodType | hookType = HookMethodType.Before |
||
) |
Definition at line 1273 of file LuaCsHook.cs.
string Barotrauma.LuaCsHook.Patch | ( | string | identifier, |
string | className, | ||
string | methodName, | ||
string[] | parameterTypes, | ||
LuaCsPatchFunc | patch, | ||
HookMethodType | hookType = HookMethodType.Before |
||
) |
Definition at line 1267 of file LuaCsHook.cs.
void Barotrauma.LuaCsHook.Remove | ( | string | name, |
string | identifier | ||
) |
Definition at line 725 of file LuaCsHook.cs.
bool Barotrauma.LuaCsHook.RemovePatch | ( | string | identifier, |
string | className, | ||
string | methodName, | ||
HookMethodType | hookType | ||
) |
Definition at line 1316 of file LuaCsHook.cs.
bool Barotrauma.LuaCsHook.RemovePatch | ( | string | identifier, |
string | className, | ||
string | methodName, | ||
string[] | parameterTypes, | ||
HookMethodType | hookType | ||
) |
Definition at line 1310 of file LuaCsHook.cs.
void Barotrauma.LuaCsHook.UnhookMethod | ( | string | identifier, |
MethodBase | method, | ||
HookMethodType | hookType = HookMethodType.Before |
||
) |
Definition at line 218 of file LuaCsHookCompat.cs.
|
protected |
Definition at line 229 of file LuaCsHookCompat.cs.