Professional Documents
Culture Documents
Harmony Log
Harmony Log
0, location=C:\SteamLibrary\
steamapps\workshop\content\261550\2859188632\bin\Win64_Shipping_Client\
0Harmony.dll, env/clr=4.0.30319.42000, platform=Win32NT,
ptrsize:runtime/env=8/Bits64, Windows
### Started from System.Void MountAndWarcraft.Main::PatchHarmony(), location C:\
SteamLibrary\steamapps\common\Mount & Blade II Bannerlord\Modules\mountandwarcraft\
bin\Win64_Shipping_Client\MountAndWarcraft.dll
### At 2023-02-02 07.00.06
### Patch: System.Void
TaleWorlds.CampaignSystem.Campaign::InitializeDefaultCampaignObjects()
### Replacement: static System.Void
TaleWorlds.CampaignSystem.Campaign::TaleWorlds.CampaignSystem.Campaign.InitializeDe
faultCampaignObjects_Patch1(TaleWorlds.CampaignSystem.Campaign this)
IL_0000: Local var 0: TaleWorlds.Core.WeaponDescription
IL_0000: Local var 1: TaleWorlds.Core.WeaponDescription
IL_0000: // start original
IL_0000: ldarg.0
IL_0001: call TaleWorlds.Core.Game
TaleWorlds.Core.GameType::get_CurrentGame()
IL_0006: callvirt System.Void
TaleWorlds.Core.Game::InitializeDefaultGameObjects()
IL_000B: ldarg.0
IL_000C: newobj System.Void TaleWorlds.CampaignSystem.DefaultItems::.ctor()
IL_0011: call System.Void
TaleWorlds.CampaignSystem.Campaign::set_DefaultItems(TaleWorlds.CampaignSystem.Defa
ultItems value)
IL_0016: ldarg.0
IL_0017: call TaleWorlds.Core.Game
TaleWorlds.Core.GameType::get_CurrentGame()
IL_001C: callvirt System.Void TaleWorlds.Core.Game::LoadBasicFiles()
IL_0021: ldarg.0
IL_0022: newobj System.Void
TaleWorlds.CampaignSystem.DefaultBannerEffects::.ctor()
IL_0027: call System.Void
TaleWorlds.CampaignSystem.Campaign::set_DefaultBannerEffects(TaleWorlds.CampaignSys
tem.DefaultBannerEffects value)
IL_002C: ldarg.0
IL_002D: call TaleWorlds.ObjectSystem.MBObjectManager
TaleWorlds.Core.GameType::get_ObjectManager()
IL_0032: ldstr "Items"
IL_0037: ldc.i4.0
IL_0038: call static System.Void
TaleWorlds.Core.MBObjectManagerExtensions::LoadXML(TaleWorlds.ObjectSystem.MBObject
Manager objectManager, System.String id, System.Boolean skipXmlFilterForEditor)
IL_003D: ldarg.0
IL_003E: call TaleWorlds.ObjectSystem.MBObjectManager
TaleWorlds.Core.GameType::get_ObjectManager()
IL_0043: ldstr "EquipmentRosters"
IL_0048: ldc.i4.0
IL_0049: call static System.Void
TaleWorlds.Core.MBObjectManagerExtensions::LoadXML(TaleWorlds.ObjectSystem.MBObject
Manager objectManager, System.String id, System.Boolean skipXmlFilterForEditor)
IL_004E: ldarg.0
IL_004F: call TaleWorlds.ObjectSystem.MBObjectManager
TaleWorlds.Core.GameType::get_ObjectManager()
IL_0054: ldstr "partyTemplates"
IL_0059: ldc.i4.0
IL_005A: call static System.Void
TaleWorlds.Core.MBObjectManagerExtensions::LoadXML(TaleWorlds.ObjectSystem.MBObject
Manager objectManager, System.String id, System.Boolean skipXmlFilterForEditor)
IL_005F: call static TaleWorlds.ObjectSystem.MBObjectManager
TaleWorlds.ObjectSystem.MBObjectManager::get_Instance()
IL_0064: ldstr "OneHandedBastardSwordAlternative"
IL_0069: callvirt TaleWorlds.Core.WeaponDescription
TaleWorlds.ObjectSystem.MBObjectManager::GetObject(System.String objectName)
IL_006E: stloc.0
IL_006F: ldloc.0
IL_0070: brfalse => Label0
IL_0075: ldloc.0
IL_0076: ldc.i4.1
IL_0077: callvirt System.Void
TaleWorlds.Core.WeaponDescription::set_IsHiddenFromUI(System.Boolean value)
IL_007C: Label0
IL_007C: call static TaleWorlds.ObjectSystem.MBObjectManager
TaleWorlds.ObjectSystem.MBObjectManager::get_Instance()
IL_0081: ldstr "OneHandedBastardAxeAlternative"
IL_0086: callvirt TaleWorlds.Core.WeaponDescription
TaleWorlds.ObjectSystem.MBObjectManager::GetObject(System.String objectName)
IL_008B: stloc.1
IL_008C: ldloc.1
IL_008D: brfalse => Label1
IL_0092: ldloc.1
IL_0093: ldc.i4.1
IL_0094: callvirt System.Void
TaleWorlds.Core.WeaponDescription::set_IsHiddenFromUI(System.Boolean value)
IL_0099: Label1
IL_0099: ldarg.0
IL_009A: dup
IL_009B: newobj System.Void
TaleWorlds.CampaignSystem.Issues.DefaultIssueEffects::.ctor()
IL_00A0: callvirt System.Void
TaleWorlds.CampaignSystem.Campaign::set_DefaultIssueEffects(TaleWorlds.CampaignSyst
em.Issues.DefaultIssueEffects value)
IL_00A5: dup
IL_00A6: newobj System.Void
TaleWorlds.CampaignSystem.CharacterDevelopment.DefaultTraits::.ctor()
IL_00AB: callvirt System.Void
TaleWorlds.CampaignSystem.Campaign::set_DefaultTraits(TaleWorlds.CampaignSystem.Cha
racterDevelopment.DefaultTraits value)
IL_00B0: dup
IL_00B1: newobj System.Void TaleWorlds.CampaignSystem.DefaultPolicies::.ctor()
IL_00B6: callvirt System.Void
TaleWorlds.CampaignSystem.Campaign::set_DefaultPolicies(TaleWorlds.CampaignSystem.D
efaultPolicies value)
IL_00BB: dup
IL_00BC: newobj System.Void
TaleWorlds.CampaignSystem.CharacterDevelopment.DefaultPerks::.ctor()
IL_00C1: callvirt System.Void
TaleWorlds.CampaignSystem.Campaign::set_DefaultPerks(TaleWorlds.CampaignSystem.Char
acterDevelopment.DefaultPerks value)
IL_00C6: dup
IL_00C7: newobj System.Void
TaleWorlds.CampaignSystem.Settlements.Buildings.DefaultBuildingTypes::.ctor()
IL_00CC: callvirt System.Void
TaleWorlds.CampaignSystem.Campaign::set_DefaultBuildingTypes(TaleWorlds.CampaignSys
tem.Settlements.Buildings.DefaultBuildingTypes value)
IL_00D1: dup
IL_00D2: newobj System.Void
TaleWorlds.CampaignSystem.Settlements.DefaultVillageTypes::.ctor()
IL_00D7: callvirt System.Void
TaleWorlds.CampaignSystem.Campaign::set_DefaultVillageTypes(TaleWorlds.CampaignSyst
em.Settlements.DefaultVillageTypes value)
IL_00DC: dup
IL_00DD: newobj System.Void
TaleWorlds.CampaignSystem.Siege.DefaultSiegeStrategies::.ctor()
IL_00E2: callvirt System.Void
TaleWorlds.CampaignSystem.Campaign::set_DefaultSiegeStrategies(TaleWorlds.CampaignS
ystem.Siege.DefaultSiegeStrategies value)
IL_00E7: dup
IL_00E8: newobj System.Void
TaleWorlds.CampaignSystem.DefaultSkillEffects::.ctor()
IL_00ED: callvirt System.Void
TaleWorlds.CampaignSystem.Campaign::set_DefaultSkillEffects(TaleWorlds.CampaignSyst
em.DefaultSkillEffects value)
IL_00F2: dup
IL_00F3: newobj System.Void
TaleWorlds.CampaignSystem.CharacterDevelopment.DefaultCulturalFeats::.ctor()
IL_00F8: callvirt System.Void
TaleWorlds.CampaignSystem.Campaign::set_DefaultFeats(TaleWorlds.CampaignSystem.Char
acterDevelopment.DefaultCulturalFeats value)
IL_00FD: newobj System.Void
TaleWorlds.CampaignSystem.CampaignBehaviors.PlayerUpdateTracker::.ctor()
IL_0102: callvirt System.Void
TaleWorlds.CampaignSystem.Campaign::set_PlayerUpdateTracker(TaleWorlds.CampaignSyst
em.CampaignBehaviors.PlayerUpdateTracker value)
IL_0107: // end original
IL_0107: ldarg.0
IL_0108: call static System.Void
MountAndWarcraft.Components.Patches.CampaignPatch::InitializeDefaultCampaignObjects
(TaleWorlds.CampaignSystem.Campaign __instance)
IL_010D: ret
DONE