M&B: Bannerlord 1.1.0
The horns sound, the ravens gather.
Loading...
Searching...
No Matches
TaleWorlds.CampaignSystem.CharacterDevelopment.SkillLevelingManager Class Reference

Static Public Member Functions

static void OnCombatHit (CharacterObject affectorCharacter, CharacterObject affectedCharacter, CharacterObject captain, Hero commander, float speedBonusFromMovement, float shotDifficulty, WeaponComponentData affectorWeapon, float hitPointRatio, CombatXpModel.MissionTypeEnum missionType, bool isAffectorMounted, bool isTeamKill, bool isAffectorUnderCommand, float damageAmount, bool isFatal, bool isSiegeEngineHit, bool isHorseCharge)
 
static void OnSiegeEngineDestroyed (MobileParty party, SiegeEngineType destroyedSiegeEngine)
 
static void OnWallBreached (MobileParty party)
 
static void OnSimulationCombatKill (CharacterObject affectorCharacter, CharacterObject affectedCharacter, PartyBase affectorParty, PartyBase commanderParty)
 
static void OnTradeProfitMade (PartyBase party, int tradeProfit)
 
static void OnTradeProfitMade (Hero hero, int tradeProfit)
 
static void OnSettlementProjectFinished (Settlement settlement)
 
static void OnSettlementGoverned (Hero governor, Settlement settlement)
 
static void OnInfluenceSpent (Hero hero, float amountSpent)
 
static void OnGainRelation (Hero hero, Hero gainedRelationWith, float relationChange, ChangeRelationAction.ChangeRelationDetail detail=ChangeRelationAction.ChangeRelationDetail.Default)
 
static void OnTroopRecruited (Hero hero, int amount, int tier)
 
static void OnBribeGiven (int amount)
 
static void OnBanditsRecruited (MobileParty mobileParty, CharacterObject bandit, int count)
 
static void OnMainHeroReleasedFromCaptivity (float captivityTime)
 
static void OnMainHeroTortured ()
 
static void OnMainHeroDisguised (bool isNotCaught)
 
static void OnRaid (MobileParty attackerParty, ItemRoster lootedItems)
 
static void OnLoot (MobileParty attackerParty, MobileParty forcedParty, ItemRoster lootedItems, bool attacked)
 
static void OnForceVolunteers (MobileParty attackerParty, PartyBase forcedParty)
 
static void OnForceSupplies (MobileParty attackerParty, ItemRoster lootedItems, bool attacked)
 
static void OnPrisonerSell (MobileParty mobileParty, float count)
 
static void OnSurgeryApplied (MobileParty party, bool surgerySuccess, int troopTier)
 
static void OnTacticsUsed (MobileParty party, float xp)
 
static void OnHideoutSpotted (MobileParty party, PartyBase spottedParty)
 
static void OnTrackDetected (Track track)
 
static void OnTravelOnFoot (Hero hero, float speed)
 
static void OnTravelOnHorse (Hero hero, float speed)
 
static void OnAIPartiesTravel (Hero hero, bool isCaravanParty, TerrainType currentTerrainType)
 
static void OnTraverseTerrain (MobileParty mobileParty, TerrainType currentTerrainType)
 
static void OnHeroHealedWhileWaiting (Hero hero, int healingAmount)
 
static void OnRegularTroopHealedWhileWaiting (MobileParty mobileParty, int healedTroopCount, float averageTier)
 
static void OnLeadingArmy (MobileParty mobileParty)
 
static void OnSieging (MobileParty mobileParty)
 
static void OnSiegeEngineBuilt (MobileParty mobileParty, SiegeEngineType siegeEngine)
 
static void OnUpgradeTroops (PartyBase party, CharacterObject troop, CharacterObject upgrade, int numberOfTroops)
 
static void OnBattleEnd (PartyBase party, FlattenedTroopRoster flattenedTroopRoster)
 
static void OnPersuasionSucceeded (Hero targetHero, SkillObject skill, PersuasionDifficulty difficulty, int argumentDifficultyBonusCoefficient)
 
static void OnPrisonBreakEnd (Hero prisonerHero, bool isSucceeded)
 
static void OnFoodConsumed (MobileParty mobileParty, bool wasStarving)
 
static void OnAlleyCleared (Alley alley)
 
static void OnDailyAlleyTick (Alley alley, Hero alleyLeader)
 
static void OnBoardGameWonAgainstLord (Hero lord, BoardGameHelper.AIDifficulty difficulty, bool extraXpGain)
 

Member Function Documentation

◆ OnCombatHit()

static void TaleWorlds.CampaignSystem.CharacterDevelopment.SkillLevelingManager.OnCombatHit ( CharacterObject  affectorCharacter,
CharacterObject  affectedCharacter,
CharacterObject  captain,
Hero  commander,
float  speedBonusFromMovement,
float  shotDifficulty,
WeaponComponentData  affectorWeapon,
float  hitPointRatio,
CombatXpModel::MissionTypeEnum  missionType,
bool  isAffectorMounted,
bool  isTeamKill,
bool  isAffectorUnderCommand,
float  damageAmount,
bool  isFatal,
bool  isSiegeEngineHit,
bool  isHorseCharge 
)
static

◆ OnSiegeEngineDestroyed()

static void TaleWorlds.CampaignSystem.CharacterDevelopment.SkillLevelingManager.OnSiegeEngineDestroyed ( MobileParty  party,
SiegeEngineType  destroyedSiegeEngine 
)
static

◆ OnWallBreached()

static void TaleWorlds.CampaignSystem.CharacterDevelopment.SkillLevelingManager.OnWallBreached ( MobileParty  party)
static

◆ OnSimulationCombatKill()

static void TaleWorlds.CampaignSystem.CharacterDevelopment.SkillLevelingManager.OnSimulationCombatKill ( CharacterObject  affectorCharacter,
CharacterObject  affectedCharacter,
PartyBase  affectorParty,
PartyBase  commanderParty 
)
static

◆ OnTradeProfitMade() [1/2]

static void TaleWorlds.CampaignSystem.CharacterDevelopment.SkillLevelingManager.OnTradeProfitMade ( PartyBase  party,
int  tradeProfit 
)
static

◆ OnTradeProfitMade() [2/2]

static void TaleWorlds.CampaignSystem.CharacterDevelopment.SkillLevelingManager.OnTradeProfitMade ( Hero  hero,
int  tradeProfit 
)
static

◆ OnSettlementProjectFinished()

static void TaleWorlds.CampaignSystem.CharacterDevelopment.SkillLevelingManager.OnSettlementProjectFinished ( Settlement  settlement)
static

◆ OnSettlementGoverned()

static void TaleWorlds.CampaignSystem.CharacterDevelopment.SkillLevelingManager.OnSettlementGoverned ( Hero  governor,
Settlement  settlement 
)
static

◆ OnInfluenceSpent()

static void TaleWorlds.CampaignSystem.CharacterDevelopment.SkillLevelingManager.OnInfluenceSpent ( Hero  hero,
float  amountSpent 
)
static

◆ OnGainRelation()

static void TaleWorlds.CampaignSystem.CharacterDevelopment.SkillLevelingManager.OnGainRelation ( Hero  hero,
Hero  gainedRelationWith,
float  relationChange,
ChangeRelationAction::ChangeRelationDetail  detail = ChangeRelationAction::ChangeRelationDetail::Default 
)
static

◆ OnTroopRecruited()

static void TaleWorlds.CampaignSystem.CharacterDevelopment.SkillLevelingManager.OnTroopRecruited ( Hero  hero,
int  amount,
int  tier 
)
static

◆ OnBribeGiven()

static void TaleWorlds.CampaignSystem.CharacterDevelopment.SkillLevelingManager.OnBribeGiven ( int  amount)
static

◆ OnBanditsRecruited()

static void TaleWorlds.CampaignSystem.CharacterDevelopment.SkillLevelingManager.OnBanditsRecruited ( MobileParty  mobileParty,
CharacterObject  bandit,
int  count 
)
static

◆ OnMainHeroReleasedFromCaptivity()

static void TaleWorlds.CampaignSystem.CharacterDevelopment.SkillLevelingManager.OnMainHeroReleasedFromCaptivity ( float  captivityTime)
static

◆ OnMainHeroTortured()

static void TaleWorlds.CampaignSystem.CharacterDevelopment.SkillLevelingManager.OnMainHeroTortured ( )
static

◆ OnMainHeroDisguised()

static void TaleWorlds.CampaignSystem.CharacterDevelopment.SkillLevelingManager.OnMainHeroDisguised ( bool  isNotCaught)
static

◆ OnRaid()

static void TaleWorlds.CampaignSystem.CharacterDevelopment.SkillLevelingManager.OnRaid ( MobileParty  attackerParty,
ItemRoster  lootedItems 
)
static

◆ OnLoot()

static void TaleWorlds.CampaignSystem.CharacterDevelopment.SkillLevelingManager.OnLoot ( MobileParty  attackerParty,
MobileParty  forcedParty,
ItemRoster  lootedItems,
bool  attacked 
)
static

◆ OnForceVolunteers()

static void TaleWorlds.CampaignSystem.CharacterDevelopment.SkillLevelingManager.OnForceVolunteers ( MobileParty  attackerParty,
PartyBase  forcedParty 
)
static

◆ OnForceSupplies()

static void TaleWorlds.CampaignSystem.CharacterDevelopment.SkillLevelingManager.OnForceSupplies ( MobileParty  attackerParty,
ItemRoster  lootedItems,
bool  attacked 
)
static

◆ OnPrisonerSell()

static void TaleWorlds.CampaignSystem.CharacterDevelopment.SkillLevelingManager.OnPrisonerSell ( MobileParty  mobileParty,
float  count 
)
static

◆ OnSurgeryApplied()

