[][src]Crate game_features

Structs

EffectDefinition
EffectInstance
Faction
FactionFlags
FactionSettings
Inventory
InventoryBuilder

Builder for Inventory.

ItemDefinition

An ItemDefinition stores the different properties of a type of item. It is a schema that contains the data which isn't changing between different item instances.

ItemDefinitionBuilder

Builder for ItemDefinition.

ItemInstance

An ItemInstance is a stack of item. It refers to the ItemDefinition's key. The associated ItemDefinition contains the data describing that object type. An item stack can be composed of one or many of the same item. It can also have a durability, which decreases when the item is used using Inventory::use_item.

ItemInstanceBuilder

Builder for ItemInstance.

LandClaimSettings
Leveled
LootTree

A loot tree based on the lower partial function construct. Each loot tree node has a chance associated with it.

LootTreeBuilder
LootTreeNode
SkillDefinition
SkillInstance
Tiered
User
UserGroup

Clan

UserGroupSettings

Enums

FactionError
InventorySizingMode

The way the inventory size is handled.

ItemError

The different errors that can happen when interacting with the Inventory.

MoveToFrontMode

The way items are removed from the inventory. Indicates if empty spots are left, and if not, how to fill them.

Traits

LevelFor
SlotType

A trait defining which items can be inserted into each inventory slot type.

Stat
StatTransition

Type Definitions

FactionRepository
FactionResult
ItemDefinitionRepository

A simple repository mapping the key K to the corresponding ItemDefinition.

UserRepository