Class SkillLevelingManager
- Namespace
- TaleWorlds.CampaignSystem.CharacterDevelopment
- Assembly
- TaleWorlds.CampaignSystem.dll
public static class SkillLevelingManager
- Inheritance
-
SkillLevelingManager
- Inherited Members
Methods
OnAIPartiesTravel(Hero, bool, TerrainType)
public static void OnAIPartiesTravel(Hero hero, bool isCaravanParty, TerrainType currentTerrainType)
Parameters
hero
HeroisCaravanParty
boolcurrentTerrainType
TerrainType
OnAlleyCleared(Alley)
public static void OnAlleyCleared(Alley alley)
Parameters
alley
Alley
OnBanditsRecruited(MobileParty, CharacterObject, int)
public static void OnBanditsRecruited(MobileParty mobileParty, CharacterObject bandit, int count)
Parameters
mobileParty
MobilePartybandit
CharacterObjectcount
int
OnBattleEnd(PartyBase, FlattenedTroopRoster)
public static void OnBattleEnd(PartyBase party, FlattenedTroopRoster flattenedTroopRoster)
Parameters
party
PartyBaseflattenedTroopRoster
FlattenedTroopRoster
OnBoardGameWonAgainstLord(Hero, AIDifficulty, bool)
public static void OnBoardGameWonAgainstLord(Hero lord, BoardGameHelper.AIDifficulty difficulty, bool extraXpGain)
Parameters
lord
Herodifficulty
BoardGameHelper.AIDifficultyextraXpGain
bool
OnBribeGiven(int)
public static void OnBribeGiven(int amount)
Parameters
amount
int
OnCombatHit(CharacterObject, CharacterObject, CharacterObject, Hero, float, float, WeaponComponentData, float, MissionTypeEnum, bool, bool, bool, float, bool, bool, bool)
public 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)
Parameters
affectorCharacter
CharacterObjectaffectedCharacter
CharacterObjectcaptain
CharacterObjectcommander
HerospeedBonusFromMovement
floatshotDifficulty
floataffectorWeapon
WeaponComponentDatahitPointRatio
floatmissionType
CombatXpModel.MissionTypeEnumisAffectorMounted
boolisTeamKill
boolisAffectorUnderCommand
booldamageAmount
floatisFatal
boolisSiegeEngineHit
boolisHorseCharge
bool
OnDailyAlleyTick(Alley, Hero)
public static void OnDailyAlleyTick(Alley alley, Hero alleyLeader)
Parameters
OnFoodConsumed(MobileParty, bool)
public static void OnFoodConsumed(MobileParty mobileParty, bool wasStarving)
Parameters
mobileParty
MobilePartywasStarving
bool
OnForceSupplies(MobileParty, ItemRoster, bool)
public static void OnForceSupplies(MobileParty attackerParty, ItemRoster lootedItems, bool attacked)
Parameters
attackerParty
MobilePartylootedItems
ItemRosterattacked
bool
OnForceVolunteers(MobileParty, PartyBase)
public static void OnForceVolunteers(MobileParty attackerParty, PartyBase forcedParty)
Parameters
attackerParty
MobilePartyforcedParty
PartyBase
OnGainRelation(Hero, Hero, float, ChangeRelationDetail)
public static void OnGainRelation(Hero hero, Hero gainedRelationWith, float relationChange, ChangeRelationAction.ChangeRelationDetail detail = ChangeRelationDetail.Default)
Parameters
hero
HerogainedRelationWith
HerorelationChange
floatdetail
ChangeRelationAction.ChangeRelationDetail
OnHeroHealedWhileWaiting(Hero, int)
public static void OnHeroHealedWhileWaiting(Hero hero, int healingAmount)
Parameters
OnHideoutSpotted(MobileParty, PartyBase)
public static void OnHideoutSpotted(MobileParty party, PartyBase spottedParty)
Parameters
party
MobilePartyspottedParty
PartyBase
OnInfluenceSpent(Hero, float)
public static void OnInfluenceSpent(Hero hero, float amountSpent)
Parameters
OnLeadingArmy(MobileParty)
public static void OnLeadingArmy(MobileParty mobileParty)
Parameters
mobileParty
MobileParty
OnLoot(MobileParty, MobileParty, ItemRoster, bool)
public static void OnLoot(MobileParty attackerParty, MobileParty forcedParty, ItemRoster lootedItems, bool attacked)
Parameters
attackerParty
MobilePartyforcedParty
MobilePartylootedItems
ItemRosterattacked
bool
OnMainHeroDisguised(bool)
public static void OnMainHeroDisguised(bool isNotCaught)
Parameters
isNotCaught
bool
OnMainHeroReleasedFromCaptivity(float)
public static void OnMainHeroReleasedFromCaptivity(float captivityTime)
Parameters
captivityTime
float
OnMainHeroTortured()
public static void OnMainHeroTortured()
OnPersuasionSucceeded(Hero, SkillObject, PersuasionDifficulty, int)
public static void OnPersuasionSucceeded(Hero targetHero, SkillObject skill, PersuasionDifficulty difficulty, int argumentDifficultyBonusCoefficient)
Parameters
targetHero
Heroskill
SkillObjectdifficulty
PersuasionDifficultyargumentDifficultyBonusCoefficient
int
OnPrisonBreakEnd(Hero, bool)
public static void OnPrisonBreakEnd(Hero prisonerHero, bool isSucceeded)
Parameters
OnPrisonerSell(MobileParty, in TroopRoster)
public static void OnPrisonerSell(MobileParty mobileParty, in TroopRoster prisonerRoster)
Parameters
mobileParty
MobilePartyprisonerRoster
TroopRoster
OnProductionProducedToWarehouse(EquipmentElement)
public static void OnProductionProducedToWarehouse(EquipmentElement production)
Parameters
production
EquipmentElement
OnRaid(MobileParty, ItemRoster)
public static void OnRaid(MobileParty attackerParty, ItemRoster lootedItems)
Parameters
attackerParty
MobilePartylootedItems
ItemRoster
OnRegularTroopHealedWhileWaiting(MobileParty, int, float)
public static void OnRegularTroopHealedWhileWaiting(MobileParty mobileParty, int healedTroopCount, float averageTier)
Parameters
mobileParty
MobilePartyhealedTroopCount
intaverageTier
float
OnSettlementGoverned(Hero, Settlement)
public static void OnSettlementGoverned(Hero governor, Settlement settlement)
Parameters
governor
Herosettlement
Settlement
OnSettlementProjectFinished(Settlement)
public static void OnSettlementProjectFinished(Settlement settlement)
Parameters
settlement
Settlement
OnSiegeEngineBuilt(MobileParty, SiegeEngineType)
public static void OnSiegeEngineBuilt(MobileParty mobileParty, SiegeEngineType siegeEngine)
Parameters
mobileParty
MobilePartysiegeEngine
SiegeEngineType
OnSiegeEngineDestroyed(MobileParty, SiegeEngineType)
public static void OnSiegeEngineDestroyed(MobileParty party, SiegeEngineType destroyedSiegeEngine)
Parameters
party
MobilePartydestroyedSiegeEngine
SiegeEngineType
OnSieging(MobileParty)
public static void OnSieging(MobileParty mobileParty)
Parameters
mobileParty
MobileParty
OnSimulationCombatKill(CharacterObject, CharacterObject, PartyBase, PartyBase)
public static void OnSimulationCombatKill(CharacterObject affectorCharacter, CharacterObject affectedCharacter, PartyBase affectorParty, PartyBase commanderParty)
Parameters
affectorCharacter
CharacterObjectaffectedCharacter
CharacterObjectaffectorParty
PartyBasecommanderParty
PartyBase
OnSurgeryApplied(MobileParty, bool, int)
public static void OnSurgeryApplied(MobileParty party, bool surgerySuccess, int troopTier)
Parameters
party
MobilePartysurgerySuccess
booltroopTier
int
OnTacticsUsed(MobileParty, float)
public static void OnTacticsUsed(MobileParty party, float xp)
Parameters
party
MobilePartyxp
float
OnTrackDetected(Track)
public static void OnTrackDetected(Track track)
Parameters
track
Track
OnTradeProfitMade(Hero, int)
public static void OnTradeProfitMade(Hero hero, int tradeProfit)
Parameters
OnTradeProfitMade(PartyBase, int)
public static void OnTradeProfitMade(PartyBase party, int tradeProfit)
Parameters
OnTravelOnFoot(Hero, float)
public static void OnTravelOnFoot(Hero hero, float speed)
Parameters
OnTravelOnHorse(Hero, float)
public static void OnTravelOnHorse(Hero hero, float speed)
Parameters
OnTraverseTerrain(MobileParty, TerrainType)
public static void OnTraverseTerrain(MobileParty mobileParty, TerrainType currentTerrainType)
Parameters
mobileParty
MobilePartycurrentTerrainType
TerrainType
OnTroopRecruited(Hero, int, int)
public static void OnTroopRecruited(Hero hero, int amount, int tier)
Parameters
OnUpgradeTroops(PartyBase, CharacterObject, CharacterObject, int)
public static void OnUpgradeTroops(PartyBase party, CharacterObject troop, CharacterObject upgrade, int numberOfTroops)
Parameters
party
PartyBasetroop
CharacterObjectupgrade
CharacterObjectnumberOfTroops
int
OnWallBreached(MobileParty)
public static void OnWallBreached(MobileParty party)
Parameters
party
MobileParty
This page was last modified at 09/01/2024 16:12:00 +00:00 (UTC).