M&B: Bannerlord 1.0.0
The horns sound, the ravens gather.
Loading...
Searching...
No Matches
TaleWorlds.CampaignSystem.ComponentInterfaces.CrimeModel Class Referenceabstract

Inherits TaleWorlds.Core.GameModel.

Inherited by TaleWorlds.CampaignSystem.GameComponents.DefaultCrimeModel.

Public Types

enum  PaymentMethod : UInt32
 

Public Member Functions

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)
 

Member Enumeration Documentation

◆ PaymentMethod

Member Function Documentation

◆ GetMaxCrimeRating()

abstract float TaleWorlds.CampaignSystem.ComponentInterfaces.CrimeModel.GetMaxCrimeRating ( )
pure virtual

◆ GetMinAcceptableCrimeRating()

abstract float TaleWorlds.CampaignSystem.ComponentInterfaces.CrimeModel.GetMinAcceptableCrimeRating ( IFaction  faction)
pure virtual

◆ DoesPlayerHaveAnyCrimeRating()

abstract bool TaleWorlds.CampaignSystem.ComponentInterfaces.CrimeModel.DoesPlayerHaveAnyCrimeRating ( IFaction  faction)
pure virtual

◆ IsPlayerCrimeRatingSevere()

abstract bool TaleWorlds.CampaignSystem.ComponentInterfaces.CrimeModel.IsPlayerCrimeRatingSevere ( IFaction  faction)
pure virtual

◆ IsPlayerCrimeRatingModerate()

abstract bool TaleWorlds.CampaignSystem.ComponentInterfaces.CrimeModel.IsPlayerCrimeRatingModerate ( IFaction  faction)
pure virtual

◆ IsPlayerCrimeRatingMild()

abstract bool TaleWorlds.CampaignSystem.ComponentInterfaces.CrimeModel.IsPlayerCrimeRatingMild ( IFaction  faction)
pure virtual

◆ GetCost()

abstract float TaleWorlds.CampaignSystem.ComponentInterfaces.CrimeModel.GetCost ( IFaction  faction,
PaymentMethod  paymentMethod,
float  minimumCrimeRating 
)
pure virtual

◆ GetDailyCrimeRatingChange()

abstract ExplainedNumber TaleWorlds.CampaignSystem.ComponentInterfaces.CrimeModel.GetDailyCrimeRatingChange ( IFaction  faction,
bool  includeDescriptions = false 
)
pure virtual