├── .gitattributes
├── .gitignore
├── .gitmodules
├── AutoGunfireReborn.sln
├── GunfireRebornDumper
├── App.config
├── GunfireRebornDumper.csproj
├── Minifier.cs
├── Program.cs
├── Properties
│ └── AssemblyInfo.cs
├── lib
│ └── mscorlib.dll
└── packages.config
├── GunfireRebornMods
├── Common
│ ├── ModBase.cs
│ └── ModManager.cs
├── FodyWeavers.xml
├── FodyWeavers.xsd
├── GunfireRebornMods.csproj
├── Mods
│ ├── Aimbot.cs
│ ├── AutoAim.cs
│ ├── ExtraSensoryPerception.cs
│ ├── FreeCam.cs
│ ├── GameSpeed.cs
│ ├── JumpHeight.cs
│ ├── MovementSpeed.cs
│ ├── SceneDebugger.cs
│ ├── UnlimitedAmmo.cs
│ └── WeaponMod.cs
├── NativeNetSharp.cs
├── Program.cs
├── Properties
│ └── AssemblyInfo.cs
└── packages.config
├── LICENSE
└── README.md
/.gitattributes:
--------------------------------------------------------------------------------
1 | # Auto detect text files and perform LF normalization
2 | * text=auto
3 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | ## Ignore Visual Studio temporary files, build results, and
2 | ## files generated by popular Visual Studio add-ons.
3 | ##
4 | ## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore
5 |
6 | # User-specific files
7 | *.rsuser
8 | *.suo
9 | *.user
10 | *.userosscache
11 | *.sln.docstates
12 |
13 | # User-specific files (MonoDevelop/Xamarin Studio)
14 | *.userprefs
15 |
16 | # Mono auto generated files
17 | mono_crash.*
18 |
19 | # Build results
20 | [Dd]ebug/
21 | [Dd]ebugPublic/
22 | [Rr]elease/
23 | [Rr]eleases/
24 | x64/
25 | x86/
26 | [Aa][Rr][Mm]/
27 | [Aa][Rr][Mm]64/
28 | bld/
29 | [Bb]in/
30 | [Oo]bj/
31 | [Ll]og/
32 | [Ll]ogs/
33 |
34 | # Visual Studio 2015/2017 cache/options directory
35 | .vs/
36 | # Uncomment if you have tasks that create the project's static files in wwwroot
37 | #wwwroot/
38 |
39 | # Visual Studio 2017 auto generated files
40 | Generated\ Files/
41 |
42 | # MSTest test Results
43 | [Tt]est[Rr]esult*/
44 | [Bb]uild[Ll]og.*
45 |
46 | # NUnit
47 | *.VisualState.xml
48 | TestResult.xml
49 | nunit-*.xml
50 |
51 | # Build Results of an ATL Project
52 | [Dd]ebugPS/
53 | [Rr]eleasePS/
54 | dlldata.c
55 |
56 | # Benchmark Results
57 | BenchmarkDotNet.Artifacts/
58 |
59 | # .NET Core
60 | project.lock.json
61 | project.fragment.lock.json
62 | artifacts/
63 |
64 | # StyleCop
65 | StyleCopReport.xml
66 |
67 | # Files built by Visual Studio
68 | *_i.c
69 | *_p.c
70 | *_h.h
71 | *.ilk
72 | *.meta
73 | *.obj
74 | *.iobj
75 | *.pch
76 | *.pdb
77 | *.ipdb
78 | *.pgc
79 | *.pgd
80 | *.rsp
81 | *.sbr
82 | *.tlb
83 | *.tli
84 | *.tlh
85 | *.tmp
86 | *.tmp_proj
87 | *_wpftmp.csproj
88 | *.log
89 | *.vspscc
90 | *.vssscc
91 | .builds
92 | *.pidb
93 | *.svclog
94 | *.scc
95 |
96 | # Chutzpah Test files
97 | _Chutzpah*
98 |
99 | # Visual C++ cache files
100 | ipch/
101 | *.aps
102 | *.ncb
103 | *.opendb
104 | *.opensdf
105 | *.sdf
106 | *.cachefile
107 | *.VC.db
108 | *.VC.VC.opendb
109 |
110 | # Visual Studio profiler
111 | *.psess
112 | *.vsp
113 | *.vspx
114 | *.sap
115 |
116 | # Visual Studio Trace Files
117 | *.e2e
118 |
119 | # TFS 2012 Local Workspace
120 | $tf/
121 |
122 | # Guidance Automation Toolkit
123 | *.gpState
124 |
125 | # ReSharper is a .NET coding add-in
126 | _ReSharper*/
127 | *.[Rr]e[Ss]harper
128 | *.DotSettings.user
129 |
130 | # JustCode is a .NET coding add-in
131 | .JustCode
132 |
133 | # TeamCity is a build add-in
134 | _TeamCity*
135 |
136 | # DotCover is a Code Coverage Tool
137 | *.dotCover
138 |
139 | # AxoCover is a Code Coverage Tool
140 | .axoCover/*
141 | !.axoCover/settings.json
142 |
143 | # Visual Studio code coverage results
144 | *.coverage
145 | *.coveragexml
146 |
147 | # NCrunch
148 | _NCrunch_*
149 | .*crunch*.local.xml
150 | nCrunchTemp_*
151 |
152 | # MightyMoose
153 | *.mm.*
154 | AutoTest.Net/
155 |
156 | # Web workbench (sass)
157 | .sass-cache/
158 |
159 | # Installshield output folder
160 | [Ee]xpress/
161 |
162 | # DocProject is a documentation generator add-in
163 | DocProject/buildhelp/
164 | DocProject/Help/*.HxT
165 | DocProject/Help/*.HxC
166 | DocProject/Help/*.hhc
167 | DocProject/Help/*.hhk
168 | DocProject/Help/*.hhp
169 | DocProject/Help/Html2
170 | DocProject/Help/html
171 |
172 | # Click-Once directory
173 | publish/
174 |
175 | # Publish Web Output
176 | *.[Pp]ublish.xml
177 | *.azurePubxml
178 | # Note: Comment the next line if you want to checkin your web deploy settings,
179 | # but database connection strings (with potential passwords) will be unencrypted
180 | *.pubxml
181 | *.publishproj
182 |
183 | # Microsoft Azure Web App publish settings. Comment the next line if you want to
184 | # checkin your Azure Web App publish settings, but sensitive information contained
185 | # in these scripts will be unencrypted
186 | PublishScripts/
187 |
188 | # NuGet Packages
189 | *.nupkg
190 | # NuGet Symbol Packages
191 | *.snupkg
192 | # The packages folder can be ignored because of Package Restore
193 | **/[Pp]ackages/*
194 | # except build/, which is used as an MSBuild target.
195 | !**/[Pp]ackages/build/
196 | # Uncomment if necessary however generally it will be regenerated when needed
197 | #!**/[Pp]ackages/repositories.config
198 | # NuGet v3's project.json files produces more ignorable files
199 | *.nuget.props
200 | *.nuget.targets
201 |
202 | # Microsoft Azure Build Output
203 | csx/
204 | *.build.csdef
205 |
206 | # Microsoft Azure Emulator
207 | ecf/
208 | rcf/
209 |
210 | # Windows Store app package directories and files
211 | AppPackages/
212 | BundleArtifacts/
213 | Package.StoreAssociation.xml
214 | _pkginfo.txt
215 | *.appx
216 | *.appxbundle
217 | *.appxupload
218 |
219 | # Visual Studio cache files
220 | # files ending in .cache can be ignored
221 | *.[Cc]ache
222 | # but keep track of directories ending in .cache
223 | !?*.[Cc]ache/
224 |
225 | # Others
226 | ClientBin/
227 | ~$*
228 | *~
229 | *.dbmdl
230 | *.dbproj.schemaview
231 | *.jfm
232 | *.pfx
233 | *.publishsettings
234 | orleans.codegen.cs
235 |
236 | # Including strong name files can present a security risk
237 | # (https://github.com/github/gitignore/pull/2483#issue-259490424)
238 | #*.snk
239 |
240 | # Since there are multiple workflows, uncomment next line to ignore bower_components
241 | # (https://github.com/github/gitignore/pull/1529#issuecomment-104372622)
242 | #bower_components/
243 |
244 | # RIA/Silverlight projects
245 | Generated_Code/
246 |
247 | # Backup & report files from converting an old project file
248 | # to a newer Visual Studio version. Backup files are not needed,
249 | # because we have git ;-)
250 | _UpgradeReport_Files/
251 | Backup*/
252 | UpgradeLog*.XML
253 | UpgradeLog*.htm
254 | ServiceFabricBackup/
255 | *.rptproj.bak
256 |
257 | # SQL Server files
258 | *.mdf
259 | *.ldf
260 | *.ndf
261 |
262 | # Business Intelligence projects
263 | *.rdl.data
264 | *.bim.layout
265 | *.bim_*.settings
266 | *.rptproj.rsuser
267 | *- [Bb]ackup.rdl
268 | *- [Bb]ackup ([0-9]).rdl
269 | *- [Bb]ackup ([0-9][0-9]).rdl
270 |
271 | # Microsoft Fakes
272 | FakesAssemblies/
273 |
274 | # GhostDoc plugin setting file
275 | *.GhostDoc.xml
276 |
277 | # Node.js Tools for Visual Studio
278 | .ntvs_analysis.dat
279 | node_modules/
280 |
281 | # Visual Studio 6 build log
282 | *.plg
283 |
284 | # Visual Studio 6 workspace options file
285 | *.opt
286 |
287 | # Visual Studio 6 auto-generated workspace file (contains which files were open etc.)
288 | *.vbw
289 |
290 | # Visual Studio LightSwitch build output
291 | **/*.HTMLClient/GeneratedArtifacts
292 | **/*.DesktopClient/GeneratedArtifacts
293 | **/*.DesktopClient/ModelManifest.xml
294 | **/*.Server/GeneratedArtifacts
295 | **/*.Server/ModelManifest.xml
296 | _Pvt_Extensions
297 |
298 | # Paket dependency manager
299 | .paket/paket.exe
300 | paket-files/
301 |
302 | # FAKE - F# Make
303 | .fake/
304 |
305 | # CodeRush personal settings
306 | .cr/personal
307 |
308 | # Python Tools for Visual Studio (PTVS)
309 | __pycache__/
310 | *.pyc
311 |
312 | # Cake - Uncomment if you are using it
313 | # tools/**
314 | # !tools/packages.config
315 |
316 | # Tabs Studio
317 | *.tss
318 |
319 | # Telerik's JustMock configuration file
320 | *.jmconfig
321 |
322 | # BizTalk build output
323 | *.btp.cs
324 | *.btm.cs
325 | *.odx.cs
326 | *.xsd.cs
327 |
328 | # OpenCover UI analysis results
329 | OpenCover/
330 |
331 | # Azure Stream Analytics local run output
332 | ASALocalRun/
333 |
334 | # MSBuild Binary and Structured Log
335 | *.binlog
336 |
337 | # NVidia Nsight GPU debugger configuration file
338 | *.nvuser
339 |
340 | # MFractors (Xamarin productivity tool) working folder
341 | .mfractor/
342 |
343 | # Local History for Visual Studio
344 | .localhistory/
345 |
346 | # BeatPulse healthcheck temp database
347 | healthchecksdb
348 |
349 | # Backup folder for Package Reference Convert tool in Visual Studio 2017
350 | MigrationBackup/
351 |
352 | # Ionide (cross platform F# VS Code tools) working folder
353 | .ionide/
354 |
--------------------------------------------------------------------------------
/.gitmodules:
--------------------------------------------------------------------------------
1 | [submodule "Il2CppAssemblyUnhollower"]
2 | path = Il2CppAssemblyUnhollower
3 | url = https://github.com/knah/Il2CppAssemblyUnhollower
4 | [submodule "Il2CppDumper"]
5 | path = Il2CppDumper
6 | url = https://github.com/Perfare/Il2CppDumper
7 |
--------------------------------------------------------------------------------
/AutoGunfireReborn.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Visual Studio Version 16
4 | VisualStudioVersion = 16.0.30011.22
5 | MinimumVisualStudioVersion = 10.0.40219.1
6 | Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "AssemblyUnhollower", "Il2CppAssemblyUnhollower\AssemblyUnhollower\AssemblyUnhollower.csproj", "{B6EB4C86-9B1A-4719-8707-D84B234F7676}"
7 | EndProject
8 | Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "UnhollowerBaseLib", "Il2CppAssemblyUnhollower\UnhollowerBaseLib\UnhollowerBaseLib.csproj", "{B7C01AE9-0FC8-4751-B56D-F2ECFC72F269}"
9 | EndProject
10 | Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "UnhollowerRuntimeLib", "Il2CppAssemblyUnhollower\UnhollowerRuntimeLib\UnhollowerRuntimeLib.csproj", "{A969803F-C2AF-4E42-B772-A48C18116CBC}"
11 | EndProject
12 | Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Il2CppDumper", "Il2CppDumper\Il2CppDumper\Il2CppDumper.csproj", "{8975D064-7ECE-49EE-A68D-F52D22B4D98F}"
13 | EndProject
14 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "GunfireRebornDumper", "GunfireRebornDumper\GunfireRebornDumper.csproj", "{385C11FF-EF0F-4FD5-B207-B76820ADE367}"
15 | EndProject
16 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "GunfireRebornMods", "GunfireRebornMods\GunfireRebornMods.csproj", "{786E2464-E23C-4392-A81A-870456D7FD63}"
17 | EndProject
18 | Global
19 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
20 | Debug|Any CPU = Debug|Any CPU
21 | Debug|x64 = Debug|x64
22 | Debug|x86 = Debug|x86
23 | Release|Any CPU = Release|Any CPU
24 | Release|x64 = Release|x64
25 | Release|x86 = Release|x86
26 | EndGlobalSection
27 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
28 | {B6EB4C86-9B1A-4719-8707-D84B234F7676}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
29 | {B6EB4C86-9B1A-4719-8707-D84B234F7676}.Debug|Any CPU.Build.0 = Debug|Any CPU
30 | {B6EB4C86-9B1A-4719-8707-D84B234F7676}.Debug|x64.ActiveCfg = Debug|Any CPU
31 | {B6EB4C86-9B1A-4719-8707-D84B234F7676}.Debug|x64.Build.0 = Debug|Any CPU
32 | {B6EB4C86-9B1A-4719-8707-D84B234F7676}.Debug|x86.ActiveCfg = Debug|Any CPU
33 | {B6EB4C86-9B1A-4719-8707-D84B234F7676}.Debug|x86.Build.0 = Debug|Any CPU
34 | {B6EB4C86-9B1A-4719-8707-D84B234F7676}.Release|Any CPU.ActiveCfg = Release|Any CPU
35 | {B6EB4C86-9B1A-4719-8707-D84B234F7676}.Release|Any CPU.Build.0 = Release|Any CPU
36 | {B6EB4C86-9B1A-4719-8707-D84B234F7676}.Release|x64.ActiveCfg = Release|Any CPU
37 | {B6EB4C86-9B1A-4719-8707-D84B234F7676}.Release|x64.Build.0 = Release|Any CPU
38 | {B6EB4C86-9B1A-4719-8707-D84B234F7676}.Release|x86.ActiveCfg = Release|Any CPU
39 | {B6EB4C86-9B1A-4719-8707-D84B234F7676}.Release|x86.Build.0 = Release|Any CPU
40 | {B7C01AE9-0FC8-4751-B56D-F2ECFC72F269}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
41 | {B7C01AE9-0FC8-4751-B56D-F2ECFC72F269}.Debug|Any CPU.Build.0 = Debug|Any CPU
42 | {B7C01AE9-0FC8-4751-B56D-F2ECFC72F269}.Debug|x64.ActiveCfg = Debug|Any CPU
43 | {B7C01AE9-0FC8-4751-B56D-F2ECFC72F269}.Debug|x64.Build.0 = Debug|Any CPU
44 | {B7C01AE9-0FC8-4751-B56D-F2ECFC72F269}.Debug|x86.ActiveCfg = Debug|Any CPU
45 | {B7C01AE9-0FC8-4751-B56D-F2ECFC72F269}.Debug|x86.Build.0 = Debug|Any CPU
46 | {B7C01AE9-0FC8-4751-B56D-F2ECFC72F269}.Release|Any CPU.ActiveCfg = Release|Any CPU
47 | {B7C01AE9-0FC8-4751-B56D-F2ECFC72F269}.Release|Any CPU.Build.0 = Release|Any CPU
48 | {B7C01AE9-0FC8-4751-B56D-F2ECFC72F269}.Release|x64.ActiveCfg = Release|Any CPU
49 | {B7C01AE9-0FC8-4751-B56D-F2ECFC72F269}.Release|x64.Build.0 = Release|Any CPU
50 | {B7C01AE9-0FC8-4751-B56D-F2ECFC72F269}.Release|x86.ActiveCfg = Release|Any CPU
51 | {B7C01AE9-0FC8-4751-B56D-F2ECFC72F269}.Release|x86.Build.0 = Release|Any CPU
52 | {A969803F-C2AF-4E42-B772-A48C18116CBC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
53 | {A969803F-C2AF-4E42-B772-A48C18116CBC}.Debug|Any CPU.Build.0 = Debug|Any CPU
54 | {A969803F-C2AF-4E42-B772-A48C18116CBC}.Debug|x64.ActiveCfg = Debug|Any CPU
55 | {A969803F-C2AF-4E42-B772-A48C18116CBC}.Debug|x64.Build.0 = Debug|Any CPU
56 | {A969803F-C2AF-4E42-B772-A48C18116CBC}.Debug|x86.ActiveCfg = Debug|Any CPU
57 | {A969803F-C2AF-4E42-B772-A48C18116CBC}.Debug|x86.Build.0 = Debug|Any CPU
58 | {A969803F-C2AF-4E42-B772-A48C18116CBC}.Release|Any CPU.ActiveCfg = Release|Any CPU
59 | {A969803F-C2AF-4E42-B772-A48C18116CBC}.Release|Any CPU.Build.0 = Release|Any CPU
60 | {A969803F-C2AF-4E42-B772-A48C18116CBC}.Release|x64.ActiveCfg = Release|Any CPU
61 | {A969803F-C2AF-4E42-B772-A48C18116CBC}.Release|x64.Build.0 = Release|Any CPU
62 | {A969803F-C2AF-4E42-B772-A48C18116CBC}.Release|x86.ActiveCfg = Release|Any CPU
63 | {A969803F-C2AF-4E42-B772-A48C18116CBC}.Release|x86.Build.0 = Release|Any CPU
64 | {8975D064-7ECE-49EE-A68D-F52D22B4D98F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
65 | {8975D064-7ECE-49EE-A68D-F52D22B4D98F}.Debug|Any CPU.Build.0 = Debug|Any CPU
66 | {8975D064-7ECE-49EE-A68D-F52D22B4D98F}.Debug|x64.ActiveCfg = Debug|Any CPU
67 | {8975D064-7ECE-49EE-A68D-F52D22B4D98F}.Debug|x64.Build.0 = Debug|Any CPU
68 | {8975D064-7ECE-49EE-A68D-F52D22B4D98F}.Debug|x86.ActiveCfg = Debug|Any CPU
69 | {8975D064-7ECE-49EE-A68D-F52D22B4D98F}.Debug|x86.Build.0 = Debug|Any CPU
70 | {8975D064-7ECE-49EE-A68D-F52D22B4D98F}.Release|Any CPU.ActiveCfg = Release|Any CPU
71 | {8975D064-7ECE-49EE-A68D-F52D22B4D98F}.Release|Any CPU.Build.0 = Release|Any CPU
72 | {8975D064-7ECE-49EE-A68D-F52D22B4D98F}.Release|x64.ActiveCfg = Release|Any CPU
73 | {8975D064-7ECE-49EE-A68D-F52D22B4D98F}.Release|x64.Build.0 = Release|Any CPU
74 | {8975D064-7ECE-49EE-A68D-F52D22B4D98F}.Release|x86.ActiveCfg = Release|Any CPU
75 | {8975D064-7ECE-49EE-A68D-F52D22B4D98F}.Release|x86.Build.0 = Release|Any CPU
76 | {385C11FF-EF0F-4FD5-B207-B76820ADE367}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
77 | {385C11FF-EF0F-4FD5-B207-B76820ADE367}.Debug|Any CPU.Build.0 = Debug|Any CPU
78 | {385C11FF-EF0F-4FD5-B207-B76820ADE367}.Debug|x64.ActiveCfg = Debug|x64
79 | {385C11FF-EF0F-4FD5-B207-B76820ADE367}.Debug|x64.Build.0 = Debug|x64
80 | {385C11FF-EF0F-4FD5-B207-B76820ADE367}.Debug|x86.ActiveCfg = Debug|Any CPU
81 | {385C11FF-EF0F-4FD5-B207-B76820ADE367}.Debug|x86.Build.0 = Debug|Any CPU
82 | {385C11FF-EF0F-4FD5-B207-B76820ADE367}.Release|Any CPU.ActiveCfg = Release|Any CPU
83 | {385C11FF-EF0F-4FD5-B207-B76820ADE367}.Release|Any CPU.Build.0 = Release|Any CPU
84 | {385C11FF-EF0F-4FD5-B207-B76820ADE367}.Release|x64.ActiveCfg = Release|x64
85 | {385C11FF-EF0F-4FD5-B207-B76820ADE367}.Release|x64.Build.0 = Release|x64
86 | {385C11FF-EF0F-4FD5-B207-B76820ADE367}.Release|x86.ActiveCfg = Release|Any CPU
87 | {385C11FF-EF0F-4FD5-B207-B76820ADE367}.Release|x86.Build.0 = Release|Any CPU
88 | {786E2464-E23C-4392-A81A-870456D7FD63}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
89 | {786E2464-E23C-4392-A81A-870456D7FD63}.Debug|Any CPU.Build.0 = Debug|Any CPU
90 | {786E2464-E23C-4392-A81A-870456D7FD63}.Debug|x64.ActiveCfg = Debug|x64
91 | {786E2464-E23C-4392-A81A-870456D7FD63}.Debug|x64.Build.0 = Debug|x64
92 | {786E2464-E23C-4392-A81A-870456D7FD63}.Debug|x86.ActiveCfg = Debug|Any CPU
93 | {786E2464-E23C-4392-A81A-870456D7FD63}.Debug|x86.Build.0 = Debug|Any CPU
94 | {786E2464-E23C-4392-A81A-870456D7FD63}.Release|Any CPU.ActiveCfg = Release|Any CPU
95 | {786E2464-E23C-4392-A81A-870456D7FD63}.Release|Any CPU.Build.0 = Release|Any CPU
96 | {786E2464-E23C-4392-A81A-870456D7FD63}.Release|x64.ActiveCfg = Release|x64
97 | {786E2464-E23C-4392-A81A-870456D7FD63}.Release|x64.Build.0 = Release|x64
98 | {786E2464-E23C-4392-A81A-870456D7FD63}.Release|x86.ActiveCfg = Release|Any CPU
99 | {786E2464-E23C-4392-A81A-870456D7FD63}.Release|x86.Build.0 = Release|Any CPU
100 | EndGlobalSection
101 | GlobalSection(SolutionProperties) = preSolution
102 | HideSolutionNode = FALSE
103 | EndGlobalSection
104 | GlobalSection(ExtensibilityGlobals) = postSolution
105 | SolutionGuid = {91033C52-D2C7-446E-98EC-025450DFD9FA}
106 | EndGlobalSection
107 | EndGlobal
108 |
--------------------------------------------------------------------------------
/GunfireRebornDumper/App.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/GunfireRebornDumper/GunfireRebornDumper.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Debug
6 | AnyCPU
7 | {385C11FF-EF0F-4FD5-B207-B76820ADE367}
8 | Exe
9 | GunfireRebornDumper
10 | GunfireRebornDumper
11 | v4.7.2
12 | 512
13 | true
14 | true
15 |
16 |
17 | AnyCPU
18 | true
19 | full
20 | false
21 | bin\Debug\
22 | DEBUG;TRACE
23 | prompt
24 | 4
25 |
26 |
27 | AnyCPU
28 | pdbonly
29 | true
30 | bin\Release\
31 | TRACE
32 | prompt
33 | 4
34 |
35 |
36 | true
37 | bin\x64\Debug\
38 | DEBUG;TRACE
39 | full
40 | x64
41 | 7.3
42 | prompt
43 | MinimumRecommendedRules.ruleset
44 | true
45 |
46 |
47 | bin\x64\Release\
48 | TRACE
49 | true
50 | pdbonly
51 | x64
52 | 7.3
53 | prompt
54 | MinimumRecommendedRules.ruleset
55 | true
56 |
57 |
58 |
59 | ..\packages\Mono.Cecil.0.11.4\lib\net40\Mono.Cecil.dll
60 |
61 |
62 | ..\packages\Mono.Cecil.0.11.4\lib\net40\Mono.Cecil.Mdb.dll
63 |
64 |
65 | ..\packages\Mono.Cecil.0.11.4\lib\net40\Mono.Cecil.Pdb.dll
66 |
67 |
68 | ..\packages\Mono.Cecil.0.11.4\lib\net40\Mono.Cecil.Rocks.dll
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
89 |
90 | {b6eb4c86-9b1a-4719-8707-d84b234f7676}
91 | AssemblyUnhollower
92 |
93 |
94 | {b7c01ae9-0fc8-4751-b56d-f2ecfc72f269}
95 | UnhollowerBaseLib
96 |
97 |
98 | {a969803f-c2af-4e42-b772-a48c18116cbc}
99 | UnhollowerRuntimeLib
100 |
101 |
102 | {8975d064-7ece-49ee-a68d-f52d22b4d98f}
103 | Il2CppDumper
104 |
105 |
106 |
107 |
108 | PreserveNewest
109 |
110 |
111 |
112 |
--------------------------------------------------------------------------------
/GunfireRebornDumper/Minifier.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.IO;
4 | using System.IO.Compression;
5 | using System.Linq;
6 | using System.Text;
7 | using System.Threading.Tasks;
8 | using Mono.Cecil;
9 |
10 | namespace GunfireRebornDumper
11 | {
12 | public static class Minifier
13 | {
14 | static List neededTypes = new List();
15 | static List neededMethods = new List();
16 | static List neededFields = new List();
17 | static List neededProperties = new List();
18 | static List blacklistTypes = new List { "Enum", "ValueType" };
19 | static List blacklistedAssemblies = new List { "mscorlib", "System", "System.Core", "UnhollowerBaseLib", "UnhollowerRuntimeLib", "Iced", "Mono.Cecil", "Costura" };
20 | //static List blacklistedAssemblies = new List { "System", "System.Core", "UnhollowerBaseLib", "UnhollowerRuntimeLib", "Iced", "Mono.Cecil", "Costura" };
21 | static void AddNeededType(TypeReference type)
22 | {
23 | if (type.ContainsGenericParameter) return;
24 | if (blacklistedAssemblies.Contains(type.Scope.Name)) return;
25 | if (type.FullName.Contains("<") && type.FullName.StartsWith("Il2"))
26 | {
27 | if (!neededTypes.Contains(type.FullName.Substring(0, type.FullName.IndexOf("<")))) neededTypes.Add((type.FullName.Substring(0, type.FullName.IndexOf("<"))));
28 |
29 | }
30 | if (!neededTypes.Contains(type.FullName)) neededTypes.Add(type.FullName);
31 | if (blacklistTypes.Contains(type.Name)) return;
32 | var res = type.Resolve();
33 | var baseType = type.Resolve().BaseType;
34 | if (baseType != null) AddNeededType(baseType);
35 | }
36 | static List Arrays = new List { "Il2CppArrayBase`1", "Il2CppStructArray`1", "Il2CppReferenceArray`1" };
37 | static String GetCorrectMethodName(MethodDefinition method)
38 | {
39 | var returnType = method.ReturnType.FullName;
40 | if (Arrays.Contains(method.ReturnType.Name))
41 | {
42 | returnType = ((GenericInstanceType)method.ReturnType).GenericArguments[0].FullName + "[]";
43 | }
44 | var argTypes = new List();
45 | foreach (var arg in method.Parameters)
46 | {
47 | var argType = arg.ParameterType.FullName;
48 | if (Arrays.Contains(arg.ParameterType.Name))
49 | {
50 | argType = ((GenericInstanceType)arg.ParameterType).GenericArguments[0].FullName + "[]";
51 | }
52 | argTypes.Add(argType);
53 | }
54 | var argString = String.Join(",", argTypes);
55 | return returnType + " " + method.DeclaringType.FullName + "::" + method.Name + "(" + argString + ")";
56 | }
57 | public static Boolean CleanType(TypeDefinition type)
58 | {
59 | //type.BaseType = null;
60 | //type.Interfaces.Clear();
61 | var deleteNestedTypes = new List();
62 | foreach (var nestedType in type.NestedTypes)
63 | {
64 | var deleteNestedType = CleanType(nestedType);
65 | if (deleteNestedType) deleteNestedTypes.Add(nestedType);
66 | }
67 | if (type.FullName.Contains("ServerDefine"))
68 | Console.WriteLine("");
69 | deleteNestedTypes.ForEach(t => type.NestedTypes.Remove(t));
70 | if (!neededTypes.Contains(type.FullName))
71 | {
72 | return type.NestedTypes.Count == 0;
73 | }
74 | if (type.IsEnum) return false;
75 | var deleteMethods = new List();
76 | foreach (var method in type.Methods)
77 | {
78 | var gen = false;
79 | if (!(neededMethods.Contains(method.FullName)))
80 | {
81 | deleteMethods.Add(method);
82 | }
83 | }
84 | deleteMethods.ForEach(t => type.Methods.Remove(t.Resolve()));
85 | var deleteProperties = new List();
86 | foreach (var field in type.Properties)
87 | {
88 | if (!(neededProperties.Contains(field.FullName)))
89 | {
90 | deleteProperties.Add(field);
91 | }
92 | }
93 | deleteProperties.ForEach(t => type.Properties.Remove(t.Resolve()));
94 | var deleteFields = new List();
95 | foreach (var field in type.Fields)
96 | {
97 | if (!(neededFields.Contains(field.FullName) || type.IsValueType))
98 | {
99 | deleteFields.Add(field);
100 | }
101 | }
102 | deleteFields.ForEach(t => type.Fields.Remove(t.Resolve()));
103 | return false;
104 | }
105 | static List neededDlls = new List();
106 | public static void Minify(String exe)
107 | {
108 | var assembly = AssemblyDefinition.ReadAssembly(exe);
109 | var dlls = Directory.GetFiles("DummyDll", "*.dll");
110 |
111 | foreach (EmbeddedResource resource in assembly.MainModule.Resources)
112 | {
113 | if (!resource.Name.EndsWith("dll.compressed")) continue;
114 | //if (blacklistedAssemblies.Count(a => "costura." + a.ToLower() + ".dll.compressed" == resource.Name) > 0) continue;
115 | if (resource.Name.Contains("mono.cecil")) continue;
116 | using (var compressedStream = resource.GetResourceStream())
117 | {
118 | using (var deflateStream = new DeflateStream(compressedStream, CompressionMode.Decompress))
119 | {
120 | using (var outputStream = new MemoryStream())
121 | {
122 | deflateStream.CopyTo(outputStream);
123 | outputStream.Position = 0;
124 | var embeddedAssembly = AssemblyDefinition.ReadAssembly(outputStream);
125 | File.WriteAllBytes(embeddedAssembly.MainModule.Name, outputStream.ToArray());
126 | }
127 | }
128 | }
129 | }
130 |
131 | foreach (var module in assembly.Modules)
132 | {
133 | foreach (var type in module.Types)
134 | {
135 | foreach (var m in type.Methods)
136 | {
137 | if (!m.HasBody) continue;
138 | var methodReferences = m.Body.Instructions.ToList().FindAll(il => /*il.OpCode == Mono.Cecil.Cil.OpCodes.Call &&*/ il.Operand as MethodReference != null).Select(il => il.Operand as MethodReference);
139 | foreach (var reference in methodReferences)
140 | {
141 | if (!blacklistedAssemblies.Contains(reference.DeclaringType.Scope.Name) && reference.DeclaringType.Scope != type.Scope)
142 | {
143 | var property = reference.DeclaringType.Resolve().Properties.FirstOrDefault(p => p.SetMethod == reference.Resolve() || p.GetMethod == reference.Resolve());
144 | if (property != null)
145 | {
146 | if (!neededProperties.Contains(property.FullName.Replace("Il2Cpp", "")))
147 | {
148 | neededProperties.Add(property.FullName.Replace("Il2Cpp", ""));
149 | }
150 | if (!neededFields.Contains(property.FullName.Replace("Il2Cpp", "").Replace("()", "")))
151 | {
152 | neededFields.Add(property.FullName.Replace("Il2Cpp", "").Replace("()", ""));
153 | }
154 | }
155 | if (!neededDlls.Contains(reference.DeclaringType.Scope))
156 | {
157 | neededDlls.Add(reference.DeclaringType.Scope);
158 | }
159 | AddNeededType(reference.DeclaringType);
160 | if (reference.IsGenericInstance)
161 | {
162 | var genReference = (GenericInstanceMethod)reference;
163 | foreach (var gp in genReference.GenericParameters)
164 | {
165 | AddNeededType(gp);
166 | }
167 | }
168 | AddNeededType(reference.ReturnType);
169 | foreach (var p in reference.Parameters)
170 | {
171 | AddNeededType(p.ParameterType);
172 | }
173 | foreach (var p in reference.DeclaringType.Resolve().Interfaces)
174 | {
175 | AddNeededType(p.InterfaceType);
176 | }
177 | var methodName = reference.FullName;
178 | var method = reference.Resolve();
179 | methodName = GetCorrectMethodName(method).Replace("Il2Cpp", "");
180 | if (!neededMethods.Contains(methodName))
181 | {
182 | neededMethods.Add(methodName);
183 | }
184 | if (reference.IsGenericInstance)
185 | {
186 | if (!neededMethods.Contains(reference.Name))
187 | {
188 | //neededMethods.Add(reference.Name);
189 | }
190 | }
191 | }
192 | }
193 | var fieldReferences = m.Body.Instructions.ToList().FindAll(il => il.Operand as FieldReference != null).Select(il => il.Operand as FieldReference);
194 | foreach (var reference in fieldReferences)
195 | {
196 | if (!blacklistedAssemblies.Contains(reference.DeclaringType.Scope.Name) && reference.DeclaringType.Scope != type.Scope)
197 | {
198 | if (!neededDlls.Contains(reference.DeclaringType.Scope))
199 | {
200 | neededDlls.Add(reference.DeclaringType.Scope);
201 | }
202 | AddNeededType(reference.DeclaringType);
203 | AddNeededType(reference.FieldType);
204 | if (!neededFields.Contains(reference.FullName))
205 | {
206 | neededFields.Add(reference.FullName);
207 | }
208 | }
209 | }
210 | }
211 | }
212 | }
213 | foreach (var dll in dlls)
214 | {
215 | if (neededDlls.Count(d => d.Name == Path.GetFileNameWithoutExtension(dll)) == 0)
216 | {
217 | continue;
218 | }
219 | assembly = AssemblyDefinition.ReadAssembly(dll);
220 | var module = assembly.MainModule;
221 |
222 | var deleteTypes = new List();
223 | foreach (var type in module.Types)
224 | {
225 | var needRemove = CleanType(type);
226 | if (needRemove) deleteTypes.Add(type);
227 | }
228 | deleteTypes.ForEach(t => module.Types.Remove(t.Resolve()));
229 |
230 | assembly.Write(dll.Replace("DummyDll", "StrippedDll"));
231 | }
232 | Console.WriteLine("");
233 | }
234 | }
235 | }
236 |
--------------------------------------------------------------------------------
/GunfireRebornDumper/Program.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.IO;
3 | using System.Linq;
4 | using System.Reflection;
5 |
6 | namespace GunfireRebornDumper
7 | {
8 | class Program
9 | {
10 | static Int32 appId = 1217060; // could also pull from reading all appmanifests
11 | static String gameName = "Gunfire Reborn";
12 | static String steamPath = Path.Combine(Microsoft.Win32.Registry.CurrentUser.OpenSubKey(@"Software\Valve\Steam").GetValue("SteamPath").ToString(), "steamapps");
13 | static String gamePath
14 | {
15 | get
16 | {
17 | if (File.Exists(Path.Combine(steamPath, $"appmanifest_{appId}.acf")))
18 | return Path.Combine(steamPath, "common", gameName) + "\\";
19 | var lib = File.ReadAllLines(Path.Combine(steamPath, "libraryfolders.vdf"));
20 | foreach (var line in lib)
21 | {
22 | if (line.Contains(@"\\"))
23 | {
24 | var path = line.Replace("\t", "").Replace("\\\\", "\\").Split(new char[1] { '"' }, StringSplitOptions.RemoveEmptyEntries)[1];
25 | if (File.Exists(Path.Combine(path, $"steamapps\\appmanifest_{appId}.acf")))
26 | return Path.Combine(path, "steamapps\\common", gameName) + "\\";
27 | }
28 | }
29 | throw new Exception("Can't find game");
30 | }
31 | }
32 | static void Main(string[] args)
33 | {
34 | if (false)
35 | {
36 | var config = File.ReadAllText(AppDomain.CurrentDomain.BaseDirectory + @"config.json");
37 | config = config.Replace("\"RequireAnyKey\": true,", "\"RequireAnyKey\": false,");
38 | File.WriteAllText(AppDomain.CurrentDomain.BaseDirectory + @"config.json", config);
39 | var Il2CppDumperProgram = Type.GetType("Il2CppDumper.Program, Il2CppDumper");
40 | var Il2CppDumperMain = Il2CppDumperProgram.GetMethods(BindingFlags.NonPublic | BindingFlags.Static).FirstOrDefault(m => m.Name == "Main");
41 | Il2CppDumperMain.Invoke(null, new object[1] { (new string[2] { gamePath + gameName + @"_Data\il2cpp_data\Metadata\global-metadata.dat", gamePath + @"GameAssembly.dll" }) });
42 | }
43 | if (false)
44 | {
45 | var options = new AssemblyUnhollower.UnhollowerOptions();
46 | options.AdditionalAssembliesBlacklist.Add("Mono.Security"); // always blacklist this one
47 | options.AdditionalAssembliesBlacklist.Add("Newtonsoft.Json"); // always blacklist this one
48 | options.UnityBaseLibsDir = AppDomain.CurrentDomain.BaseDirectory + "DummyDll";
49 | options.SourceDir = AppDomain.CurrentDomain.BaseDirectory + "DummyDll";
50 | options.OutputDir = AppDomain.CurrentDomain.BaseDirectory + "ProxyDll";
51 | options.MscorlibPath = @"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\mscorlib.dll";// AppDomain.CurrentDomain.BaseDirectory + @"lib\mscorlib.dll";
52 | var AssemblyUnhollowerProgram = Type.GetType("AssemblyUnhollower.Program, AssemblyUnhollower");
53 | var AssemblyUnhollowerMain = AssemblyUnhollowerProgram.GetMethods(BindingFlags.Public | BindingFlags.Static).FirstOrDefault(m => m.Name == "Main" && m.GetParameters()[0].ParameterType == typeof(AssemblyUnhollower.UnhollowerOptions));
54 | AssemblyUnhollowerMain.Invoke(null, new object[1] { options });
55 | }
56 | if (true)
57 | {
58 | Minifier.Minify(@"..\..\..\..\GunfireRebornMods\bin\x64\Debug\GunfireRebornMods.exe");
59 | var options = new AssemblyUnhollower.UnhollowerOptions();
60 | options.AdditionalAssembliesBlacklist.Add("Mono.Security"); // always blacklist this one
61 | options.AdditionalAssembliesBlacklist.Add("Newtonsoft.Json"); // always blacklist this one
62 | options.UnityBaseLibsDir = AppDomain.CurrentDomain.BaseDirectory + "StrippedDll";
63 | options.SourceDir = AppDomain.CurrentDomain.BaseDirectory + "StrippedDll";
64 | options.OutputDir = AppDomain.CurrentDomain.BaseDirectory + "FinalDll";
65 | options.MscorlibPath = @"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\mscorlib.dll";// AppDomain.CurrentDomain.BaseDirectory + @"lib\mscorlib.dll";
66 | var AssemblyUnhollowerProgram = Type.GetType("AssemblyUnhollower.Program, AssemblyUnhollower");
67 | var AssemblyUnhollowerMain = AssemblyUnhollowerProgram.GetMethods(BindingFlags.Public | BindingFlags.Static).FirstOrDefault(m => m.Name == "Main" && m.GetParameters()[0].ParameterType == typeof(AssemblyUnhollower.UnhollowerOptions));
68 | AssemblyUnhollowerMain.Invoke(null, new object[1] { options });
69 | }
70 | }
71 | }
72 | }
73 |
--------------------------------------------------------------------------------
/GunfireRebornDumper/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 | using System.Runtime.CompilerServices;
3 | using System.Runtime.InteropServices;
4 |
5 | // General Information about an assembly is controlled through the following
6 | // set of attributes. Change these attribute values to modify the information
7 | // associated with an assembly.
8 | [assembly: AssemblyTitle("GunfireRebornDumper")]
9 | [assembly: AssemblyDescription("")]
10 | [assembly: AssemblyConfiguration("")]
11 | [assembly: AssemblyCompany("")]
12 | [assembly: AssemblyProduct("GunfireRebornDumper")]
13 | [assembly: AssemblyCopyright("Copyright © 2020")]
14 | [assembly: AssemblyTrademark("")]
15 | [assembly: AssemblyCulture("")]
16 |
17 | // Setting ComVisible to false makes the types in this assembly not visible
18 | // to COM components. If you need to access a type in this assembly from
19 | // COM, set the ComVisible attribute to true on that type.
20 | [assembly: ComVisible(false)]
21 |
22 | // The following GUID is for the ID of the typelib if this project is exposed to COM
23 | [assembly: Guid("385c11ff-ef0f-4fd5-b207-b76820ade367")]
24 |
25 | // Version information for an assembly consists of the following four values:
26 | //
27 | // Major Version
28 | // Minor Version
29 | // Build Number
30 | // Revision
31 | //
32 | // You can specify all the values or you can default the Build and Revision Numbers
33 | // by using the '*' as shown below:
34 | // [assembly: AssemblyVersion("1.0.*")]
35 | [assembly: AssemblyVersion("1.0.0.0")]
36 | [assembly: AssemblyFileVersion("1.0.0.0")]
37 |
--------------------------------------------------------------------------------
/GunfireRebornDumper/lib/mscorlib.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shalzuth/AutoGunfireReborn/9576c12f52a2fc909b2bd7114c62f8f6e7b65123/GunfireRebornDumper/lib/mscorlib.dll
--------------------------------------------------------------------------------
/GunfireRebornDumper/packages.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/GunfireRebornMods/Common/ModBase.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace GunfireRebornMods
4 | {
5 | public class ModBase
6 | {
7 | public String ModName { get; set; } = "Mod Name";
8 | public virtual Boolean HasConfig { get; set; } = false;
9 | public virtual Single SliderVal { get; set; } = 5;
10 | public virtual Single SliderMin { get; set; } = 0;
11 | public virtual Single SliderMax { get; set; } = 10;
12 | public Boolean Enabled { get; set; } = false;
13 | public virtual void Start() { }
14 | public virtual void Update() { }
15 | public virtual void OnGUI() { }
16 | public virtual void OnDisable() { }
17 | public virtual void OnEnable() { }
18 | }
19 | }
--------------------------------------------------------------------------------
/GunfireRebornMods/Common/ModManager.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using UnityEngine;
4 |
5 | namespace GunfireRebornMods
6 | {
7 | public class ModManager : MonoBehaviour
8 | {
9 | public ModManager(IntPtr intPtr) : base(intPtr) { }
10 | public List Mods = new List();
11 | public GUILayoutOption[] GUILayoutOption = new GUILayoutOption[0];
12 | unsafe void OnGUI()
13 | {
14 | foreach (var mod in Mods) if (mod.Enabled) mod.OnGUI();
15 | if (Cursor.lockState == CursorLockMode.Locked) return;
16 | var area = new Rect(25, 25, 150, 250);
17 | GUI.Box(area, "shalzuth's mods");
18 | GUILayout.BeginArea(area);
19 | GUILayout.Space(20);
20 | foreach (var mod in Mods)
21 | {
22 | var val = GUILayout.Toggle(mod.Enabled, mod.GetType().Name, GUILayoutOption);
23 | if (val != mod.Enabled)
24 | {
25 | if (val) mod.OnEnable();
26 | else mod.OnDisable();
27 | mod.Enabled = val;
28 | }
29 | if (mod.Enabled && mod.HasConfig) mod.SliderVal = GUILayout.DoHorizontalSlider(mod.SliderVal, mod.SliderMin, mod.SliderMax, new GUIStyle(GUI.skin.horizontalSlider), new GUIStyle(GUI.skin.horizontalSliderThumb), GUILayoutOption);
30 | if (mod.Enabled) mod.OnGUI();
31 | }
32 | GUILayout.EndArea();
33 | }
34 |
35 | void Update()
36 | {
37 | foreach (var mod in Mods) if (mod.Enabled) mod.Update();
38 | }
39 | void OnDisable()
40 | {
41 | foreach (var mod in Mods) if (mod.Enabled) mod.OnDisable();
42 | }
43 | }
44 | }
--------------------------------------------------------------------------------
/GunfireRebornMods/FodyWeavers.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/GunfireRebornMods/FodyWeavers.xsd:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 | A list of assembly names to exclude from the default action of "embed all Copy Local references", delimited with line breaks
13 |
14 |
15 |
16 |
17 | A list of assembly names to include from the default action of "embed all Copy Local references", delimited with line breaks.
18 |
19 |
20 |
21 |
22 | A list of runtime assembly names to exclude from the default action of "embed all Copy Local references", delimited with line breaks
23 |
24 |
25 |
26 |
27 | A list of runtime assembly names to include from the default action of "embed all Copy Local references", delimited with line breaks.
28 |
29 |
30 |
31 |
32 | A list of unmanaged 32 bit assembly names to include, delimited with line breaks.
33 |
34 |
35 |
36 |
37 | A list of unmanaged 64 bit assembly names to include, delimited with line breaks.
38 |
39 |
40 |
41 |
42 | The order of preloaded assemblies, delimited with line breaks.
43 |
44 |
45 |
46 |
47 |
48 | This will copy embedded files to disk before loading them into memory. This is helpful for some scenarios that expected an assembly to be loaded from a physical file.
49 |
50 |
51 |
52 |
53 | Controls if .pdbs for reference assemblies are also embedded.
54 |
55 |
56 |
57 |
58 | Controls if runtime assemblies are also embedded.
59 |
60 |
61 |
62 |
63 | Controls whether the runtime assemblies are embedded with their full path or only with their assembly name.
64 |
65 |
66 |
67 |
68 | Embedded assemblies are compressed by default, and uncompressed when they are loaded. You can turn compression off with this option.
69 |
70 |
71 |
72 |
73 | As part of Costura, embedded assemblies are no longer included as part of the build. This cleanup can be turned off.
74 |
75 |
76 |
77 |
78 | Costura by default will load as part of the module initialization. This flag disables that behavior. Make sure you call CosturaUtility.Initialize() somewhere in your code.
79 |
80 |
81 |
82 |
83 | Costura will by default use assemblies with a name like 'resources.dll' as a satellite resource and prepend the output path. This flag disables that behavior.
84 |
85 |
86 |
87 |
88 | A list of assembly names to exclude from the default action of "embed all Copy Local references", delimited with |
89 |
90 |
91 |
92 |
93 | A list of assembly names to include from the default action of "embed all Copy Local references", delimited with |.
94 |
95 |
96 |
97 |
98 | A list of runtime assembly names to exclude from the default action of "embed all Copy Local references", delimited with |
99 |
100 |
101 |
102 |
103 | A list of runtime assembly names to include from the default action of "embed all Copy Local references", delimited with |.
104 |
105 |
106 |
107 |
108 | A list of unmanaged 32 bit assembly names to include, delimited with |.
109 |
110 |
111 |
112 |
113 | A list of unmanaged 64 bit assembly names to include, delimited with |.
114 |
115 |
116 |
117 |
118 | The order of preloaded assemblies, delimited with |.
119 |
120 |
121 |
122 |
123 |
124 |
125 |
126 | 'true' to run assembly verification (PEVerify) on the target assembly after all weavers have been executed.
127 |
128 |
129 |
130 |
131 | A comma-separated list of error codes that can be safely ignored in assembly verification.
132 |
133 |
134 |
135 |
136 | 'false' to turn off automatic generation of the XML Schema file.
137 |
138 |
139 |
140 |
141 |
--------------------------------------------------------------------------------
/GunfireRebornMods/GunfireRebornMods.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Debug
7 | AnyCPU
8 | {786E2464-E23C-4392-A81A-870456D7FD63}
9 | Exe
10 | Properties
11 | GunfireRebornMods
12 | GunfireRebornMods
13 | v4.7.2
14 | 512
15 | true
16 |
17 |
18 |
19 |
20 | true
21 | full
22 | false
23 | bin\Debug\
24 | DEBUG;TRACE
25 | prompt
26 | 4
27 | false
28 | true
29 |
30 |
31 | pdbonly
32 | true
33 | bin\Release\
34 | TRACE
35 | prompt
36 | 4
37 |
38 |
39 | true
40 | bin\x64\Debug\
41 | DEBUG;TRACE
42 | full
43 | x64
44 | 7.3
45 | prompt
46 | MinimumRecommendedRules.ruleset
47 | true
48 |
49 |
50 | bin\x64\Release\
51 | TRACE
52 | true
53 | pdbonly
54 | x64
55 | 7.3
56 | prompt
57 | MinimumRecommendedRules.ruleset
58 | true
59 |
60 |
61 | GunfireRebornMods.Program
62 |
63 |
64 |
65 | ..\packages\Costura.Fody.5.3.0\lib\netstandard1.0\Costura.dll
66 |
67 |
68 | ..\packages\Microsoft.Win32.Primitives.4.3.0\lib\net46\Microsoft.Win32.Primitives.dll
69 | True
70 | True
71 |
72 |
73 | ..\packages\Mono.Cecil.0.11.4\lib\net40\Mono.Cecil.dll
74 |
75 |
76 | ..\packages\Mono.Cecil.0.11.4\lib\net40\Mono.Cecil.Mdb.dll
77 |
78 |
79 | ..\packages\Mono.Cecil.0.11.4\lib\net40\Mono.Cecil.Pdb.dll
80 |
81 |
82 | ..\packages\Mono.Cecil.0.11.4\lib\net40\Mono.Cecil.Rocks.dll
83 |
84 |
85 | ..\GunfireRebornDumper\bin\x64\Debug\DummyDll\System.dll
86 |
87 |
88 | ..\packages\System.AppContext.4.3.0\lib\net463\System.AppContext.dll
89 | True
90 | True
91 |
92 |
93 |
94 | ..\packages\System.Console.4.3.0\lib\net46\System.Console.dll
95 | True
96 | True
97 |
98 |
99 |
100 | ..\packages\System.Diagnostics.Tracing.4.3.0\lib\net462\System.Diagnostics.Tracing.dll
101 | True
102 | True
103 |
104 |
105 | ..\packages\System.Globalization.Calendars.4.3.0\lib\net46\System.Globalization.Calendars.dll
106 | True
107 | True
108 |
109 |
110 | ..\packages\System.IO.4.3.0\lib\net462\System.IO.dll
111 | True
112 | True
113 |
114 |
115 | ..\packages\System.IO.Compression.4.3.0\lib\net46\System.IO.Compression.dll
116 | True
117 | True
118 |
119 |
120 |
121 | ..\packages\System.IO.Compression.ZipFile.4.3.0\lib\net46\System.IO.Compression.ZipFile.dll
122 | True
123 | True
124 |
125 |
126 | ..\packages\System.IO.FileSystem.4.3.0\lib\net46\System.IO.FileSystem.dll
127 | True
128 | True
129 |
130 |
131 | ..\packages\System.IO.FileSystem.Primitives.4.3.0\lib\net46\System.IO.FileSystem.Primitives.dll
132 | True
133 | True
134 |
135 |
136 | ..\packages\System.Linq.4.3.0\lib\net463\System.Linq.dll
137 | True
138 | True
139 |
140 |
141 | ..\packages\System.Linq.Expressions.4.3.0\lib\net463\System.Linq.Expressions.dll
142 | True
143 | True
144 |
145 |
146 | ..\packages\System.Net.Http.4.3.0\lib\net46\System.Net.Http.dll
147 | True
148 | True
149 |
150 |
151 | ..\packages\System.Net.Sockets.4.3.0\lib\net46\System.Net.Sockets.dll
152 | True
153 | True
154 |
155 |
156 |
157 | ..\packages\System.Reflection.4.3.0\lib\net462\System.Reflection.dll
158 | True
159 | True
160 |
161 |
162 | ..\packages\System.Runtime.4.3.0\lib\net462\System.Runtime.dll
163 | True
164 | True
165 |
166 |
167 | ..\packages\System.Runtime.Extensions.4.3.0\lib\net462\System.Runtime.Extensions.dll
168 | True
169 | True
170 |
171 |
172 | ..\packages\System.Runtime.InteropServices.4.3.0\lib\net463\System.Runtime.InteropServices.dll
173 | True
174 | True
175 |
176 |
177 | ..\packages\System.Runtime.InteropServices.RuntimeInformation.4.3.0\lib\net45\System.Runtime.InteropServices.RuntimeInformation.dll
178 | True
179 | True
180 |
181 |
182 | ..\packages\System.Security.Cryptography.Algorithms.4.3.0\lib\net463\System.Security.Cryptography.Algorithms.dll
183 | True
184 | True
185 |
186 |
187 | ..\packages\System.Security.Cryptography.Encoding.4.3.0\lib\net46\System.Security.Cryptography.Encoding.dll
188 | True
189 | True
190 |
191 |
192 | ..\packages\System.Security.Cryptography.Primitives.4.3.0\lib\net46\System.Security.Cryptography.Primitives.dll
193 | True
194 | True
195 |
196 |
197 | ..\packages\System.Security.Cryptography.X509Certificates.4.3.0\lib\net461\System.Security.Cryptography.X509Certificates.dll
198 | True
199 | True
200 |
201 |
202 | ..\packages\System.Text.RegularExpressions.4.3.0\lib\net463\System.Text.RegularExpressions.dll
203 | True
204 | True
205 |
206 |
207 |
208 |
209 | ..\packages\System.Xml.ReaderWriter.4.3.0\lib\net46\System.Xml.ReaderWriter.dll
210 | True
211 | True
212 |
213 |
214 |
215 |
216 |
217 |
218 |
219 |
220 |
221 |
222 |
223 |
224 |
225 |
226 |
227 |
228 |
229 |
230 |
231 |
232 |
233 | ..\GunfireRebornDumper\bin\x64\Debug\ProxyDll\Assembly-CSharp.dll
234 |
235 |
236 | ..\GunfireRebornDumper\bin\x64\Debug\ProxyDll\csharpdata.dll
237 |
238 |
239 | ..\GunfireRebornDumper\bin\x64\Debug\ProxyDll\Il2Cppmscorlib.dll
240 |
241 |
242 | ..\GunfireRebornDumper\bin\x64\Debug\ProxyDll\Il2CppSystem.dll
243 |
244 |
245 | ..\GunfireRebornDumper\bin\x64\Debug\ProxyDll\UnityEngine.CoreModule.dll
246 |
247 |
248 | ..\GunfireRebornDumper\bin\x64\Debug\ProxyDll\UnityEngine.IMGUIModule.dll
249 |
250 |
251 | ..\GunfireRebornDumper\bin\x64\Debug\ProxyDll\UnityEngine.PhysicsModule.dll
252 |
253 |
254 | ..\GunfireRebornDumper\bin\x64\Debug\ProxyDll\UnityEngine.UIElementsModule.dll
255 |
256 |
257 |
258 |
259 | ..\GunfireRebornDumper\bin\x64\Debug\FinalDll\Assembly-CSharp.dll
260 |
261 |
262 | ..\GunfireRebornDumper\bin\x64\Debug\FinalDll\csharpdata.dll
263 |
264 |
265 | ..\GunfireRebornDumper\bin\x64\Debug\FinalDll\Il2Cppmscorlib.dll
266 |
267 |
268 | ..\GunfireRebornDumper\bin\x64\Debug\FinalDll\Il2CppSystem.dll
269 |
270 |
271 | ..\GunfireRebornDumper\bin\x64\Debug\FinalDll\UnityEngine.CoreModule.dll
272 |
273 |
274 | ..\GunfireRebornDumper\bin\x64\Debug\FinalDll\UnityEngine.IMGUIModule.dll
275 |
276 |
277 | ..\GunfireRebornDumper\bin\x64\Debug\FinalDll\UnityEngine.PhysicsModule.dll
278 |
279 |
280 | ..\GunfireRebornDumper\bin\x64\Debug\FinalDll\UnityEngine.UIElementsModule.dll
281 |
282 |
283 |
284 |
285 | {b7c01ae9-0fc8-4751-b56d-f2ecfc72f269}
286 | UnhollowerBaseLib
287 | global
288 |
289 |
290 | {a969803f-c2af-4e42-b772-a48c18116cbc}
291 | UnhollowerRuntimeLib
292 | global
293 | False
294 |
295 |
296 |
297 |
298 |
299 |
300 |
301 |
302 |
303 | This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.
304 |
305 |
306 |
307 |
308 |
309 |
310 |
--------------------------------------------------------------------------------
/GunfireRebornMods/Mods/Aimbot.cs:
--------------------------------------------------------------------------------
1 | using UnityEngine;
2 | using System.Runtime.InteropServices;
3 | namespace GunfireRebornMods
4 | {
5 | public class Aimbot : ModBase
6 | {
7 | [DllImport("user32.dll")] static extern void mouse_event(int dwFlags, int dx, int dy, int dwData, int dwExtraInfo);
8 | bool Toggled = false;
9 | // thx https://github.com/pentium1131/GunfireReborn-aimbot
10 | public override void Update()
11 | {
12 | if (Input.GetKeyDown(KeyCode.X)) Toggled = !Toggled;
13 | if (Toggled) return;
14 | var monsters = NewPlayerManager.GetMonsters();
15 | if (monsters != null)
16 | {
17 | Transform closestMonster = null;
18 | var closestMonsterDist = 99999f;
19 | foreach (var monster in monsters)
20 | {
21 | if (monster == null) continue;
22 | var bodyPartCom = monster.BodyPartCom;
23 | if (bodyPartCom == null) continue;
24 | var monsterTransform = bodyPartCom.GetWeakTrans(true);
25 | if (monsterTransform == null) continue;
26 | var vec = CameraManager.MainCameraCom.WorldToViewportPoint(monsterTransform.position);
27 | if (true)
28 | {
29 | if (vec.z <= 0) continue;
30 | vec.y = 0;
31 | vec.x = 0.5f - vec.x;
32 | vec.x = Screen.width * vec.x;
33 | vec.z = 0f;
34 | if (vec.magnitude > 150f) continue;
35 | }
36 | vec = monsterTransform.position - CameraManager.MainCamera.position;
37 | var ray = new Ray(CameraManager.MainCamera.position, vec);
38 | var hits = Physics.RaycastAll(ray, vec.magnitude);
39 | var visible = true;
40 | foreach (var hit in hits)
41 | {
42 | if (hit.collider.gameObject.layer == 0 || hit.collider.gameObject.layer == 30 || hit.collider.gameObject.layer == 31) //&& hit.collider.name.Contains("_")
43 | {
44 | visible = false;
45 | break;
46 | }
47 | }
48 | if (visible)
49 | {
50 | if (vec.magnitude < closestMonsterDist)
51 | {
52 | closestMonsterDist = vec.magnitude;
53 | closestMonster = monsterTransform;
54 | }
55 | }
56 | }
57 | if (closestMonster != null)
58 | {
59 | var offset = closestMonster.position;
60 | offset += new Vector3(0, 0.2f);
61 | var screenAim = CameraManager.MainCameraCom.WorldToScreenPoint(offset);
62 | var aimTarget = new Vector2(screenAim.x, Screen.height - screenAim.y);
63 | if (aimTarget != Vector2.zero)
64 | {
65 | var x = aimTarget.x - Screen.width / 2.0f;
66 | var y = aimTarget.y - Screen.height / 2.0f;
67 | x /= 2.5f;
68 | y /= 2.5f;
69 | mouse_event(0x0001, (int)x, (int)y, 0, 0);
70 | }
71 | }
72 | }
73 | }
74 | }
75 | }
76 |
--------------------------------------------------------------------------------
/GunfireRebornMods/Mods/AutoAim.cs:
--------------------------------------------------------------------------------
1 | using UnityEngine;
2 | namespace GunfireRebornMods
3 | {
4 | public class AutoAim : ModBase
5 | {
6 | public override void OnEnable()
7 | {
8 | GameObject.FindObjectOfType().speed = 100;
9 | }
10 | public override void Update()
11 | {
12 | AutoAimat.AimAtTarget(100f);
13 | DetectionClass.aimAssist = true;
14 | }
15 | public override void OnDisable()
16 | {
17 | GameObject.FindObjectOfType().speed = 0;
18 | }
19 | }
20 | }
21 |
--------------------------------------------------------------------------------
/GunfireRebornMods/Mods/ExtraSensoryPerception.cs:
--------------------------------------------------------------------------------
1 | using DataHelper;
2 | using UnityEngine;
3 |
4 | namespace GunfireRebornMods
5 | {
6 | public class ExtraSensoryPerception : ModBase
7 | {
8 | public bool ShowObject(NewPlayerObject obj)
9 | {
10 | if (obj.FightType == ServerDefine.FightType.NWARRIOR_DROP_EQUIP) return true;
11 | else if (obj.FightType == ServerDefine.FightType.NWARRIOR_DROP_RELIC) return true;
12 | else if (obj.FightType == ServerDefine.FightType.NWARRIOR_NPC_SMITH) return true;
13 | else if (obj.FightType == ServerDefine.FightType.NWARRIOR_NPC_SHOP) return true;
14 | else if (obj.FightType == ServerDefine.FightType.NWARRIOR_NPC_GSCASHSHOP) return true;
15 | else if (obj.FightType == ServerDefine.FightType.WARRIOR_OBSTACLE_NORMAL && (obj.Shape == 4406 || obj.Shape == 4419 || obj.Shape == 4427)) return true;
16 | else if (obj.FightType == ServerDefine.FightType.NWARRIOR_NPC_EVENT) return true;
17 | else if (obj.FightType == ServerDefine.FightType.NWARRIOR_NPC_ITEMBOX) return true;
18 | return false;
19 |
20 | }
21 | public string FightTypeToString(NewPlayerObject obj)
22 | {
23 | if (obj.FightType == ServerDefine.FightType.NWARRIOR_DROP_EQUIP) return DataMgr.GetWeaponData(obj.Shape).Name + " +" + obj.DropOPCom.WeaponInfo.SIProp.Grade.ToString();
24 | else if (obj.FightType == ServerDefine.FightType.NWARRIOR_DROP_RELIC) return DataMgr.GetRelicData(obj.DropOPCom.RelicSid).Name;
25 | else if (obj.FightType == ServerDefine.FightType.NWARRIOR_NPC_SMITH) return "Smith";
26 | else if (obj.FightType == ServerDefine.FightType.NWARRIOR_NPC_SHOP) return "Kermit";
27 | else if (obj.FightType == ServerDefine.FightType.NWARRIOR_NPC_GSCASHSHOP) return "GhostKermit";
28 | else if (obj.FightType == ServerDefine.FightType.WARRIOR_OBSTACLE_NORMAL && (obj.Shape == 4406 || obj.Shape == 4419 || obj.Shape == 4427)) return "Vault";
29 | else if (obj.FightType == ServerDefine.FightType.NWARRIOR_NPC_EVENT) return "Chest";
30 | else if (obj.FightType == ServerDefine.FightType.NWARRIOR_NPC_ITEMBOX) return "Chest";
31 | return "unk";
32 | }
33 | public override void OnEnable()
34 | {
35 | foreach (var monster in NewPlayerManager.MonsterLst)
36 | {
37 | System.Console.WriteLine("MonsterLst : " + monster.FightType);
38 | }
39 | foreach (var monster in NewPlayerManager.PlayerDict)
40 | {
41 | var val = monster.Value;
42 | System.Console.WriteLine("PlayerDict : " + monster.Value.FightType);
43 | }
44 | foreach (var monster in NewPlayerManager.NpcLst)
45 | {
46 | System.Console.WriteLine("NpcLst : " + monster.FightType);
47 | }
48 | }
49 | public override void Update()
50 | {
51 | var mon = NewPlayerManager.GetMonsters();
52 | foreach (var m in mon) if (m.BloodBarCom != null) m.BloodBarCom.ShowBloodBar();
53 | //foreach (var m in NewPlayerManager.MonsterLst) if (m.BloodBarCom != null) m.BloodBarCom.ShowBloodBar();
54 | }
55 | public override void OnGUI()
56 | {
57 | foreach (var p in NewPlayerManager.PlayerDict)
58 | {
59 | var val = p.Value;
60 | if (val.centerPointTrans == null) continue;
61 | if (!ShowObject(val)) continue;
62 | var screenPos = CameraManager.MainCameraCom.WorldToScreenPoint(val.centerPointTrans.transform.position);
63 | if (screenPos.z > 0)
64 | {
65 | var dist = Vector3.Distance(HeroMoveManager.HeroObj.centerPointTrans.position, val.centerPointTrans.position).ToString("0.0");
66 | GUI.Label(new Rect(screenPos.x, Screen.height - screenPos.y, 800, 50), FightTypeToString(val) + "(" + dist + "m)");
67 | //GUI.Label(new Rect(screenPos.x, Screen.height - screenPos.y, 800, 50), monster.Value.SID + " : " + monster.Value.Shape + " : " + monster.Value.FightType);
68 | }
69 | }
70 | }
71 | }
72 | }
73 |
--------------------------------------------------------------------------------
/GunfireRebornMods/Mods/FreeCam.cs:
--------------------------------------------------------------------------------
1 | using UnityEngine;
2 | namespace GunfireRebornMods
3 | {
4 | public class FreeCam : ModBase
5 | {
6 | Vector3 LastPos;
7 | Vector3 LastAngle;
8 | public override void Update()
9 | {
10 | var x = Input.GetAxis("Mouse X");
11 | var y = Input.GetAxis("Mouse Y");
12 | var lastMouse = new Vector3(x, y);
13 | if (Input.GetKey(KeyCode.LeftAlt))
14 | {
15 | Cursor.lockState = CursorLockMode.None;
16 | Cursor.visible = true;
17 | return;
18 | }
19 | else
20 | {
21 | Cursor.lockState = CursorLockMode.Locked;
22 | Cursor.visible = false;
23 | }
24 | var f = 0.0f;
25 | var p = GetBaseInput();
26 | p = p * mainSpeed;
27 | p = p * Time.deltaTime;
28 | var cameraTransform = CameraManager.MainCameraCom.transform;
29 | LastPos = cameraTransform.position;
30 | cameraTransform.position = LastPos;
31 | cameraTransform.Translate(p);
32 | LastPos = cameraTransform.position;
33 |
34 | LastAngle = cameraTransform.eulerAngles;
35 | lastMouse = new Vector3(-lastMouse.y * camSens, lastMouse.x * camSens, 0);
36 | lastMouse = new Vector3(LastAngle.x + lastMouse.x, LastAngle.y + lastMouse.y, 0);
37 | cameraTransform.eulerAngles = lastMouse;
38 | LastAngle = cameraTransform.eulerAngles;
39 | }
40 | float mainSpeed = 10f;
41 | float camSens = 5f;
42 | Vector3 GetBaseInput()
43 | {
44 | var dir = Vector3.zero;
45 | if (Input.GetKey(KeyCode.W))
46 | dir += new Vector3(0, 0, 1);
47 | if (Input.GetKey(KeyCode.S))
48 | dir += new Vector3(0, 0, -1);
49 | if (Input.GetKey(KeyCode.A))
50 | dir += new Vector3(-1, 0, 0);
51 | if (Input.GetKey(KeyCode.D))
52 | dir += new Vector3(1, 0, 0);
53 | if (Input.GetKey(KeyCode.Space))
54 | dir += new Vector3(0, 1, 0);
55 | if (Input.GetKey(KeyCode.C))
56 | dir += new Vector3(0, -1, 0);
57 | return dir;
58 | }
59 | }
60 | }
61 |
--------------------------------------------------------------------------------
/GunfireRebornMods/Mods/GameSpeed.cs:
--------------------------------------------------------------------------------
1 | namespace GunfireRebornMods
2 | {
3 | public class GameSpeed : ModBase
4 | {
5 | public override bool HasConfig { get; set; } = true;
6 | public override void Update()
7 | {
8 | UnityEngine.Time.timeScale = SliderVal;
9 | }
10 | public override void OnDisable()
11 | {
12 | UnityEngine.Time.timeScale = 1.0f;
13 | }
14 | }
15 | }
16 |
--------------------------------------------------------------------------------
/GunfireRebornMods/Mods/JumpHeight.cs:
--------------------------------------------------------------------------------
1 | namespace GunfireRebornMods
2 | {
3 | public class JumpHeight : ModBase
4 | {
5 | public override bool HasConfig { get; set; } = true;
6 | public override float SliderMin { get; set; } = 0;
7 | public override float SliderVal { get; set; } = 8f;
8 | public override float SliderMax { get; set; } = 30f;
9 | float orig = 0;
10 | public override void Update()
11 | {
12 | if (orig == 0) orig = HeroMoveManager.HMMJS.jumping.baseHeight; //HeroMoveManager.HMMJS.jumping.StoredDefaultHeight;// HeroMoveManager.HMMJS.jumping.baseHeight;
13 | HeroMoveManager.HMMJS.jumping.baseHeight = (SliderVal * SliderVal) / (HeroMoveManager.HMMJS.movement.gravity * 2);
14 |
15 | //HeroMoveManager.HMMJS?.SetJumperHeight(SliderVal);
16 | //HeroMoveManager.HMMJS.jumping.StoredDefaultHeight = HeroMoveManager.HMMJS.jumping.baseHeight;
17 | }
18 | public override void OnDisable()
19 | {
20 | HeroMoveManager.HMMJS.jumping.baseHeight = orig;
21 | }
22 | }
23 | }
24 |
--------------------------------------------------------------------------------
/GunfireRebornMods/Mods/MovementSpeed.cs:
--------------------------------------------------------------------------------
1 | namespace GunfireRebornMods
2 | {
3 | public class MovementSpeed : ModBase
4 | {
5 | public override bool HasConfig { get; set; } = true;
6 | public override float SliderMin { get; set; } = 0;
7 | public override float SliderVal { get; set; } = 10f;
8 | public override float SliderMax { get; set; } = 30f;
9 | float orig = 0;
10 | public override void Update()
11 | {
12 | if (orig == 0) orig = HeroMoveManager.HMMJS.maxForwardSpeed;
13 | //HeroMoveManager.HMMJS.SetSpeed(12);
14 | HeroMoveManager.HMMJS.maxForwardSpeed = HeroMoveManager.HMMJS.maxBackwardsSpeed = HeroMoveManager.HMMJS.maxSidewaysSpeed = SliderVal;
15 | }
16 | public override void OnDisable()
17 | {
18 | HeroMoveManager.HMMJS.maxForwardSpeed = HeroMoveManager.HMMJS.maxBackwardsSpeed = HeroMoveManager.HMMJS.maxSidewaysSpeed = orig;
19 | }
20 | }
21 | }
22 |
--------------------------------------------------------------------------------
/GunfireRebornMods/Mods/SceneDebugger.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Concurrent;
3 | using System.Collections.Generic;
4 | using System.Linq;
5 | using System.Reflection;
6 | using UnityEngine;
7 |
8 | namespace GunfireRebornMods
9 | {
10 | public class SceneDebugger : ModBase
11 | {
12 | Rect HierarchyWindow;
13 | Vector2 HierarchyScrollPos;
14 | String SearchText = "";
15 | Vector2 PropertiesScrollPos;
16 | Transform SelectedGameObject;
17 | List ExpandedObjs = new List();
18 |
19 | Rect ProjectWindow;
20 | Vector2 ProjectScrollPos;
21 | ConcurrentDictionary