Using IlSpy
How to see decompiled code.
Last updated
How to see decompiled code.
Last updated
Go to the above link here, go to the latest release, and install one of the "ILSpy_Installer_" files in whatever format you wish.
Extract the zip or run the installer depending on what you downloaded. Find the extracted files and run the exe.
If you get an error that's along the lines of "Target Network not found", head to the .NET website and install the framework required.
You should be met with a screen like below when opening the program:
Navigate to wherever your Gungeon files are stored, and head to
Enter the Gungeon\EtG_Data\Managed\Assembly-CSharp.dll
and then drag the dll onto the pane on the left to open the file.
Classes appear on the left organized by namespace. Search by clicking the Magnifying glass int he tool bar (or Ctrl + Shift + F). In the search pane you can search for specific kind of items (e.g. Class, Method, etc) using the "Search For" filter:
To navigate to a definition click the name of the method or field in the code window.
To find where something is used in the code, right click and select "Analyze":
The Analyzer pane will show various options such as Used By, Referenced By, Read By etc. depending on the kind of thing (Class, Method, Field):