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
At the moment it's impossible to patch any code involving Steamworks without very heavy use of reflection or transpiling. Including Assembly-CSharp-firstpass.dll as a dependency like with Assembly-CSharp.dll(dev) would make things a lot easier, and open up more possibilities for mods.
I noticed that Assembly-CSharp.dll(dev) is modified from the Assembly-CSharp.dev.dll with bytes at offset 0x333a66 changed from 03 00 01 to 02 00 00. I'm not sure what this change does, and I'm not aware whether this kind of change is required for firstpass. But considering that the goal of including firstpass isn't to patch the assembly or access hidden fields, it might not be important.
The text was updated successfully, but these errors were encountered:
The dev version of the Dll is the same as the normal one but with every class/interface/field/property/... set to public.
Using this dll with the "allow unsafe code option" in the mod allows to access private elements without complex reflection calls
That's probably what the byte offset is.
I'll check and include firstpass when i get some time to look at it
At the moment it's impossible to patch any code involving Steamworks without very heavy use of reflection or transpiling. Including
Assembly-CSharp-firstpass.dll
as a dependency like withAssembly-CSharp.dll
(dev) would make things a lot easier, and open up more possibilities for mods.I noticed that
Assembly-CSharp.dll
(dev) is modified from theAssembly-CSharp.dev.dll
with bytes at offset0x333a66
changed from03 00 01
to02 00 00
. I'm not sure what this change does, and I'm not aware whether this kind of change is required for firstpass. But considering that the goal of including firstpass isn't to patch the assembly or access hidden fields, it might not be important.The text was updated successfully, but these errors were encountered: