ORK Framework  2.22.0
API Documentation
ORKFramework.Shop.ShopBaseItem Class Reference
Inheritance diagram for ORKFramework.Shop.ShopBaseItem:
ORKFramework.BaseData ORKFramework.IBaseData ORKFramework.Shop.ShopAbility ORKFramework.Shop.ShopAIBehaviour ORKFramework.Shop.ShopAIRuleset ORKFramework.Shop.ShopArmor ORKFramework.Shop.ShopCombatant ORKFramework.Shop.ShopCraftingRecipe ORKFramework.Shop.ShopItem ORKFramework.Shop.ShopWeapon

Public Member Functions

bool CanSell ()
 
virtual void AddShortcut (ref List< ShopWrapperShortcut > list)
 
- Public Member Functions inherited from ORKFramework.BaseData
virtual DataObject GetData ()
 Gets a ORKFramework.DataObject representing the class. More...
 
virtual void SetData (DataObject data)
 Sets the variables of the class using a ORKFramework.DataObject. More...
 
virtual void EditorAutoSetup (string fieldName)
 Called for all fields using the autoSetup option of the ORKFramework.ORKEditorLayoutAttribute. More...
 

Public Attributes

float chance = 100
 
bool limitQuantity = false
 
int quantity = 1
 
bool overridePrice = false
 
int price = 0
 
bool useVariableConditions = false
 
VariableCondition variableCondition