M&B: Bannerlord 1.2.7
The horns sound, the ravens gather.
|
Public Member Functions | |
delegate bool | BarterContextInitializer (Barterable barterable, BarterData args, object obj=null) |
delegate void | BarterCloseEventDelegate () |
delegate void | BarterBeginEventDelegate (BarterData args) |
BarterManager () | |
void | BeginPlayerBarter (BarterData args) |
void | StartBarterOffer (Hero offerer, Hero other, PartyBase offererParty, PartyBase otherParty, Hero beneficiaryOfOtherHero=null, BarterContextInitializer InitContext=null, int persuasionCostReduction=0, bool isAIBarter=false, IEnumerable< Barterable > defaultBarterables=null) |
void | ExecuteAiBarter (IFaction faction1, IFaction faction2, Hero faction1Hero, Hero faction2Hero, Barterable barterable) |
void | ExecuteAiBarter (IFaction faction1, IFaction faction2, Hero faction1Hero, Hero faction2Hero, IEnumerable< Barterable > baseBarterables) |
void | ExecuteAIBarter (BarterData barterData, IFaction faction1, IFaction faction2, Hero faction1Hero, Hero faction2Hero) |
void | Close () |
bool | IsOfferAcceptable (BarterData args, Hero hero, PartyBase party) |
float | GetOfferValueForFaction (BarterData barterData, IFaction faction) |
float | GetOfferValue (Hero selfHero, PartyBase selfParty, PartyBase offererParty, IEnumerable< Barterable > offeredBarters) |
void | ApplyAndFinalizePlayerBarter (Hero offererHero, Hero otherHero, BarterData barterData) |
void | CancelAndFinalizePlayerBarter (Hero offererHero, Hero otherHero, BarterData barterData) |
bool | CanPlayerBarterWithHero (Hero hero) |
bool | InitializeMarriageBarterContext (Barterable barterable, BarterData args, object obj) |
bool | InitializeJoinFactionBarterContext (Barterable barterable, BarterData args, object obj) |
bool | InitializeMakePeaceBarterContext (Barterable barterable, BarterData args, object obj) |
bool | InitializeSafePassageBarterContext (Barterable barterable, BarterData args, object obj) |
Public Attributes | |
BarterCloseEventDelegate | Closed |
BarterBeginEventDelegate | BarterBegin |
Properties | |
static BarterManager | Instance [get] |
bool | LastBarterIsAccepted [get] |
TaleWorlds.CampaignSystem.BarterSystem.BarterManager.BarterManager | ( | ) |
delegate bool TaleWorlds.CampaignSystem.BarterSystem.BarterManager.BarterContextInitializer | ( | Barterable | barterable, |
BarterData | args, | ||
object | obj = null |
||
) |
delegate void TaleWorlds.CampaignSystem.BarterSystem.BarterManager.BarterCloseEventDelegate | ( | ) |
delegate void TaleWorlds.CampaignSystem.BarterSystem.BarterManager.BarterBeginEventDelegate | ( | BarterData | args | ) |
void TaleWorlds.CampaignSystem.BarterSystem.BarterManager.BeginPlayerBarter | ( | BarterData | args | ) |
void TaleWorlds.CampaignSystem.BarterSystem.BarterManager.StartBarterOffer | ( | Hero | offerer, |
Hero | other, | ||
PartyBase | offererParty, | ||
PartyBase | otherParty, | ||
Hero | beneficiaryOfOtherHero = null , |
||
BarterContextInitializer | InitContext = null , |
||
int | persuasionCostReduction = 0 , |
||
bool | isAIBarter = false , |
||
IEnumerable< Barterable > | defaultBarterables = null |
||
) |
void TaleWorlds.CampaignSystem.BarterSystem.BarterManager.ExecuteAiBarter | ( | IFaction | faction1, |
IFaction | faction2, | ||
Hero | faction1Hero, | ||
Hero | faction2Hero, | ||
Barterable | barterable | ||
) |
void TaleWorlds.CampaignSystem.BarterSystem.BarterManager.ExecuteAiBarter | ( | IFaction | faction1, |
IFaction | faction2, | ||
Hero | faction1Hero, | ||
Hero | faction2Hero, | ||
IEnumerable< Barterable > | baseBarterables | ||
) |
void TaleWorlds.CampaignSystem.BarterSystem.BarterManager.ExecuteAIBarter | ( | BarterData | barterData, |
IFaction | faction1, | ||
IFaction | faction2, | ||
Hero | faction1Hero, | ||
Hero | faction2Hero | ||
) |
void TaleWorlds.CampaignSystem.BarterSystem.BarterManager.Close | ( | ) |
bool TaleWorlds.CampaignSystem.BarterSystem.BarterManager.IsOfferAcceptable | ( | BarterData | args, |
Hero | hero, | ||
PartyBase | party | ||
) |
float TaleWorlds.CampaignSystem.BarterSystem.BarterManager.GetOfferValueForFaction | ( | BarterData | barterData, |
IFaction | faction | ||
) |
float TaleWorlds.CampaignSystem.BarterSystem.BarterManager.GetOfferValue | ( | Hero | selfHero, |
PartyBase | selfParty, | ||
PartyBase | offererParty, | ||
IEnumerable< Barterable > | offeredBarters | ||
) |
void TaleWorlds.CampaignSystem.BarterSystem.BarterManager.ApplyAndFinalizePlayerBarter | ( | Hero | offererHero, |
Hero | otherHero, | ||
BarterData | barterData | ||
) |
void TaleWorlds.CampaignSystem.BarterSystem.BarterManager.CancelAndFinalizePlayerBarter | ( | Hero | offererHero, |
Hero | otherHero, | ||
BarterData | barterData | ||
) |
bool TaleWorlds.CampaignSystem.BarterSystem.BarterManager.CanPlayerBarterWithHero | ( | Hero | hero | ) |
bool TaleWorlds.CampaignSystem.BarterSystem.BarterManager.InitializeMarriageBarterContext | ( | Barterable | barterable, |
BarterData | args, | ||
object | obj | ||
) |
bool TaleWorlds.CampaignSystem.BarterSystem.BarterManager.InitializeJoinFactionBarterContext | ( | Barterable | barterable, |
BarterData | args, | ||
object | obj | ||
) |
bool TaleWorlds.CampaignSystem.BarterSystem.BarterManager.InitializeMakePeaceBarterContext | ( | Barterable | barterable, |
BarterData | args, | ||
object | obj | ||
) |
bool TaleWorlds.CampaignSystem.BarterSystem.BarterManager.InitializeSafePassageBarterContext | ( | Barterable | barterable, |
BarterData | args, | ||
object | obj | ||
) |
BarterCloseEventDelegate TaleWorlds.CampaignSystem.BarterSystem.BarterManager.Closed |
BarterBeginEventDelegate TaleWorlds.CampaignSystem.BarterSystem.BarterManager.BarterBegin |
|
staticget |
|
get |