How to patch a variable in dll from private to public remotely?
It does not work - I tried
TypeDefinition Useable = rustAssembly.MainModule.GetType("Useable"); Useable.GetMethod("Refresh").SetPublic(true); How to patch a variable in dll from private to public remotely?
It does not work - I tried
TypeDefinition Useable = rustAssembly.MainModule.GetType("Useable"); Useable.GetMethod("Refresh").SetPublic(true); Source: https://ru.stackoverflow.com/questions/676625/
All Articles
private, then the library code reliably trusts it without constantly checking for accuracy and consistency. If you begin to change the closed variables, then with a very high probability you will desynchronize the state of various parts of the object or even a group of objects. This will lead to unpredictable work of the program as a whole. - ߊߚߤߘ