├── Assembly-CSharp.Base.mm
├── Content
│ ├── gungeon_id_map
│ │ └── items
│ │ │ └── txt
│ ├── etgmod
│ │ ├── logo.png
│ │ └── gui
│ │ │ ├── icon_api.png
│ │ │ ├── icon_dir.png
│ │ │ ├── icon_mod.png
│ │ │ └── icon_zip.png
│ ├── test
│ │ └── texture.png
│ └── sprites
│ │ ├── Foyer_Collection
│ │ └── top_floor_001.png
│ │ ├── WeaponCollection
│ │ ├── gshbd_fire_001.png
│ │ ├── gshbd_fire_002.png
│ │ ├── gshbd_fire_003.png
│ │ ├── gshbd_fire_004.png
│ │ ├── gshbd_idle_001.png
│ │ ├── gshbd_idle_002.png
│ │ ├── gshbd_idle_003.png
│ │ ├── gshbd_idle_004.png
│ │ ├── gshbd_intro_001.png
│ │ ├── gshbd_intro_002.png
│ │ ├── gshbd_intro_003.png
│ │ ├── gshbd_fire_001.json
│ │ ├── gshbd_fire_002.json
│ │ ├── gshbd_fire_003.json
│ │ ├── gshbd_fire_004.json
│ │ ├── gshbd_idle_001.json
│ │ ├── gshbd_idle_002.json
│ │ ├── gshbd_idle_003.json
│ │ ├── gshbd_idle_004.json
│ │ ├── gshbd_intro_001.json
│ │ ├── gshbd_intro_002.json
│ │ └── gshbd_intro_003.json
│ │ ├── IntroSequenceCollection_01
│ │ ├── logo_roguego_014.png
│ │ ├── logo_roguego_015.png
│ │ ├── logo_roguego_016.png
│ │ ├── logo_roguego_017.png
│ │ ├── logo_roguego_018.png
│ │ ├── logo_roguego_019.png
│ │ ├── logo_roguego_020.png
│ │ ├── logo_logo_pound_006.png
│ │ ├── logo_logo_pound_007.png
│ │ ├── logo_logo_pound_008.png
│ │ ├── logo_logo_pound_009.png
│ │ ├── logo_logo_pound_010.png
│ │ ├── logo_logo_pound_011.png
│ │ └── logo_logo_pound_012.png
│ │ └── Ammonomicon Encounter Icon Collection
│ │ └── gshbd_fire_002.png
├── src
│ ├── SGUI
│ │ ├── EMouseStatus.cs
│ │ ├── Animations
│ │ │ ├── SFadeInAnimation.cs
│ │ │ ├── SFadeOutAnimation.cs
│ │ │ ├── SShrinkAnimation.cs
│ │ │ ├── SFadeOutShrinkSequence.cs
│ │ │ ├── SFadeAnimation.cs
│ │ │ └── SAnimationSequence.cs
│ │ ├── Modifiers
│ │ │ ├── SInGameModifier.cs
│ │ │ └── SRandomLabelModifier.cs
│ │ ├── SModifier.cs
│ │ ├── Elements
│ │ │ ├── SImage.cs
│ │ │ ├── SRect.cs
│ │ │ ├── SWindowTitleBar.cs
│ │ │ └── SLabel.cs
│ │ └── DFEXT
│ │ │ └── SGUIDFInput.cs
│ ├── Core
│ │ ├── Platform.cs
│ │ ├── Databases.cs
│ │ ├── Player.cs
│ │ ├── Gun.cs
│ │ ├── Time.cs
│ │ ├── Chest.cs
│ │ ├── PlayerBehaviour.cs
│ │ ├── AIActor.cs
│ │ ├── Assets
│ │ │ └── Protocol.cs
│ │ └── GunBehaviour.cs
│ ├── ETGGUI
│ │ ├── Inspector
│ │ │ └── Properties
│ │ │ │ ├── IBasePropertyInspector.cs
│ │ │ │ ├── BoolPropertyInspector.cs
│ │ │ │ ├── StringPropertyInspector.cs
│ │ │ │ ├── FloatPropertyInspector.cs
│ │ │ │ └── VectorPropertyInspector.cs
│ │ ├── Repo
│ │ │ └── RemoteMod.cs
│ │ ├── ConsoleCommand
│ │ │ ├── ConsoleCommandUnit.cs
│ │ │ └── ConsoleCommand.cs
│ │ ├── AutocompletionSettings.cs
│ │ ├── IETGModMenu.cs
│ │ ├── Hierarchy
│ │ │ └── HierarchyComponent.cs
│ │ └── FontConverter.cs
│ ├── MonoMod
│ │ ├── MonoModIgnore.cs
│ │ ├── MonoModAdded.cs
│ │ ├── MonoModRemove.cs
│ │ ├── MonoModBlacklisted.cs
│ │ ├── MonoModEnumReplace.cs
│ │ ├── MonoModOriginal.cs
│ │ ├── MonoModConstructor.cs
│ │ ├── MonoModNoNew.cs
│ │ ├── MonoModReplace.cs
│ │ ├── MonoModOriginalName.cs
│ │ ├── MonoModOnPlatform.cs
│ │ ├── MonoModHook.cs
│ │ ├── MonoModIfFlag.cs
│ │ ├── MonoModLinkTo.cs
│ │ ├── Platform.cs
│ │ ├── MonoModInline.cs
│ │ └── PlatformHelper.cs
│ ├── Patches
│ │ ├── patch_SteamManager.cs
│ │ ├── patch_PlayerConsumables.cs
│ │ ├── patch_GameManager.cs
│ │ ├── patch_Gun.cs
│ │ ├── patch_StringTableManager.cs
│ │ ├── patch_AIActor.cs
│ │ ├── patch_Dungeon.cs
│ │ ├── patch_BossCardUIController.cs
│ │ ├── patch_Chest.cs
│ │ ├── patch_SaveManager.cs
│ │ ├── patch_MainMenuFoyerController.cs
│ │ ├── patch_HealthHaver.cs
│ │ ├── patch_PlayerController.cs
│ │ ├── patch_CharacterSelectController.cs
│ │ └── patch_BraveTime.cs
│ ├── JSON
│ │ ├── Rules
│ │ │ ├── JSONAttachPointDataRule.cs
│ │ │ ├── JSONOverridableBoolRule.cs
│ │ │ ├── JSONScriptableObjectRule.cs
│ │ │ ├── JSONBagelColliderRule.cs
│ │ │ ├── JSONTextAssetRule.cs
│ │ │ ├── JSONMaterialRule.cs
│ │ │ ├── JSONDictionaryEntryRule.cs
│ │ │ ├── JSONValueTypeRule.cs
│ │ │ └── JSONTransformRule.cs
│ │ └── JSONMappedRule.cs
│ ├── Multiplayer
│ │ ├── Steam
│ │ │ ├── SteamHelper.cs
│ │ │ └── LobbyHelper.cs
│ │ ├── MultiplayerGUI.cs
│ │ ├── MultiplayerManager.cs
│ │ └── RPC
│ │ │ └── CustomRPC.cs
│ ├── ETGModMainBehaviour.cs
│ ├── API
│ │ └── Gungeon
│ │ │ ├── Player.cs
│ │ │ └── Gungeon.cs
│ └── Guns
│ │ └── BalloonGunController.cs
├── GlobalSuppressions.cs
└── Properties
│ └── AssemblyInfo.cs
├── libs
├── Ionic.Zip.dll
├── Mono.Cecil.dll
├── Assembly-CSharp.dll
├── MonoMod
│ ├── .gitignore
│ ├── packages.config
│ ├── MonoMod
│ │ ├── DebugSymbolFormat.cs
│ │ └── Modifiers
│ │ │ ├── MonoModAdded.cs
│ │ │ ├── MonoModRemove.cs
│ │ │ ├── MonoModPublic.cs
│ │ │ ├── MonoModEnumReplace.cs
│ │ │ ├── MonoModIgnore.cs
│ │ │ ├── MonoModOriginal.cs
│ │ │ ├── MonoModConstructor.cs
│ │ │ ├── MonoModNoNew.cs
│ │ │ ├── MonoModOriginalName.cs
│ │ │ ├── MonoModOnPlatform.cs
│ │ │ ├── MonoModHook.cs
│ │ │ ├── MonoModPatch.cs
│ │ │ ├── MonoModIfFlag.cs
│ │ │ ├── MonoModReplace.cs
│ │ │ ├── MonoModLinkTo.cs
│ │ │ ├── MonoModTargetModule.cs
│ │ │ ├── Platform.cs
│ │ │ ├── MonoModCustomAttribute.cs
│ │ │ ├── MonoModInline.cs
│ │ │ ├── PlatformHelper.cs
│ │ │ └── TemporaryMMILAccessExample.cs
│ ├── Properties
│ │ ├── AssemblyVersionIdAttribute.cs
│ │ └── AssemblyInfo.cs
│ ├── MonoMod.sln
│ └── LICENSE
├── Newtonsoft.Json.dll
├── UnityEngine.CoreModule.dll
├── zipstorer
│ ├── .gitignore
│ ├── demo
│ │ ├── app.config
│ │ ├── Properties
│ │ │ ├── Settings.settings
│ │ │ ├── Settings.Designer.cs
│ │ │ └── AssemblyInfo.cs
│ │ ├── Program.cs
│ │ ├── ZipStorerTest.sln
│ │ └── ZipStorerDoc.xml
│ ├── netstandard
│ │ └── netstandard.csproj
│ ├── LICENSE.md
│ ├── Zipstorer.nuspec
│ ├── net20
│ │ ├── Properties
│ │ │ └── AssemblyInfo.cs
│ │ └── Zipstorer.csproj
│ └── net45
│ │ ├── Properties
│ │ └── AssemblyInfo.cs
│ │ └── Zipstorer.csproj
├── UnityEngine.IMGUIModule.dll
├── Assembly-CSharp-firstpass.dll
├── UnityEngine.TextRenderingModule.dll
├── UnityEngine.ImageConversionModule.dll
├── Eluant
│ ├── .gitignore
│ ├── Eluant.Tests
│ │ └── packages.config
│ ├── Eluant
│ │ ├── LuaNumberOperators.tt
│ │ ├── AssemblyInfo.cs
│ │ ├── ObjectBinding
│ │ │ ├── MemberSecurityPolicy.cs
│ │ │ ├── IBindingContext.cs
│ │ │ ├── IBindingSecurityPolicy.cs
│ │ │ ├── ILuaBinder.cs
│ │ │ ├── LuaMemberAttribute.cs
│ │ │ ├── MetamethodAttribute.cs
│ │ │ └── BasicBindingSecurityPolicy.cs
│ │ ├── BindingSupport.lua
│ │ ├── LuaNumberOperators.cs
│ │ ├── LuaValueType.cs
│ │ ├── NET40Shim
│ │ │ └── Tuple.cs
│ │ ├── LuaOpaqueClrObject.cs
│ │ ├── LuaCustomClrObject.cs
│ │ ├── Scripts.cs
│ │ ├── LuaLightUserdata.cs
│ │ ├── LuaGlobalsTable.cs
│ │ ├── LuaThread.cs
│ │ └── LuaUserdata.cs
│ └── LICENSE.md
├── Logger
│ ├── README.md
│ ├── Properties
│ │ └── AssemblyInfo.cs
│ └── Logger.csproj
└── README.md
├── .gitmodules
├── CONTRIBUTING.md
├── UnityEngine.Base.mm
├── src
│ ├── MonoMod
│ │ ├── MonoModIgnore.cs
│ │ ├── MonoModOriginal.cs
│ │ ├── MonoModConstructor.cs
│ │ ├── MonoModOriginalName.cs
│ │ └── MonoModLinkTo.cs
│ ├── patch_TextAsset.cs
│ ├── patch_GameObject.cs
│ ├── ETGModInstallerRenames.cs
│ ├── ETGModUnityEngineHooks.cs
│ └── patch_ClassLibraryInitializer.cs
└── Properties
│ └── AssemblyInfo.cs
├── MonoDebugDummy
├── Program.cs
├── Properties
│ └── AssemblyInfo.cs
└── MonoDebugDummy.csproj
├── README.md
└── STYLE.md
/Assembly-CSharp.Base.mm/Content/gungeon_id_map/items/txt:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/libs/Ionic.Zip.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ModTheGungeon/ETGMod/HEAD/libs/Ionic.Zip.dll
--------------------------------------------------------------------------------
/libs/Mono.Cecil.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ModTheGungeon/ETGMod/HEAD/libs/Mono.Cecil.dll
--------------------------------------------------------------------------------
/libs/Assembly-CSharp.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ModTheGungeon/ETGMod/HEAD/libs/Assembly-CSharp.dll
--------------------------------------------------------------------------------
/libs/MonoMod/.gitignore:
--------------------------------------------------------------------------------
1 | bin/
2 | obj/
3 | *.userprefs
4 | *.user
5 | .vscode/.browse.VC.db*
6 | .vs/
7 |
--------------------------------------------------------------------------------
/libs/Newtonsoft.Json.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ModTheGungeon/ETGMod/HEAD/libs/Newtonsoft.Json.dll
--------------------------------------------------------------------------------
/libs/UnityEngine.CoreModule.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ModTheGungeon/ETGMod/HEAD/libs/UnityEngine.CoreModule.dll
--------------------------------------------------------------------------------
/libs/zipstorer/.gitignore:
--------------------------------------------------------------------------------
1 | .DS_Store
2 | .suo
3 | **/bin
4 | **/obj
5 | test/.vs/*
6 | netstandard/obj
7 | **/*.nupkg
--------------------------------------------------------------------------------
/.gitmodules:
--------------------------------------------------------------------------------
1 | [submodule "libs/YamlDotNet"]
2 | path = libs/YamlDotNet
3 | url = https://github.com/aaubry/YamlDotNet
4 |
--------------------------------------------------------------------------------
/libs/UnityEngine.IMGUIModule.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ModTheGungeon/ETGMod/HEAD/libs/UnityEngine.IMGUIModule.dll
--------------------------------------------------------------------------------
/libs/Assembly-CSharp-firstpass.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ModTheGungeon/ETGMod/HEAD/libs/Assembly-CSharp-firstpass.dll
--------------------------------------------------------------------------------
/libs/UnityEngine.TextRenderingModule.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ModTheGungeon/ETGMod/HEAD/libs/UnityEngine.TextRenderingModule.dll
--------------------------------------------------------------------------------
/libs/UnityEngine.ImageConversionModule.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ModTheGungeon/ETGMod/HEAD/libs/UnityEngine.ImageConversionModule.dll
--------------------------------------------------------------------------------
/Assembly-CSharp.Base.mm/Content/etgmod/logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ModTheGungeon/ETGMod/HEAD/Assembly-CSharp.Base.mm/Content/etgmod/logo.png
--------------------------------------------------------------------------------
/Assembly-CSharp.Base.mm/Content/test/texture.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ModTheGungeon/ETGMod/HEAD/Assembly-CSharp.Base.mm/Content/test/texture.png
--------------------------------------------------------------------------------
/libs/Eluant/.gitignore:
--------------------------------------------------------------------------------
1 | bin
2 | obj
3 | *.userprefs
4 | *.usertasks
5 | *.suo
6 | *.swp
7 | test-results
8 | /packages
9 | /TestResult.xml
10 |
--------------------------------------------------------------------------------
/Assembly-CSharp.Base.mm/Content/etgmod/gui/icon_api.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ModTheGungeon/ETGMod/HEAD/Assembly-CSharp.Base.mm/Content/etgmod/gui/icon_api.png
--------------------------------------------------------------------------------
/Assembly-CSharp.Base.mm/Content/etgmod/gui/icon_dir.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ModTheGungeon/ETGMod/HEAD/Assembly-CSharp.Base.mm/Content/etgmod/gui/icon_dir.png
--------------------------------------------------------------------------------
/Assembly-CSharp.Base.mm/Content/etgmod/gui/icon_mod.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ModTheGungeon/ETGMod/HEAD/Assembly-CSharp.Base.mm/Content/etgmod/gui/icon_mod.png
--------------------------------------------------------------------------------
/Assembly-CSharp.Base.mm/Content/etgmod/gui/icon_zip.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ModTheGungeon/ETGMod/HEAD/Assembly-CSharp.Base.mm/Content/etgmod/gui/icon_zip.png
--------------------------------------------------------------------------------
/libs/Eluant/Eluant.Tests/packages.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/libs/MonoMod/packages.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/libs/zipstorer/demo/app.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/CONTRIBUTING.md:
--------------------------------------------------------------------------------
1 | # For code contributions, make sure you follow the [code style guide](STYLE.md).
2 |
3 | # Please squash pull requests into single commits.
4 |
5 | This document is not final.
6 |
--------------------------------------------------------------------------------
/libs/Logger/README.md:
--------------------------------------------------------------------------------
1 | # ETGMod.Logger
2 |
3 | A very simple Logger class. Originally made for ETGMod, but apart from the namespace and the organization it's under it has nothing to do with it.
4 |
--------------------------------------------------------------------------------
/Assembly-CSharp.Base.mm/Content/sprites/Foyer_Collection/top_floor_001.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ModTheGungeon/ETGMod/HEAD/Assembly-CSharp.Base.mm/Content/sprites/Foyer_Collection/top_floor_001.png
--------------------------------------------------------------------------------
/Assembly-CSharp.Base.mm/Content/sprites/WeaponCollection/gshbd_fire_001.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ModTheGungeon/ETGMod/HEAD/Assembly-CSharp.Base.mm/Content/sprites/WeaponCollection/gshbd_fire_001.png
--------------------------------------------------------------------------------
/Assembly-CSharp.Base.mm/Content/sprites/WeaponCollection/gshbd_fire_002.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ModTheGungeon/ETGMod/HEAD/Assembly-CSharp.Base.mm/Content/sprites/WeaponCollection/gshbd_fire_002.png
--------------------------------------------------------------------------------
/Assembly-CSharp.Base.mm/Content/sprites/WeaponCollection/gshbd_fire_003.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ModTheGungeon/ETGMod/HEAD/Assembly-CSharp.Base.mm/Content/sprites/WeaponCollection/gshbd_fire_003.png
--------------------------------------------------------------------------------
/Assembly-CSharp.Base.mm/Content/sprites/WeaponCollection/gshbd_fire_004.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ModTheGungeon/ETGMod/HEAD/Assembly-CSharp.Base.mm/Content/sprites/WeaponCollection/gshbd_fire_004.png
--------------------------------------------------------------------------------
/Assembly-CSharp.Base.mm/Content/sprites/WeaponCollection/gshbd_idle_001.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ModTheGungeon/ETGMod/HEAD/Assembly-CSharp.Base.mm/Content/sprites/WeaponCollection/gshbd_idle_001.png
--------------------------------------------------------------------------------
/Assembly-CSharp.Base.mm/Content/sprites/WeaponCollection/gshbd_idle_002.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ModTheGungeon/ETGMod/HEAD/Assembly-CSharp.Base.mm/Content/sprites/WeaponCollection/gshbd_idle_002.png
--------------------------------------------------------------------------------
/Assembly-CSharp.Base.mm/Content/sprites/WeaponCollection/gshbd_idle_003.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ModTheGungeon/ETGMod/HEAD/Assembly-CSharp.Base.mm/Content/sprites/WeaponCollection/gshbd_idle_003.png
--------------------------------------------------------------------------------
/Assembly-CSharp.Base.mm/Content/sprites/WeaponCollection/gshbd_idle_004.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ModTheGungeon/ETGMod/HEAD/Assembly-CSharp.Base.mm/Content/sprites/WeaponCollection/gshbd_idle_004.png
--------------------------------------------------------------------------------
/Assembly-CSharp.Base.mm/Content/sprites/WeaponCollection/gshbd_intro_001.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ModTheGungeon/ETGMod/HEAD/Assembly-CSharp.Base.mm/Content/sprites/WeaponCollection/gshbd_intro_001.png
--------------------------------------------------------------------------------
/Assembly-CSharp.Base.mm/Content/sprites/WeaponCollection/gshbd_intro_002.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ModTheGungeon/ETGMod/HEAD/Assembly-CSharp.Base.mm/Content/sprites/WeaponCollection/gshbd_intro_002.png
--------------------------------------------------------------------------------
/Assembly-CSharp.Base.mm/Content/sprites/WeaponCollection/gshbd_intro_003.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ModTheGungeon/ETGMod/HEAD/Assembly-CSharp.Base.mm/Content/sprites/WeaponCollection/gshbd_intro_003.png
--------------------------------------------------------------------------------
/Assembly-CSharp.Base.mm/src/SGUI/EMouseStatus.cs:
--------------------------------------------------------------------------------
1 | namespace SGUI {
2 | public enum EMouseStatus {
3 | Outside,
4 | Inside,
5 | Up,
6 | Down,
7 | Drag
8 | }
9 | }
10 |
--------------------------------------------------------------------------------
/Assembly-CSharp.Base.mm/Content/sprites/IntroSequenceCollection_01/logo_roguego_014.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ModTheGungeon/ETGMod/HEAD/Assembly-CSharp.Base.mm/Content/sprites/IntroSequenceCollection_01/logo_roguego_014.png
--------------------------------------------------------------------------------
/Assembly-CSharp.Base.mm/Content/sprites/IntroSequenceCollection_01/logo_roguego_015.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ModTheGungeon/ETGMod/HEAD/Assembly-CSharp.Base.mm/Content/sprites/IntroSequenceCollection_01/logo_roguego_015.png
--------------------------------------------------------------------------------
/Assembly-CSharp.Base.mm/Content/sprites/IntroSequenceCollection_01/logo_roguego_016.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ModTheGungeon/ETGMod/HEAD/Assembly-CSharp.Base.mm/Content/sprites/IntroSequenceCollection_01/logo_roguego_016.png
--------------------------------------------------------------------------------
/Assembly-CSharp.Base.mm/Content/sprites/IntroSequenceCollection_01/logo_roguego_017.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ModTheGungeon/ETGMod/HEAD/Assembly-CSharp.Base.mm/Content/sprites/IntroSequenceCollection_01/logo_roguego_017.png
--------------------------------------------------------------------------------
/Assembly-CSharp.Base.mm/Content/sprites/IntroSequenceCollection_01/logo_roguego_018.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ModTheGungeon/ETGMod/HEAD/Assembly-CSharp.Base.mm/Content/sprites/IntroSequenceCollection_01/logo_roguego_018.png
--------------------------------------------------------------------------------
/Assembly-CSharp.Base.mm/Content/sprites/IntroSequenceCollection_01/logo_roguego_019.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ModTheGungeon/ETGMod/HEAD/Assembly-CSharp.Base.mm/Content/sprites/IntroSequenceCollection_01/logo_roguego_019.png
--------------------------------------------------------------------------------
/Assembly-CSharp.Base.mm/Content/sprites/IntroSequenceCollection_01/logo_roguego_020.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ModTheGungeon/ETGMod/HEAD/Assembly-CSharp.Base.mm/Content/sprites/IntroSequenceCollection_01/logo_roguego_020.png
--------------------------------------------------------------------------------
/Assembly-CSharp.Base.mm/Content/sprites/IntroSequenceCollection_01/logo_logo_pound_006.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ModTheGungeon/ETGMod/HEAD/Assembly-CSharp.Base.mm/Content/sprites/IntroSequenceCollection_01/logo_logo_pound_006.png
--------------------------------------------------------------------------------
/Assembly-CSharp.Base.mm/Content/sprites/IntroSequenceCollection_01/logo_logo_pound_007.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ModTheGungeon/ETGMod/HEAD/Assembly-CSharp.Base.mm/Content/sprites/IntroSequenceCollection_01/logo_logo_pound_007.png
--------------------------------------------------------------------------------
/Assembly-CSharp.Base.mm/Content/sprites/IntroSequenceCollection_01/logo_logo_pound_008.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ModTheGungeon/ETGMod/HEAD/Assembly-CSharp.Base.mm/Content/sprites/IntroSequenceCollection_01/logo_logo_pound_008.png
--------------------------------------------------------------------------------
/Assembly-CSharp.Base.mm/Content/sprites/IntroSequenceCollection_01/logo_logo_pound_009.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ModTheGungeon/ETGMod/HEAD/Assembly-CSharp.Base.mm/Content/sprites/IntroSequenceCollection_01/logo_logo_pound_009.png
--------------------------------------------------------------------------------
/Assembly-CSharp.Base.mm/Content/sprites/IntroSequenceCollection_01/logo_logo_pound_010.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ModTheGungeon/ETGMod/HEAD/Assembly-CSharp.Base.mm/Content/sprites/IntroSequenceCollection_01/logo_logo_pound_010.png
--------------------------------------------------------------------------------
/Assembly-CSharp.Base.mm/Content/sprites/IntroSequenceCollection_01/logo_logo_pound_011.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ModTheGungeon/ETGMod/HEAD/Assembly-CSharp.Base.mm/Content/sprites/IntroSequenceCollection_01/logo_logo_pound_011.png
--------------------------------------------------------------------------------
/Assembly-CSharp.Base.mm/Content/sprites/IntroSequenceCollection_01/logo_logo_pound_012.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ModTheGungeon/ETGMod/HEAD/Assembly-CSharp.Base.mm/Content/sprites/IntroSequenceCollection_01/logo_logo_pound_012.png
--------------------------------------------------------------------------------
/Assembly-CSharp.Base.mm/src/Core/Platform.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | public static partial class ETGMod {
4 | // Platform-specifics
5 | public static class Platform {
6 | public static bool DisableSteam = false;
7 | }
8 | }
--------------------------------------------------------------------------------
/Assembly-CSharp.Base.mm/Content/sprites/Ammonomicon Encounter Icon Collection/gshbd_fire_002.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ModTheGungeon/ETGMod/HEAD/Assembly-CSharp.Base.mm/Content/sprites/Ammonomicon Encounter Icon Collection/gshbd_fire_002.png
--------------------------------------------------------------------------------
/Assembly-CSharp.Base.mm/src/ETGGUI/Inspector/Properties/IBasePropertyInspector.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 |
3 | namespace ETGGUI.Inspector {
4 | public interface IBasePropertyInspector {
5 |
6 | object OnGUI(PropertyInfo info, object input);
7 |
8 | }
9 | }
10 |
--------------------------------------------------------------------------------
/libs/MonoMod/MonoMod/DebugSymbolFormat.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.IO;
4 | using System.Linq;
5 | using System.Text;
6 |
7 | namespace MonoMod {
8 | public enum DebugSymbolFormat {
9 | Auto,
10 | MDB,
11 | PDB
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/libs/zipstorer/demo/Properties/Settings.settings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/Assembly-CSharp.Base.mm/src/ETGGUI/Repo/RemoteMod.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | public class RemoteMod {
4 |
5 | public string Name;
6 | public string Author;
7 | public string Version;
8 | public string Description;
9 |
10 | public string URL;
11 | public string DownloadURL;
12 |
13 | }
14 |
--------------------------------------------------------------------------------
/UnityEngine.Base.mm/src/MonoMod/MonoModIgnore.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace MonoMod {
4 | ///
5 | /// MonoMod ignore attribute.
6 | /// Apply it onto a method / type and it will be ignored by MonoMod.
7 | ///
8 | class MonoModIgnore : Attribute {
9 | }
10 | }
11 |
12 |
--------------------------------------------------------------------------------
/libs/MonoMod/Properties/AssemblyVersionIdAttribute.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 | using System.Runtime.CompilerServices;
3 |
4 | class AssemblyVersionIdAttribute : System.Attribute
5 | {
6 |
7 | public int Id;
8 |
9 | public AssemblyVersionIdAttribute(int id) {
10 | this.Id = id;
11 | }
12 |
13 | }
14 |
--------------------------------------------------------------------------------
/Assembly-CSharp.Base.mm/src/MonoMod/MonoModIgnore.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace MonoMod {
4 | ///
5 | /// MonoMod ignore attribute.
6 | /// Apply it onto a method / type and it will be ignored by MonoMod.
7 | ///
8 | public class MonoModIgnore : Attribute {
9 | }
10 | }
11 |
12 |
--------------------------------------------------------------------------------
/libs/MonoMod/MonoMod/Modifiers/MonoModAdded.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace MonoMod {
4 | ///
5 | /// MonoMod "added" attribute.
6 | /// Will be applied by MonoMod automatically on patched types / members.
7 | ///
8 | public class MonoModAdded : Attribute {
9 | }
10 | }
11 |
12 |
--------------------------------------------------------------------------------
/Assembly-CSharp.Base.mm/src/MonoMod/MonoModAdded.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace MonoMod {
4 | ///
5 | /// MonoMod "added" attribute.
6 | /// Will be applied by MonoMod automatically on patched types / members.
7 | ///
8 | public class MonoModAdded : Attribute {
9 | }
10 | }
11 |
12 |
--------------------------------------------------------------------------------
/libs/MonoMod/MonoMod/Modifiers/MonoModRemove.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace MonoMod {
4 | ///
5 | /// MonoMod remove attribute.
6 | /// Apply it onto a field / method / type and it will be removed by MonoMod.
7 | ///
8 | public class MonoModRemove : Attribute {
9 | }
10 | }
11 |
12 |
--------------------------------------------------------------------------------
/Assembly-CSharp.Base.mm/src/MonoMod/MonoModRemove.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace MonoMod {
4 | ///
5 | /// MonoMod remove attribute.
6 | /// Apply it onto a field / method / type and it will be removed by MonoMod.
7 | ///
8 | public class MonoModRemove : Attribute {
9 | }
10 | }
11 |
12 |
--------------------------------------------------------------------------------
/libs/MonoMod/MonoMod/Modifiers/MonoModPublic.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace MonoMod {
4 | ///
5 | /// MonoMod ignore attribute.
6 | /// Apply it onto a method / field / property / type and it will be made public by MonoMod.
7 | ///
8 | public class MonoModPublic : Attribute {
9 | }
10 | }
11 |
12 |
--------------------------------------------------------------------------------
/Assembly-CSharp.Base.mm/src/MonoMod/MonoModBlacklisted.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace MonoMod {
4 | ///
5 | /// MonoMod blacklist attribute.
6 | /// Apply it onto a method / type and it will be marked as blacklisted by MonoMod.
7 | ///
8 | public class MonoModBlacklisted : Attribute {
9 | }
10 | }
11 |
12 |
--------------------------------------------------------------------------------
/libs/MonoMod/MonoMod/Modifiers/MonoModEnumReplace.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace MonoMod {
4 | ///
5 | /// MonoMod enum replace attribute.
6 | /// Apply it onto a enum type / class and its values will be replaced by MonoMod.
7 | ///
8 | public class MonoModEnumReplace : Attribute {
9 | }
10 | }
11 |
12 |
--------------------------------------------------------------------------------
/Assembly-CSharp.Base.mm/src/MonoMod/MonoModEnumReplace.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace MonoMod {
4 | ///
5 | /// MonoMod enum replace attribute.
6 | /// Apply it onto a enum type / class and its values will be replaced by MonoMod.
7 | ///
8 | public class MonoModEnumReplace : Attribute {
9 | }
10 | }
11 |
12 |
--------------------------------------------------------------------------------
/libs/MonoMod/MonoMod/Modifiers/MonoModIgnore.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace MonoMod {
4 | ///
5 | /// MonoMod ignore attribute.
6 | /// Apply it onto a method / type and it (except its MonoMod custom attributes) will be ignored by MonoMod.
7 | ///
8 | public class MonoModIgnore : Attribute {
9 | }
10 | }
11 |
12 |
--------------------------------------------------------------------------------
/UnityEngine.Base.mm/src/MonoMod/MonoModOriginal.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace MonoMod {
4 | ///
5 | /// MonoMod original name.
6 | /// Will be applied by MonoMod automatically on original methods. Use it (or MonoModIgnore) to mark non-"orig_" originals!
7 | ///
8 | public class MonoModOriginal : Attribute {
9 | }
10 | }
11 |
12 |
--------------------------------------------------------------------------------
/libs/MonoMod/MonoMod/Modifiers/MonoModOriginal.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace MonoMod {
4 | ///
5 | /// MonoMod original name.
6 | /// Will be applied by MonoMod automatically on original methods. Use it (or MonoModIgnore) to mark non-"orig_" originals!
7 | ///
8 | public class MonoModOriginal : Attribute {
9 | }
10 | }
11 |
12 |
--------------------------------------------------------------------------------
/Assembly-CSharp.Base.mm/src/MonoMod/MonoModOriginal.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace MonoMod {
4 | ///
5 | /// MonoMod original name.
6 | /// Will be applied by MonoMod automatically on original methods. Use it (or MonoModIgnore) to mark non-"orig_" originals!
7 | ///
8 | public class MonoModOriginal : Attribute {
9 | }
10 | }
11 |
12 |
--------------------------------------------------------------------------------
/libs/README.md:
--------------------------------------------------------------------------------
1 | The versions here are versions stripped with the FmbLibStripper tool.
2 |
3 | # DON'T PUSH THE ORIGINAL VERSION OF THE STRIPPED LIBS!
4 |
5 | Feel free to replace the .dlls **locally** though.
6 |
7 | Files that are not stripped as their full functionality is required:
8 |
9 | * Ionic.Zip.dll
10 | * Mono.Cecil.dll
11 | * PEG.dll (npeg)
12 | * Newtonsoft.Json.dll
13 |
--------------------------------------------------------------------------------
/Assembly-CSharp.Base.mm/src/Patches/patch_SteamManager.cs:
--------------------------------------------------------------------------------
1 | #pragma warning disable 0626
2 | #pragma warning disable 0649
3 |
4 | internal class patch_SteamManager : SteamManager {
5 | protected extern void orig_Awake();
6 | private void Awake() {
7 | if (ETGMod.Platform.DisableSteam) {
8 | return;
9 | }
10 |
11 | orig_Awake();
12 | }
13 | }
--------------------------------------------------------------------------------
/Assembly-CSharp.Base.mm/src/Patches/patch_PlayerConsumables.cs:
--------------------------------------------------------------------------------
1 | #pragma warning disable 0626
2 | #pragma warning disable 0649
3 |
4 | internal class patch_PlayerConsumables : PlayerConsumables {
5 |
6 | public extern bool orig_get_InfiniteKeys();
7 | public bool get_InfiniteKeys() {
8 | return ETGMod.Player.InfiniteKeys ?? orig_get_InfiniteKeys();
9 | }
10 |
11 | }
12 |
--------------------------------------------------------------------------------
/UnityEngine.Base.mm/src/patch_TextAsset.cs:
--------------------------------------------------------------------------------
1 | #pragma warning disable 0626
2 | #pragma warning disable 0649
3 |
4 | namespace UnityEngine {
5 | // must be public as it's accessed from outside
6 | public class patch_TextAsset : TextAsset {
7 |
8 | // TODO hook get_text, get_bytes
9 |
10 | public string textOverride {
11 | get; set;
12 | }
13 |
14 | }
15 | }
16 |
--------------------------------------------------------------------------------
/UnityEngine.Base.mm/src/MonoMod/MonoModConstructor.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace MonoMod {
4 | ///
5 | /// MonoMod constructor attribute.
6 | /// Apply it onto a constructor and it will be patched by MonoMod.
7 | /// Or apply it onto a method and it will be handled like a constructor.
8 | ///
9 | public class MonoModConstructor : Attribute {
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/libs/MonoMod/MonoMod/Modifiers/MonoModConstructor.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace MonoMod {
4 | ///
5 | /// MonoMod constructor attribute.
6 | /// Apply it onto a constructor and it will be patched by MonoMod.
7 | /// Or apply it onto a method and it will be handled like a constructor.
8 | ///
9 | public class MonoModConstructor : Attribute {
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/Assembly-CSharp.Base.mm/src/MonoMod/MonoModConstructor.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace MonoMod {
4 | ///
5 | /// MonoMod constructor attribute.
6 | /// Apply it onto a constructor and it will be patched by MonoMod.
7 | /// Or apply it onto a method and it will be handled like a constructor.
8 | ///
9 | public class MonoModConstructor : Attribute {
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/libs/MonoMod/MonoMod/Modifiers/MonoModNoNew.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace MonoMod {
4 | ///
5 | /// MonoMod "only patch if it exists" attribute.
6 | /// Apply it onto a type or method and it gets ignored if there's no original method in the input module.
7 | ///
8 | public class MonoModNoNew : Attribute {
9 | public MonoModNoNew() {
10 | }
11 | }
12 | }
13 |
14 |
--------------------------------------------------------------------------------
/Assembly-CSharp.Base.mm/src/MonoMod/MonoModNoNew.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace MonoMod {
4 | ///
5 | /// MonoMod "only patch if it exists" attribute.
6 | /// Apply it onto a type or method and it gets ignored if there's no original method in the input module.
7 | ///
8 | public class MonoModNoNew : Attribute {
9 | public MonoModNoNew() {
10 | }
11 | }
12 | }
13 |
14 |
--------------------------------------------------------------------------------
/Assembly-CSharp.Base.mm/src/MonoMod/MonoModReplace.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace MonoMod {
4 | ///
5 | /// MonoMod replace attribute.
6 | /// Apply it onto a method and no orig_ method will be generated by MonoMod.
7 | /// Apply it onto a field and its attributes / field type will be replaced by MonoMod.
8 | ///
9 | public class MonoModReplace : Attribute {
10 | }
11 | }
12 |
13 |
--------------------------------------------------------------------------------
/UnityEngine.Base.mm/src/MonoMod/MonoModOriginalName.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace MonoMod {
4 | ///
5 | /// MonoMod original name attribute.
6 | /// Apply it onto a method (not the orig_) and its orig_ method will instead be named like that.
7 | ///
8 | class MonoModOriginalName : Attribute {
9 | public MonoModOriginalName(string n) {
10 | }
11 | }
12 | }
13 |
14 |
--------------------------------------------------------------------------------
/Assembly-CSharp.Base.mm/src/ETGGUI/ConsoleCommand/ConsoleCommandUnit.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | public class ConsoleCommandUnit {
4 | public string Name;
5 |
6 | public Action CommandReference;
7 |
8 | public void RunCommand(string[] args) {
9 | CommandReference(args);
10 | }
11 |
12 | public AutocompletionSettings Autocompletion;
13 |
14 | public ConsoleCommandUnit () {
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/libs/MonoMod/MonoMod/Modifiers/MonoModOriginalName.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace MonoMod {
4 | ///
5 | /// MonoMod original name attribute.
6 | /// Apply it onto a method (not the orig_) and its orig_ method will instead be named like that.
7 | ///
8 | public class MonoModOriginalName : Attribute {
9 | public MonoModOriginalName(string n) {
10 | }
11 | }
12 | }
13 |
14 |
--------------------------------------------------------------------------------
/Assembly-CSharp.Base.mm/src/MonoMod/MonoModOriginalName.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace MonoMod {
4 | ///
5 | /// MonoMod original name attribute.
6 | /// Apply it onto a method (not the orig_) and its orig_ method will instead be named like that.
7 | ///
8 | public class MonoModOriginalName : Attribute {
9 | public MonoModOriginalName(string n) {
10 | }
11 | }
12 | }
13 |
14 |
--------------------------------------------------------------------------------
/libs/MonoMod/MonoMod/Modifiers/MonoModOnPlatform.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace MonoMod {
4 | ///
5 | /// MonoMod on platform ("#ifdef PLATFORM") attribute.
6 | /// Apply it onto a type / method / field and it gets ignored on non-matching platforms.
7 | ///
8 | public class MonoModOnPlatform : Attribute {
9 | public MonoModOnPlatform(params Platform[] p) {
10 | }
11 | }
12 | }
13 |
14 |
--------------------------------------------------------------------------------
/Assembly-CSharp.Base.mm/src/MonoMod/MonoModOnPlatform.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace MonoMod {
4 | ///
5 | /// MonoMod on platform ("#ifdef PLATFORM") attribute.
6 | /// Apply it onto a type / method / field and it gets ignored on non-matching platforms.
7 | ///
8 | public class MonoModOnPlatform : Attribute {
9 | public MonoModOnPlatform(params Platform[] p) {
10 | }
11 | }
12 | }
13 |
14 |
--------------------------------------------------------------------------------
/Assembly-CSharp.Base.mm/src/Core/Databases.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using UnityEngine;
3 | using System.Collections.Generic;
4 |
5 | public static partial class ETGMod {
6 |
7 | ///
8 | /// ETGMod database configuration.
9 | ///
10 | public static class Databases {
11 | public readonly static ItemDB Items = new ItemDB();
12 | public readonly static StringDB Strings = new StringDB();
13 | }
14 |
15 | }
16 |
--------------------------------------------------------------------------------
/Assembly-CSharp.Base.mm/src/Core/Player.cs:
--------------------------------------------------------------------------------
1 | using UnityEngine;
2 |
3 | public static partial class ETGMod {
4 |
5 | ///
6 | /// ETGMod player configuration.
7 | ///
8 | public static class Player {
9 | public static bool? InfiniteKeys;
10 | public static string QuickstartReplacement;
11 | public static string PlayerReplacement;
12 | public static string CoopReplacement;
13 | }
14 |
15 | }
16 |
--------------------------------------------------------------------------------
/Assembly-CSharp.Base.mm/src/Core/Gun.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | public static partial class ETGMod {
4 |
5 | ///
6 | /// ETGMod Gun configuration.
7 | ///
8 | public static class Gun {
9 | public static Action OnPostFired;
10 | public static Action OnFinishAttack;
11 | public static Action OnInit;
12 | }
13 |
14 | }
--------------------------------------------------------------------------------
/Assembly-CSharp.Base.mm/src/Core/Time.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using UnityEngine;
3 |
4 | public static partial class ETGMod {
5 |
6 | ///
7 | /// ETGMod Time configuration.
8 | ///
9 | public static class Time {
10 |
11 | public static void SetTimeScaleModifierIsPost(bool isPost, GameObject source) {
12 | patch_BraveTime.SetTimeScaleModifierIsPost(isPost, source);
13 | }
14 |
15 | }
16 |
17 | }
18 |
--------------------------------------------------------------------------------
/libs/MonoMod/MonoMod/Modifiers/MonoModHook.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace MonoMod {
4 | ///
5 | /// MonoMod hook attribute.
6 | /// Apply it onto a type / method / field and calls to the item it hooks will be relinked to the item the attribute gets applied to.
7 | ///
8 | public class MonoModHook : Attribute {
9 | public MonoModHook(string f) {
10 | }
11 | public MonoModHook(Type f) {
12 | }
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/Assembly-CSharp.Base.mm/src/MonoMod/MonoModHook.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace MonoMod {
4 | ///
5 | /// MonoMod hook attribute.
6 | /// Apply it onto a type / method / field and calls to the item it hooks will be relinked to the item the attribute gets applied to.
7 | ///
8 | public class MonoModHook : Attribute {
9 | public MonoModHook(string f) {
10 | }
11 | public MonoModHook(Type f) {
12 | }
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/libs/MonoMod/MonoMod/Modifiers/MonoModPatch.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace MonoMod {
4 | ///
5 | /// MonoMod patch attribute.
6 | /// Apply it onto a type and it will behave as if the type was prefixed with patch_.
7 | /// This allows for custom compile-time names while MonoMod uses the supplied name for any relinking.
8 | ///
9 | public class MonoModPatch : Attribute {
10 | public MonoModPatch(string name) { }
11 | }
12 | }
13 |
14 |
--------------------------------------------------------------------------------
/Assembly-CSharp.Base.mm/src/JSON/Rules/JSONAttachPointDataRule.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using UnityEngine;
3 | using System.Collections.Generic;
4 | using System.IO;
5 | using System.Reflection;
6 | using Newtonsoft.Json;
7 | using Newtonsoft.Json.Linq;
8 | using System.Collections;
9 |
10 | public class JSONAttachPointDataRule : JSONRule {
11 |
12 | public override object New(JsonHelperReader json, Type type) {
13 | return new AttachPointData(null);
14 | }
15 |
16 | }
17 |
--------------------------------------------------------------------------------
/Assembly-CSharp.Base.mm/src/JSON/Rules/JSONOverridableBoolRule.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using UnityEngine;
3 | using System.Collections.Generic;
4 | using System.IO;
5 | using System.Reflection;
6 | using Newtonsoft.Json;
7 | using Newtonsoft.Json.Linq;
8 | using System.Collections;
9 |
10 | public class JSONOverridableBoolRule : JSONRule {
11 |
12 | public override object New(JsonHelperReader json, Type type) {
13 | return new OverridableBool(false);
14 | }
15 |
16 | }
17 |
--------------------------------------------------------------------------------
/Assembly-CSharp.Base.mm/src/Patches/patch_GameManager.cs:
--------------------------------------------------------------------------------
1 | #pragma warning disable 0626
2 | #pragma warning disable 0649
3 |
4 | using UnityEngine;
5 |
6 | internal class patch_GameManager : GameManager {
7 | protected extern void orig_Awake();
8 | private void Awake() {
9 | if (ETGModMainBehaviour.Instance == null) {
10 | ETGModMainBehaviour.Instance = new GameObject("ETGMod Manager").AddComponent();
11 | }
12 |
13 | orig_Awake();
14 | }
15 | }
16 |
--------------------------------------------------------------------------------
/Assembly-CSharp.Base.mm/src/JSON/Rules/JSONScriptableObjectRule.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using UnityEngine;
3 | using System.Collections.Generic;
4 | using System.IO;
5 | using System.Reflection;
6 | using Newtonsoft.Json;
7 | using Newtonsoft.Json.Linq;
8 | using System.Collections;
9 |
10 | public class JSONScriptableObjectRule : JSONRule {
11 |
12 | public override object New(JsonHelperReader json, Type type) {
13 | return ScriptableObject.CreateInstance(type);
14 | }
15 |
16 | }
17 |
--------------------------------------------------------------------------------
/Assembly-CSharp.Base.mm/src/Core/Chest.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | public static partial class ETGMod {
4 |
5 | ///
6 | /// ETGMod Chest configuration.
7 | ///
8 | public static class Chest {
9 | public static Action OnPostSpawn;
10 | public delegate bool DOnPreOpen(bool shouldOpen, global::Chest chest, PlayerController player);
11 | public static DOnPreOpen OnPreOpen;
12 | public static Action OnPostOpen;
13 | }
14 |
15 | }
16 |
--------------------------------------------------------------------------------
/Assembly-CSharp.Base.mm/src/SGUI/Animations/SFadeInAnimation.cs:
--------------------------------------------------------------------------------
1 | using System.Diagnostics;
2 | using UnityEngine;
3 |
4 | namespace SGUI {
5 | public class SFadeInAnimation : SFadeAnimation {
6 |
7 | public SFadeInAnimation()
8 | : this(0.3f) {
9 | }
10 |
11 | public SFadeInAnimation(float duration)
12 | : base(duration) {
13 | }
14 |
15 | public override Color Animate(float t, Color c) {
16 | return c.WithAlpha(t * c.a);
17 | }
18 |
19 | }
20 | }
21 |
--------------------------------------------------------------------------------
/Assembly-CSharp.Base.mm/src/SGUI/Animations/SFadeOutAnimation.cs:
--------------------------------------------------------------------------------
1 | using System.Diagnostics;
2 | using UnityEngine;
3 |
4 | namespace SGUI {
5 | public class SFadeOutAnimation : SFadeAnimation {
6 |
7 | public SFadeOutAnimation()
8 | : this(0.3f) {
9 | }
10 |
11 | public SFadeOutAnimation(float duration)
12 | : base(duration) {
13 | }
14 |
15 | public override Color Animate(float t, Color c) {
16 | return c.WithAlpha((1f - t) * c.a);
17 | }
18 |
19 | }
20 | }
21 |
--------------------------------------------------------------------------------
/MonoDebugDummy/Program.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace MonoDebugDummy {
4 | class MainClass {
5 | public static void Main(string[] args) {
6 | Console.WriteLine("You shouldn't see this.");
7 | }
8 | }
9 | }
10 |
11 | /*
12 |
13 | MonoDebug instructions:
14 |
15 | * Set environment variable MONODEVELOP_SDB_TEST=1
16 | * Hit run button in MonoDevelop
17 | * Set path to Gungeon executable path
18 | * Set arguments to --debugger-client --no-steam
19 | * Set IP to 127.0.0.1
20 | * Set port to 10000
21 | * Hit Listen
22 |
23 | */
24 |
--------------------------------------------------------------------------------
/Assembly-CSharp.Base.mm/src/Core/PlayerBehaviour.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using UnityEngine;
3 | public class PlayerBehaviour : MonoBehaviour {
4 | protected PlayerController controller;
5 | public void Awake() {
6 | controller = gameObject.GetComponent();
7 | if (controller == null) {
8 | Debug.Log("Couldn't find the PlayerController component... this is gonna end badly.");
9 | return;
10 | }
11 | }
12 | public virtual void PreInitialize() {}
13 | public virtual void Initialize() {}
14 | }
15 |
--------------------------------------------------------------------------------
/Assembly-CSharp.Base.mm/src/Patches/patch_Gun.cs:
--------------------------------------------------------------------------------
1 | #pragma warning disable 0626
2 | #pragma warning disable 0649
3 |
4 | internal class patch_Gun : Gun {
5 |
6 | public extern void orig_Initialize(GameActor owner);
7 | public new void Initialize(GameActor owner) {
8 | orig_Initialize(owner);
9 | if (owner is PlayerController) {
10 | OnPostFired += ETGMod.Gun.OnPostFired;
11 | OnFinishAttack += ETGMod.Gun.OnFinishAttack;
12 | ETGMod.Gun.OnInit?.Invoke((PlayerController) owner, this);
13 | }
14 | }
15 |
16 | }
17 |
--------------------------------------------------------------------------------
/Assembly-CSharp.Base.mm/src/ETGGUI/Inspector/Properties/BoolPropertyInspector.cs:
--------------------------------------------------------------------------------
1 | using ETGGUI.Inspector;
2 | using System.Reflection;
3 | using UnityEngine;
4 |
5 | public class BoolPropertyInspector : IBasePropertyInspector {
6 | public object OnGUI(PropertyInfo info, object input) {
7 | bool casted = (bool) input;
8 |
9 | GUILayout.BeginHorizontal();
10 | GUILayout.Label(info.Name, GUILayout.Width(100f));
11 | casted = GUILayout.Toggle(casted, "");
12 | GUILayout.EndHorizontal();
13 |
14 | return casted;
15 | }
16 | }
17 |
18 |
--------------------------------------------------------------------------------
/libs/MonoMod/MonoMod/Modifiers/MonoModIfFlag.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace MonoMod {
4 | ///
5 | /// MonoMod "if" attribute.
6 | /// Apply it onto a type / method / field and it gets ignored if MonoModder.Data[key] equals false.
7 | /// If fallback (true by default) is false, it also gets ignored if MonoModder.Data[key] is undefined.
8 | ///
9 | public class MonoModIfFlag : Attribute {
10 | public MonoModIfFlag(string key) {
11 | }
12 | public MonoModIfFlag(string key, bool fallback) {
13 | }
14 | }
15 | }
16 |
--------------------------------------------------------------------------------
/Assembly-CSharp.Base.mm/src/MonoMod/MonoModIfFlag.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace MonoMod {
4 | ///
5 | /// MonoMod "if" attribute.
6 | /// Apply it onto a type / method / field and it gets ignored if MonoModder.Data[key] equals false.
7 | /// If fallback (true by default) is false, it also gets ignored if MonoModder.Data[key] is undefined.
8 | ///
9 | public class MonoModIfFlag : Attribute {
10 | public MonoModIfFlag(string key) {
11 | }
12 | public MonoModIfFlag(string key, bool fallback) {
13 | }
14 | }
15 | }
16 |
--------------------------------------------------------------------------------
/libs/MonoMod/MonoMod/Modifiers/MonoModReplace.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace MonoMod {
4 | ///
5 | /// MonoMod replace attribute.
6 | /// Apply it onto a method and no orig_ method will be generated by MonoMod.
7 | /// Apply it onto a field and its attributes and field type will be replaced.
8 | /// Apply it onto a property and it will be removed first, as if you're just adding your own.
9 | /// Apply it onto a type and the original type will be removed first.
10 | ///
11 | public class MonoModReplace : Attribute {
12 | }
13 | }
14 |
15 |
--------------------------------------------------------------------------------
/libs/zipstorer/demo/Program.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Windows.Forms;
4 | using System.IO;
5 |
6 | namespace ZipStorerTest
7 | {
8 | static class Program
9 | {
10 | ///
11 | /// The main entry point for the application.
12 | ///
13 | [STAThread]
14 | static void Main()
15 | {
16 | Application.EnableVisualStyles();
17 | Application.SetCompatibleTextRenderingDefault(false);
18 | Application.Run(new TestForm());
19 | }
20 | }
21 | }
22 |
--------------------------------------------------------------------------------
/UnityEngine.Base.mm/src/MonoMod/MonoModLinkTo.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace MonoMod {
4 | ///
5 | /// MonoMod linkto attribute.
6 | /// Apply it onto a type / method / field and calls to it by mods will be relinked to another target.
7 | ///
8 | class MonoModLinkTo : Attribute {
9 | public MonoModLinkTo(string t) {
10 | }
11 | public MonoModLinkTo(Type t) {
12 | }
13 | public MonoModLinkTo(string t, string n) {
14 | }
15 | public MonoModLinkTo(Type t, string n) {
16 | }
17 | }
18 | }
19 |
20 |
--------------------------------------------------------------------------------
/libs/MonoMod/MonoMod/Modifiers/MonoModLinkTo.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace MonoMod {
4 | ///
5 | /// MonoMod linkto attribute.
6 | /// Apply it onto a type / method / field and calls to it by mods will be relinked to another target.
7 | ///
8 | public class MonoModLinkTo : Attribute {
9 | public MonoModLinkTo(string t) {
10 | }
11 | public MonoModLinkTo(Type t) {
12 | }
13 | public MonoModLinkTo(string t, string n) {
14 | }
15 | public MonoModLinkTo(Type t, string n) {
16 | }
17 | }
18 | }
19 |
20 |
--------------------------------------------------------------------------------
/Assembly-CSharp.Base.mm/src/ETGGUI/ConsoleCommand/ConsoleCommand.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | public class ConsoleCommand : ConsoleCommandUnit {
4 |
5 | private string[] _EmptyStringArray = {};
6 |
7 | public ConsoleCommand(Action cmdref, AutocompletionSettings autocompletion) {
8 | CommandReference = cmdref;
9 | Autocompletion = autocompletion;
10 | }
11 |
12 | public ConsoleCommand(Action cmdref) {
13 | CommandReference = cmdref;
14 | Autocompletion = new AutocompletionSettings ((string input) => _EmptyStringArray);
15 | }
16 |
17 | }
18 |
19 |
--------------------------------------------------------------------------------
/Assembly-CSharp.Base.mm/src/MonoMod/MonoModLinkTo.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace MonoMod {
4 | ///
5 | /// MonoMod linkto attribute.
6 | /// Apply it onto a type / method / field and calls to it by mods will be relinked to another target.
7 | ///
8 | public class MonoModLinkTo : Attribute {
9 | public MonoModLinkTo(string t) {
10 | }
11 | public MonoModLinkTo(Type t) {
12 | }
13 | public MonoModLinkTo(string t, string n) {
14 | }
15 | public MonoModLinkTo(Type t, string n) {
16 | }
17 | }
18 | }
19 |
20 |
--------------------------------------------------------------------------------
/Assembly-CSharp.Base.mm/src/Patches/patch_StringTableManager.cs:
--------------------------------------------------------------------------------
1 | #pragma warning disable 0626
2 | #pragma warning disable 0649
3 |
4 | using MonoMod;
5 | using UnityEngine;
6 |
7 | internal static class patch_StringTableManager {
8 |
9 | public static extern void orig_SetNewLanguage(StringTableManager.GungeonSupportedLanguages language, bool force = false);
10 | public static void SetNewLanguage(StringTableManager.GungeonSupportedLanguages language, bool force = false) {
11 | orig_SetNewLanguage(language, force);
12 | ETGMod.Databases.Strings.LanguageChanged();
13 | }
14 |
15 |
16 | }
17 |
--------------------------------------------------------------------------------
/libs/MonoMod/MonoMod/Modifiers/MonoModTargetModule.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace MonoMod {
4 | ///
5 | /// MonoMod target module attribute.
6 | /// Apply it onto a type and it will only be patched in the target module.
7 | /// Important: This attribute acts as a filter. It doesn't affect any other module than the input module.
8 | /// For example, one can define the target assembly version using MonoModTargetModule,
9 | /// or use the same MonoMod mod on multiple differing input assemblies.
10 | ///
11 | public class MonoModTargetModule : Attribute {
12 | public MonoModTargetModule(string name) { }
13 | }
14 | }
15 |
16 |
--------------------------------------------------------------------------------
/Assembly-CSharp.Base.mm/src/Core/AIActor.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | public static partial class ETGMod {
4 |
5 | ///
6 | /// ETGMod AIActor configuration.
7 | ///
8 | public static class AIActor {
9 | public static Action OnPreStart;
10 | public static Action OnPostStart;
11 | public static Action OnBlackPhantomnessCheck;
12 | }
13 |
14 | // Extension methods
15 |
16 | public static void BecomeBlackPhantom(this global::AIActor actor) {
17 | if (actor.IsBlackPhantom) return;
18 | ((patch_AIActor) actor).INTERNAL_BecomeBlackPhantom();
19 | }
20 |
21 | }
22 |
--------------------------------------------------------------------------------
/Assembly-CSharp.Base.mm/src/Multiplayer/Steam/SteamHelper.cs:
--------------------------------------------------------------------------------
1 | using System.Collections.Generic;
2 | using Steamworks;
3 | using UnityEngine;
4 | using ETGMultiplayer;
5 |
6 | public class SteamHelper {
7 |
8 | //--------------- Callbacks ---------------
9 |
10 | public static Callback LobbyJoinRequested;
11 | public static Callback SessionRequest;
12 |
13 | public static CallResult LobbyCreated;
14 | public static CallResult LobbyEntered;
15 |
16 | //-----------------------------------------
17 |
18 | public static void Init() {
19 | LobbyHelper.Init();
20 | }
21 |
22 | }
23 |
24 |
--------------------------------------------------------------------------------
/UnityEngine.Base.mm/src/patch_GameObject.cs:
--------------------------------------------------------------------------------
1 | #pragma warning disable 0626
2 | #pragma warning disable 0649
3 |
4 | using MonoMod;
5 | using UnityEngineInternal;
6 |
7 | namespace UnityEngine {
8 | internal class patch_GameObject {
9 |
10 | public extern Component orig_AddComponent(System.Type componentType);
11 | public Component AddComponent(System.Type componentType) {
12 | Component component = orig_AddComponent(componentType);
13 | if (ETGModUnityEngineHooks.AddComponent != null) {
14 | component = ETGModUnityEngineHooks.AddComponent(component);
15 | }
16 | return component;
17 | }
18 |
19 | }
20 | }
21 |
--------------------------------------------------------------------------------
/Assembly-CSharp.Base.mm/src/JSON/Rules/JSONBagelColliderRule.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using UnityEngine;
3 | using System.Collections.Generic;
4 | using System.IO;
5 | using System.Reflection;
6 | using Newtonsoft.Json;
7 | using Newtonsoft.Json.Linq;
8 | using System.Collections;
9 |
10 | public class JSONBagelColliderDataRule : JSONRule {
11 |
12 | public override object New(JsonHelperReader json, Type type) {
13 | return new BagelColliderData(null);
14 | }
15 |
16 | }
17 |
18 | public class JSONBagelColliderRule : JSONRule {
19 |
20 | public override object New(JsonHelperReader json, Type type) {
21 | return new BagelCollider(0, 0, null);
22 | }
23 |
24 | }
25 |
--------------------------------------------------------------------------------
/Assembly-CSharp.Base.mm/src/SGUI/Modifiers/SInGameModifier.cs:
--------------------------------------------------------------------------------
1 | using System.Text;
2 | using UnityEngine;
3 |
4 | namespace SGUI {
5 | public class SInGameModifier : SModifier {
6 |
7 | public bool ChangeVisible = false;
8 | public bool ChangeEnabled = false;
9 |
10 | public override void Init() {
11 | ChangeVisible |= Elem.Visible;
12 | ChangeEnabled |= Elem.Enabled;
13 | }
14 |
15 | public override void Update() {
16 | if (ChangeVisible) {
17 | Elem.Visible = GameManager.Instance.IsPaused;
18 | }
19 | if (ChangeEnabled) {
20 | Elem.Enabled = GameManager.Instance.IsPaused;
21 | }
22 | }
23 |
24 | }
25 | }
26 |
--------------------------------------------------------------------------------
/Assembly-CSharp.Base.mm/src/Multiplayer/MultiplayerGUI.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections;
3 | using System.Collections.Generic;
4 | using System.Linq;
5 | using System.Text;
6 | using UnityEngine;
7 | using SGUI;
8 |
9 | namespace ETGMultiplayer {
10 | class MultiplayerGUI : MonoBehaviour {
11 |
12 | public static MultiplayerGUI Instance;
13 |
14 | /*
15 | SGroup MainGUI;
16 |
17 | SGroup LobbyGUI;
18 | SGroup InGameGUI;
19 | */
20 |
21 | public void Awake() {
22 | Instance=this;
23 | }
24 |
25 | public void Start() {
26 |
27 | }
28 |
29 | public void Update() {
30 |
31 | }
32 |
33 | public void OnGUI() {
34 |
35 | }
36 |
37 | }
38 | }
39 |
--------------------------------------------------------------------------------
/Assembly-CSharp.Base.mm/src/SGUI/Modifiers/SRandomLabelModifier.cs:
--------------------------------------------------------------------------------
1 | using System.Text;
2 | using UnityEngine;
3 |
4 | namespace SGUI {
5 | public class SRandomLabelModifier : SModifier {
6 |
7 | public override void Update() {
8 | if (Random.value > 0.1f) {
9 | return;
10 | }
11 | SLabel label = (SLabel) Elem;
12 | string orig = label.Text;
13 | StringBuilder repl = new StringBuilder();
14 | while (orig.Length > 0) {
15 | int i = Random.Range(0, orig.Length);
16 | char c = orig[i];
17 | repl.Append(c);
18 | orig = orig.Remove(i, 1);
19 | }
20 | label.Text = repl.ToString();
21 | }
22 |
23 | }
24 | }
25 |
--------------------------------------------------------------------------------
/Assembly-CSharp.Base.mm/src/ETGGUI/Inspector/Properties/StringPropertyInspector.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 | using UnityEngine;
3 |
4 | namespace ETGGUI.Inspector {
5 | public class StringPropertyInspector : IBasePropertyInspector {
6 |
7 | public object OnGUI(PropertyInfo info, object input) {
8 | string str = (string) input;
9 |
10 | if (str.Contains("\n")) {
11 | GUILayout.Label(info.Name);
12 | str = GUILayout.TextArea(str);
13 | } else {
14 | GUILayout.BeginHorizontal();
15 | GUILayout.Label(info.Name);
16 | str = GUILayout.TextField(str);
17 | GUILayout.EndHorizontal();
18 | }
19 |
20 | return str;
21 | }
22 |
23 | }
24 | }
25 |
--------------------------------------------------------------------------------
/UnityEngine.Base.mm/src/ETGModInstallerRenames.cs:
--------------------------------------------------------------------------------
1 | #pragma warning disable 0414
2 |
3 | namespace UnityEngine {
4 | ///
5 | /// Hooks in the Unity Engine that must have their original name's first character replaced with O.
6 | ///
7 | internal static class ETGModInstallerRenames {
8 |
9 | private static string[] items = {
10 | "UnityEngine.Resources:Load", "Ooad",
11 | "UnityEngine.Resources:LoadAsync", "OoadAsync",
12 | "UnityEngine.Resources:LoadAll", "OoadAll",
13 | "UnityEngine.Resources:GetBuiltinResource", "OetBuiltinResource",
14 | "UnityEngine.Resources:UnloadAsset", "OnloadAsset",
15 | "UnityEngine.Resources:UnloadUnusedAssets", "OnloadUnusedAssets",
16 |
17 | };
18 |
19 | }
20 | }
21 |
--------------------------------------------------------------------------------
/Assembly-CSharp.Base.mm/src/JSON/Rules/JSONTextAssetRule.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using UnityEngine;
3 | using System.Collections.Generic;
4 | using System.IO;
5 | using System.Reflection;
6 | using Newtonsoft.Json;
7 | using Newtonsoft.Json.Linq;
8 | using System.Collections;
9 |
10 | public class JSONTextAssetRule : JSONRule {
11 |
12 | public override void Serialize(JsonHelperWriter json, object obj) {
13 | try {
14 | json.WriteProperty("text", ((TextAsset) obj).text);
15 | } catch {
16 | json.WriteProperty("text", null);
17 | }
18 | }
19 |
20 | public override object Deserialize(JsonHelperReader json, object obj) {
21 | ((patch_TextAsset) obj).textOverride = (string) json.ReadRawProperty("text");
22 | return obj;
23 | }
24 |
25 | }
26 |
--------------------------------------------------------------------------------
/Assembly-CSharp.Base.mm/src/JSON/Rules/JSONMaterialRule.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using UnityEngine;
3 | using System.Collections.Generic;
4 | using System.IO;
5 | using System.Reflection;
6 | using Newtonsoft.Json;
7 | using Newtonsoft.Json.Linq;
8 |
9 | public class JSONMaterialRule : JSONRule {
10 |
11 | public override void Serialize(JsonHelperWriter json, object obj) {
12 | json.WriteProperty(JSONHelper.META.UNSUPPORTED, JSONHelper.META.UNSUPPORTED_USE_EXTERNAL);
13 | }
14 |
15 | public override object New(JsonHelperReader json, Type type) {
16 | return null;
17 | }
18 |
19 | public override object Deserialize(JsonHelperReader json, object obj) {
20 | json.Read(); // Drop PropertyName
21 | json.Read(); // Drop String
22 | return obj;
23 | }
24 |
25 | }
26 |
--------------------------------------------------------------------------------
/Assembly-CSharp.Base.mm/src/Patches/patch_AIActor.cs:
--------------------------------------------------------------------------------
1 | #pragma warning disable 0626
2 | #pragma warning disable 0649
3 |
4 | using MonoMod;
5 |
6 | internal class patch_AIActor : AIActor {
7 |
8 | public extern void orig_Start();
9 | public new void Start() {
10 | ETGMod.AIActor.OnPreStart?.Invoke(this);
11 | orig_Start();
12 | ETGMod.AIActor.OnPostStart?.Invoke(this);
13 | }
14 |
15 | private extern void orig_CheckForBlackPhantomness();
16 | private void CheckForBlackPhantomness() {
17 | ETGMod.AIActor.OnBlackPhantomnessCheck?.Invoke(this);
18 | orig_CheckForBlackPhantomness();
19 | }
20 |
21 | [MonoModIgnore]
22 | private extern new void BecomeBlackPhantom();
23 | internal void INTERNAL_BecomeBlackPhantom() {
24 | BecomeBlackPhantom();
25 | }
26 |
27 | }
28 |
--------------------------------------------------------------------------------
/libs/Eluant/Eluant/LuaNumberOperators.tt:
--------------------------------------------------------------------------------
1 | <#@ template language="C#v3.5" #>
2 | using System;
3 |
4 | namespace Eluant
5 | {
6 | public partial class LuaNumber
7 | {
8 | <#
9 | foreach (var op in new string[][] {
10 | new[] { "+", "double?" },
11 | new[] { "-", "double?" },
12 | new[] { "*", "double?" },
13 | new[] { "/", "double?" },
14 | new[] { "%", "double?" },
15 | new[] { "==", "bool"},
16 | new[] { "!=", "bool"},
17 | new[] { "<=", "bool"},
18 | new[] { ">=", "bool"},
19 | new[] { "<", "bool" },
20 | new[] { ">", "bool" }}) {
21 | #>
22 | public static <#=op[1]#> operator<#=op[0]#>(LuaNumber a, double? b)
23 | {
24 | return (double?)a <#=op[0]#> b;
25 | }
26 |
27 | <#
28 | }
29 | #>
30 | }
31 | }
32 |
--------------------------------------------------------------------------------
/Assembly-CSharp.Base.mm/src/Patches/patch_Dungeon.cs:
--------------------------------------------------------------------------------
1 | #pragma warning disable 0626
2 | #pragma warning disable 0649
3 |
4 | using System.Collections;
5 | using System.Collections.Generic;
6 |
7 | namespace Dungeonator {
8 | internal class patch_Dungeon : Dungeon {
9 |
10 | private extern IEnumerator orig_Start();
11 | private IEnumerator Start() {
12 | IEnumerator start = orig_Start();
13 |
14 | List