Riwmorld
RimWorld.TradeShip Class Reference
Inheritance diagram for RimWorld.TradeShip:
RimWorld.PassingShip RimWorld.ITrader RimWorld.ICommunicable Verse.ILoadReferenceable Verse.IExposable

Public Member Functions

 TradeShip (TraderKindDef def)
 
void AddToStock (Thing thing, Pawn playerNegotiator)
 
void ChangeCountHeldOf (ThingDef thingDef, ThingDef stuffDef, int count)
 
IEnumerable< ThingColonyThingsWillingToBuy (Pawn playerNegotiator)
 
int CountHeldOf (ThingDef thingDef, ThingDef stuffDef=null)
 
override void Depart ()
 
override void ExposeData ()
 
void GenerateThings ()
 
override string GetCallLabel ()
 
void GiveSoldThingToPlayer (Thing toGive, Thing originalThingFromStock, Pawn playerNegotiator)
 
override void PassingShipTick ()
 
override string ToString ()
 
override void TryOpenComms (Pawn negotiator)
 
- Public Member Functions inherited from RimWorld.PassingShip
string GetInfoText ()
 
string GetUniqueLoadID ()
 

Public Attributes

TraderKindDef def
 
- Public Attributes inherited from RimWorld.PassingShip
PassingShipManager passingShipManager
 
string name = "Nameless"
 
int ticksUntilDeparture = 40000
 

Properties

bool CanTradeNow [get]
 
override string FullTitle [get]
 
IEnumerable< ThingGoods [get]
 
int RandomPriceFactorSeed [get]
 
int Silver [get]
 
float TradePriceImprovementOffsetForPlayer [get]
 
TraderKindDef TraderKind [get]
 
string TraderName [get]
 
- Properties inherited from RimWorld.PassingShip
bool Departed [get]
 
virtual string FullTitle [get]
 
Verse.Map Map [get]
 
- Properties inherited from RimWorld.ITrader
bool CanTradeNow [get]
 
IEnumerable< ThingGoods [get]
 
int RandomPriceFactorSeed [get]
 
float TradePriceImprovementOffsetForPlayer [get]
 
TraderKindDef TraderKind [get]
 
string TraderName [get]
 

Additional Inherited Members

- Protected Attributes inherited from RimWorld.PassingShip
int loadID = -1
 

The documentation for this class was generated from the following file: