◆ StoreInfo() [1/2]
◆ StoreInfo() [2/2]
Barotrauma.Location.StoreInfo.StoreInfo |
( |
Location | location, |
|
|
XElement | storeElement ) |
◆ AddStock()
void Barotrauma.Location.StoreInfo.AddStock |
( |
List< SoldItem > | items | ) |
|
◆ CreateInitialStockItem()
static PurchasedItem Barotrauma.Location.StoreInfo.CreateInitialStockItem |
( |
ItemPrefab | itemPrefab, |
|
|
PriceInfo | priceInfo ) |
|
static |
◆ CreateStock()
List< PurchasedItem > Barotrauma.Location.StoreInfo.CreateStock |
( |
| ) |
|
◆ GeneratePriceModifier()
void Barotrauma.Location.StoreInfo.GeneratePriceModifier |
( |
| ) |
|
◆ GenerateSpecials()
void Barotrauma.Location.StoreInfo.GenerateSpecials |
( |
| ) |
|
◆ GetAdjustedItemBuyPrice()
int Barotrauma.Location.StoreInfo.GetAdjustedItemBuyPrice |
( |
ItemPrefab | item, |
|
|
PriceInfo | priceInfo = null, |
|
|
bool | considerDailySpecials = true ) |
- Parameters
-
priceInfo | If null, item.GetPriceInfo() will be used to get it. |
///
- Parameters
-
considerDailySpecials | If false, the price won't be affected by DailySpecialPriceModifier |
◆ GetAdjustedItemSellPrice()
int Barotrauma.Location.StoreInfo.GetAdjustedItemSellPrice |
( |
ItemPrefab | item, |
|
|
PriceInfo | priceInfo = null, |
|
|
bool | considerRequestedGoods = true ) |
- Parameters
-
priceInfo | If null, item.GetPriceInfo() will be used to get it. |
considerRequestedGoods | If false, the price won't be affected by RequestGoodPriceModifier |
◆ GetMerchantOrLocationFactionIdentifier()
Identifier Barotrauma.Location.StoreInfo.GetMerchantOrLocationFactionIdentifier |
( |
| ) |
|
◆ GetReputationModifier()
float Barotrauma.Location.StoreInfo.GetReputationModifier |
( |
bool | buying | ) |
|
◆ RemoveStock()
void Barotrauma.Location.StoreInfo.RemoveStock |
( |
List< PurchasedItem > | items | ) |
|
◆ SetMerchantFaction()
void Barotrauma.Location.StoreInfo.SetMerchantFaction |
( |
Identifier | factionIdentifier | ) |
|
◆ ToString()
override string Barotrauma.Location.StoreInfo.ToString |
( |
| ) |
|
◆ Balance
int Barotrauma.Location.StoreInfo.Balance |
|
getset |
◆ DailySpecials
◆ Identifier
Identifier Barotrauma.Location.StoreInfo.Identifier |
|
get |
◆ Location
Location Barotrauma.Location.StoreInfo.Location |
|
get |
◆ MerchantFaction
Identifier Barotrauma.Location.StoreInfo.MerchantFaction |
|
get |
◆ PriceModifier
int Barotrauma.Location.StoreInfo.PriceModifier |
|
getset |
In percentages. Larger values make buying more expensive and selling less profitable, and vice versa.
◆ RequestedGoods
◆ Stock
List<PurchasedItem> Barotrauma.Location.StoreInfo.Stock = new List<PurchasedItem>() |
|
get |
The documentation for this class was generated from the following file:
- /home/runner/work/Luatrauma.Docs/Luatrauma.Docs/libs/LuaCsForBarotrauma/Barotrauma/BarotraumaShared/SharedSource/Map/Map/Location.cs