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

Inherits TaleWorlds.Core.GameModel.

Inherited by TaleWorlds.CampaignSystem.GameComponents.DefaultItemDiscardModel.

Public Member Functions

int GetXpBonusForDiscardingItems (ItemRoster itemRoster)
 
int GetXpBonusForDiscardingItem (ItemObject item, int amount=1)
 
bool PlayerCanDonateItem (ItemObject item)
 

Member Function Documentation

◆ GetXpBonusForDiscardingItems()

int TaleWorlds.CampaignSystem.ComponentInterfaces.ItemDiscardModel.GetXpBonusForDiscardingItems ( ItemRoster itemRoster)
abstract

◆ GetXpBonusForDiscardingItem()

int TaleWorlds.CampaignSystem.ComponentInterfaces.ItemDiscardModel.GetXpBonusForDiscardingItem ( ItemObject item,
int amount = 1 )
abstract

◆ PlayerCanDonateItem()

bool TaleWorlds.CampaignSystem.ComponentInterfaces.ItemDiscardModel.PlayerCanDonateItem ( ItemObject item)
abstract