Class DaggerfallLoot
Enables a world object to be lootable by player.
Inheritance
DaggerfallLoot
Assembly: Assembly-CSharp.dll
Syntax
public class DaggerfallLoot : MonoBehaviour
Fields
|
Improve this Doc
View Source
ContainerImage
Declaration
public InventoryContainerImages ContainerImage
Field Value
|
Improve this Doc
View Source
ContainerType
Declaration
public LootContainerTypes ContainerType
Field Value
|
Improve this Doc
View Source
customDrop
Declaration
Field Value
|
Improve this Doc
View Source
entityName
Declaration
Field Value
|
Improve this Doc
View Source
houseOwned
Declaration
Field Value
|
Improve this Doc
View Source
isEnemyClass
Declaration
Field Value
|
Improve this Doc
View Source
playerOwned
Declaration
Field Value
|
Improve this Doc
View Source
randomTreasureMarkerDim
Declaration
public const int randomTreasureMarkerDim = 40
Field Value
|
Improve this Doc
View Source
stockedDate
Declaration
Field Value
|
Improve this Doc
View Source
TextureArchive
Declaration
public int TextureArchive
Field Value
|
Improve this Doc
View Source
TextureRecord
Declaration
Field Value
|
Improve this Doc
View Source
WorldContext
Declaration
public WorldContext WorldContext
Field Value
Properties
|
Improve this Doc
View Source
Items
Declaration
public ItemCollection Items { get; }
Property Value
|
Improve this Doc
View Source
LoadID
Declaration
public ulong LoadID { get; set; }
Property Value
Methods
|
Improve this Doc
View Source
CreateStockedDate(DaggerfallDateTime)
Declaration
public static int CreateStockedDate(DaggerfallDateTime date)
Parameters
Returns
|
Improve this Doc
View Source
GenerateItems(String, ItemCollection)
Generates items in the given item collection based on loot table key.
Any existing items will be destroyed.
Declaration
public static void GenerateItems(string LootTableKey, ItemCollection collection)
Parameters
|
Improve this Doc
View Source
OnInventoryClose()
Called when this loot collection is closed by inventory window
Declaration
public void OnInventoryClose()
|
Improve this Doc
View Source
OnInventoryOpen()
Called when this loot collection is opened by inventory window
Declaration
public void OnInventoryOpen()
|
Improve this Doc
View Source
RandomlyAddMap(Int32, ItemCollection)
Declaration
public static void RandomlyAddMap(int chance, ItemCollection collection)
Parameters
|
Improve this Doc
View Source
RandomlyAddPotion(Int32, ItemCollection)
Declaration
public static void RandomlyAddPotion(int chance, ItemCollection collection)
Parameters
|
Improve this Doc
View Source
RandomlyAddPotionRecipe(Int32, ItemCollection)
Randomly add a potion recipe
Declaration
public static void RandomlyAddPotionRecipe(int chance, ItemCollection collection)
Parameters
|
Improve this Doc
View Source
StockHouseContainer(PlayerGPS.DiscoveredBuilding)
Declaration
public void StockHouseContainer(PlayerGPS.DiscoveredBuilding buildingData)
Parameters
|
Improve this Doc
View Source
StockShopShelf(PlayerGPS.DiscoveredBuilding)
Declaration
public void StockShopShelf(PlayerGPS.DiscoveredBuilding buildingData)
Parameters
Extension Methods
MBExtensions.Invoke<T1, T2, T3, T4>(MonoBehaviour, Action<T1, T2, T3, T4>, T1, T2, T3, T4, Single)