Table of Contents

Class TradeRumor

Namespace
TaleWorlds.CampaignSystem
Assembly
TaleWorlds.CampaignSystem.dll
public class TradeRumor
Inheritance
TradeRumor
Inherited Members

Constructors

TradeRumor(Settlement, ItemObject, int, int, int)

public TradeRumor(Settlement settlement, ItemObject itemCategory, int buyPrice, int sellPrice, int rumorLife)

Parameters

settlement Settlement
itemCategory ItemObject
buyPrice int
sellPrice int
rumorLife int

Fields

BuyPrice

[SaveableField(2)]
public readonly int BuyPrice

Field Value

int

ItemCategory

[SaveableField(1)]
public readonly ItemObject ItemCategory

Field Value

ItemObject

SellPrice

[SaveableField(3)]
public readonly int SellPrice

Field Value

int

Settlement

[SaveableField(0)]
public readonly Settlement Settlement

Field Value

Settlement

Properties

RumorEndTime

[SaveableProperty(4)]
public CampaignTime RumorEndTime { get; }

Property Value

CampaignTime

Methods

AutoGeneratedInstanceCollectObjects(List<object>)

protected virtual void AutoGeneratedInstanceCollectObjects(List<object> collectedObjects)

Parameters

collectedObjects List<object>

IsCompatable(ItemObject)

public bool IsCompatable(ItemObject item)

Parameters

item ItemObject

Returns

bool

IsExpired()

public bool IsExpired()

Returns

bool

This page was last modified at 09/01/2024 16:12:00 +00:00 (UTC).