You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"Specifies how DLLs and functions will be loaded.\n\n"+
18
+
"Lazy - Easiest to use and most flexible way. All DLLs and functions are loaded as they're first called. This allows them to be easily unloaded and loaded within game execution.\n\n"+
19
+
"Preloaded - Slight performance benefit over Lazy mode. All DLLs and functions are loaded at startup (OnEnable()). Calls to unloaded DLLs lead to crash, so in mid-execution it's safest to manipulate DLLs if game is paused.");
$"Flags used in dlopen() P/Invoke on Linux systems. Has minor meaning unless library is large.");
22
+
privatereadonlyGUIContentMOCK_ALL_NATIVE_FUNCTIONS_GUI_CONTENT=newGUIContent("Mock all native functions",
23
+
$"If true, all native functions in current assembly will be mocked.\n\n"+
24
+
$"If false, you have to use [{nameof(MockNativeDeclarationsAttribute)}] or [{nameof(MockNativeDeclarationAttribute)}] in order to select native functions to be mocked.");
25
+
privatereadonlyGUIContentMOCK_CALLS_IN_ALL_TYPES_GUI_CONTENT=newGUIContent("Mock native calls in all types",
26
+
$"If true, calls of native functions in all methods in current assembly will be mocked. This however can cause significant performance issues at startup in big code base. You may use [{nameof(DisableMockingAttribute)}].\n\n"+
27
+
$"If false, you have to use [{nameof(MockNativeCallsAttribute)}] in order to mock native function calls.");
28
+
privatereadonlyGUIContentUNLOAD_ALL_DLLS_IN_PLAY_PRELOADED_GUI_CONTENT=newGUIContent("Unload all DLLs [DANGEROUS!]",
29
+
"Use only if you are sure no mocked native calls will be made while DLL is unloaded.");
/// Calls of all native functions declared inside types with this attributes may be mocked. This attribute is redundant if <see cref="DllManipulatorOptions.mockAllNativeFunctions"/> is true.
/// Calls of native functions with this attribute may be mocked. This attribute is redundant if <see cref="DllManipulatorOptions.mockAllNativeFunctions"/> is true.
/// Calls of suitably tagged native functions in all methods declared inside types with this attribute will be mocked. This attribute is redundant if <see cref="DllManipulatorOptions.mockCallsInAllTypes"/> is true.
0 commit comments