Exemple #1
0
 public static void GetPartyLimitForTier(TaleWorlds.CampaignSystem.Clan clan, int clanTierToCheck, ref int __result)
 {
     try
     {
         if (clan.IsPlayerClan() &&
             BannerlordCheatsSettings.Instance?.ExtraClanPartyLimit > 0)
         {
             __result += BannerlordCheatsSettings.Instance.ExtraClanPartyLimit;
         }
     }
     catch (Exception e)
     {
         SubModule.LogError(e, typeof(ExtraClanPartyLimit));
     }
 }
Exemple #2
0
 public static void GetCompanionLimit(ref TaleWorlds.CampaignSystem.Clan clan, ref int __result)
 {
     try
     {
         if (clan.IsPlayerClan() &&
             BannerlordCheatsSettings.Instance?.ExtraCompanionLimit > 0)
         {
             __result += BannerlordCheatsSettings.Instance.ExtraCompanionLimit;
         }
     }
     catch (Exception e)
     {
         SubModule.LogError(e, typeof(ExtraCompanionLimit));
     }
 }