BannerlordCheats.Patches.Kingdom.NoRelationshipLossOnDecisionExpellingClan.GetRelationCostOfExpellingClanFromKingdom C# (CSharp) Method

GetRelationCostOfExpellingClanFromKingdom() private method

private GetRelationCostOfExpellingClanFromKingdom ( int &__result ) : void
__result int
return void
        public static void GetRelationCostOfExpellingClanFromKingdom(ref int __result)
        {
            try
            {
                if (BannerlordCheatsSettings.Instance?.NoRelationshipLossOnDecision == true)
                {
                    __result = 0;
                }
            }
            catch (Exception e)
            {
                SubModule.LogError(e, typeof(NoRelationshipLossOnDecisionExpellingClan));
            }
        }
    }
NoRelationshipLossOnDecisionExpellingClan