M&B: Bannerlord 1.2.7
The horns sound, the ravens gather.
Loading...
Searching...
No Matches
TaleWorlds.CampaignSystem.GameComponents.DefaultCrimeModel Class Reference

Inherits TaleWorlds.CampaignSystem.ComponentInterfaces.CrimeModel.

Public Member Functions

override bool DoesPlayerHaveAnyCrimeRating (IFaction faction)
 
override bool IsPlayerCrimeRatingSevere (IFaction faction)
 
override bool IsPlayerCrimeRatingModerate (IFaction faction)
 
override bool IsPlayerCrimeRatingMild (IFaction faction)
 
override float GetCost (IFaction faction, PaymentMethod paymentMethod, float minimumCrimeRating)
 
override ExplainedNumber GetDailyCrimeRatingChange (IFaction faction, bool includeDescriptions=false)
 
override float GetMaxCrimeRating ()
 
override float GetMinAcceptableCrimeRating (IFaction faction)
 
abstract float GetMaxCrimeRating ()
 
abstract float GetMinAcceptableCrimeRating (IFaction faction)
 
abstract bool DoesPlayerHaveAnyCrimeRating (IFaction faction)
 
abstract bool IsPlayerCrimeRatingSevere (IFaction faction)
 
abstract bool IsPlayerCrimeRatingModerate (IFaction faction)
 
abstract bool IsPlayerCrimeRatingMild (IFaction faction)
 
abstract float GetCost (IFaction faction, PaymentMethod paymentMethod, float minimumCrimeRating)
 
abstract ExplainedNumber GetDailyCrimeRatingChange (IFaction faction, bool includeDescriptions=false)
 

Properties

override int DeclareWarCrimeRatingThreshold [get]
 
- Properties inherited from TaleWorlds.CampaignSystem.ComponentInterfaces.CrimeModel
abstract int DeclareWarCrimeRatingThreshold [get]
 

Additional Inherited Members

- Public Types inherited from TaleWorlds.CampaignSystem.ComponentInterfaces.CrimeModel
enum  PaymentMethod : UInt32 {
  ExMachina = 0x1000 ,
  Gold = 0x0001 ,
  Influence = 0x0002 ,
  Punishment = 0x0004 ,
  Execution = 0x0008
}
 

Member Function Documentation

◆ DoesPlayerHaveAnyCrimeRating()

override bool TaleWorlds.CampaignSystem.GameComponents.DefaultCrimeModel.DoesPlayerHaveAnyCrimeRating ( IFaction  faction)
virtual

◆ IsPlayerCrimeRatingSevere()

override bool TaleWorlds.CampaignSystem.GameComponents.DefaultCrimeModel.IsPlayerCrimeRatingSevere ( IFaction  faction)
virtual

◆ IsPlayerCrimeRatingModerate()

override bool TaleWorlds.CampaignSystem.GameComponents.DefaultCrimeModel.IsPlayerCrimeRatingModerate ( IFaction  faction)
virtual

◆ IsPlayerCrimeRatingMild()

override bool TaleWorlds.CampaignSystem.GameComponents.DefaultCrimeModel.IsPlayerCrimeRatingMild ( IFaction  faction)
virtual

◆ GetCost()

override float TaleWorlds.CampaignSystem.GameComponents.DefaultCrimeModel.GetCost ( IFaction  faction,
PaymentMethod  paymentMethod,
float  minimumCrimeRating 
)
virtual

◆ GetDailyCrimeRatingChange()

override ExplainedNumber TaleWorlds.CampaignSystem.GameComponents.DefaultCrimeModel.GetDailyCrimeRatingChange ( IFaction  faction,
bool  includeDescriptions = false 
)
virtual

◆ GetMaxCrimeRating()

override float TaleWorlds.CampaignSystem.GameComponents.DefaultCrimeModel.GetMaxCrimeRating ( )
virtual

◆ GetMinAcceptableCrimeRating()

override float TaleWorlds.CampaignSystem.GameComponents.DefaultCrimeModel.GetMinAcceptableCrimeRating ( IFaction  faction)
virtual

Property Documentation

◆ DeclareWarCrimeRatingThreshold

override int TaleWorlds.CampaignSystem.GameComponents.DefaultCrimeModel.DeclareWarCrimeRatingThreshold
get