static void TaleWorlds.CampaignSystem.CharacterDevelopment.SkillLevelingManager.OnSurgeryApplied ( MobileParty  party,
bool  surgerySuccess,
int  troopTier 
)
static

◆ OnTacticsUsed()

static void TaleWorlds.CampaignSystem.CharacterDevelopment.SkillLevelingManager.OnTacticsUsed ( MobileParty  party,
float  xp 
)
static

◆ OnHideoutSpotted()

static void TaleWorlds.CampaignSystem.CharacterDevelopment.SkillLevelingManager.OnHideoutSpotted ( MobileParty  party,
PartyBase  spottedParty 
)
static

◆ OnTrackDetected()

static void TaleWorlds.CampaignSystem.CharacterDevelopment.SkillLevelingManager.OnTrackDetected ( Track  track)
static

◆ OnTravelOnFoot()

static void TaleWorlds.CampaignSystem.CharacterDevelopment.SkillLevelingManager.OnTravelOnFoot ( Hero  hero,
float  speed 
)
static

◆ OnTravelOnHorse()

static void TaleWorlds.CampaignSystem.CharacterDevelopment.SkillLevelingManager.OnTravelOnHorse ( Hero  hero,
float  speed 
)
static

◆ OnAIPartiesTravel()

static void TaleWorlds.CampaignSystem.CharacterDevelopment.SkillLevelingManager.OnAIPartiesTravel ( Hero  hero,
bool  isCaravanParty,
TerrainType  currentTerrainType 
)
static

◆ OnTraverseTerrain()

static void TaleWorlds.CampaignSystem.CharacterDevelopment.SkillLevelingManager.OnTraverseTerrain ( MobileParty  mobileParty,
TerrainType  currentTerrainType 
)
static

◆ OnHeroHealedWhileWaiting()

static void TaleWorlds.CampaignSystem.CharacterDevelopment.SkillLevelingManager.OnHeroHealedWhileWaiting ( Hero  hero,
int  healingAmount 
)
static

◆ OnRegularTroopHealedWhileWaiting()

static void TaleWorlds.CampaignSystem.CharacterDevelopment.SkillLevelingManager.OnRegularTroopHealedWhileWaiting ( MobileParty  mobileParty,
int  healedTroopCount,
float  averageTier 
)
static

◆ OnLeadingArmy()

static void TaleWorlds.CampaignSystem.CharacterDevelopment.SkillLevelingManager.OnLeadingArmy ( MobileParty  mobileParty)
static

◆ OnSieging()

static void TaleWorlds.CampaignSystem.CharacterDevelopment.SkillLevelingManager.OnSieging ( MobileParty  mobileParty)
static

◆ OnSiegeEngineBuilt()

static void TaleWorlds.CampaignSystem.CharacterDevelopment.SkillLevelingManager.OnSiegeEngineBuilt ( MobileParty  mobileParty,
SiegeEngineType  siegeEngine 
)
static

◆ OnUpgradeTroops()

static void TaleWorlds.CampaignSystem.CharacterDevelopment.SkillLevelingManager.OnUpgradeTroops ( PartyBase  party,
CharacterObject  troop,
CharacterObject  upgrade,
int  numberOfTroops 
)
static

◆ OnBattleEnd()

static void TaleWorlds.CampaignSystem.CharacterDevelopment.SkillLevelingManager.OnBattleEnd ( PartyBase  party,
FlattenedTroopRoster  flattenedTroopRoster 
)
static

◆ OnPersuasionSucceeded()

static void TaleWorlds.CampaignSystem.CharacterDevelopment.SkillLevelingManager.OnPersuasionSucceeded ( Hero  targetHero,
SkillObject  skill,
PersuasionDifficulty  difficulty,
int  argumentDifficultyBonusCoefficient 
)
static

◆ OnPrisonBreakEnd()

static void TaleWorlds.CampaignSystem.CharacterDevelopment.SkillLevelingManager.OnPrisonBreakEnd ( Hero  prisonerHero,
bool  isSucceeded 
)
static

◆ OnFoodConsumed()

static void TaleWorlds.CampaignSystem.CharacterDevelopment.SkillLevelingManager.OnFoodConsumed ( MobileParty  mobileParty,
bool  wasStarving 
)
static

◆ OnAlleyCleared()

static void TaleWorlds.CampaignSystem.CharacterDevelopment.SkillLevelingManager.OnAlleyCleared ( Alley  alley)
static

◆ OnDailyAlleyTick()

static void TaleWorlds.CampaignSystem.CharacterDevelopment.SkillLevelingManager.OnDailyAlleyTick ( Alley  alley,
Hero  alleyLeader 
)
static

◆ OnBoardGameWonAgainstLord()

static void TaleWorlds.CampaignSystem.CharacterDevelopment.SkillLevelingManager.OnBoardGameWonAgainstLord ( Hero  lord,
BoardGameHelper::AIDifficulty  difficulty,
bool  extraXpGain 
)
static