ORK Framework  2.25.2
API Documentation
ORKFramework.Shop.ShopSetting Class Reference
Inheritance diagram for ORKFramework.Shop.ShopSetting:
ORKFramework.BaseLanguageData ORKFramework.IContentSimple ORKFramework.BaseIndexData ORKFramework.BaseData ORKFramework.IBaseData

Public Member Functions

 ShopSetting (string name)
 
override void SetData (DataObject data)
 Sets the variables of the class using a ORKFramework.DataObject. More...
 
void GetItemList (ref List< ShopWrapperShortcut > list)
 
float ExchangeCurrency (float money)
 
string GetName ()
 
string GetDescription ()
 
string GetIconTextCode ()
 
Texture GetIcon ()
 
GUIContent GetContent ()
 
- Public Member Functions inherited from ORKFramework.BaseLanguageData
 BaseLanguageData (string name)
 
- Public Member Functions inherited from ORKFramework.BaseData
virtual DataObject GetData ()
 Gets a ORKFramework.DataObject representing the class. More...
 
virtual void EditorAutoSetup (string fieldName)
 Called for all fields using the autoSetup option of the ORKFramework.ORKEditorLayoutAttribute. More...
 

Public Attributes

bool useInventoryExchangeMenu = false
 
int menuScreenID = 0
 
int layoutID = 0
 
bool blockControl = true
 
bool blockMoveAI = false
 
bool blockOwnerMoveAI = false
 
bool blockControlMaps = false
 
bool pauseNotifications = false
 
bool pauseGame = false
 
bool pauseTime = false
 
bool freezePause = false
 
bool setTimeScale = false
 
bool setORKScale = false
 
float timeScale = 1
 
bool saveShop = false
 
bool saveSold = false
 
bool ownBG = false
 
BackgroundImage [] background
 
bool sellAllItemTypes = true
 
int [] sellItemTypeID
 
int currencyID = 0
 
bool setExchangeRate = false
 
float exchangeRate = 1
 
Rounding buyPriceRounding = Rounding.None
 
Rounding sellPriceRounding = Rounding.None
 
bool useBuyPriceModifier = false
 
FloatValue buyPriceModifier
 
bool useSellPriceModifier = false
 
FloatValue sellPriceModifier
 
bool ownMusic = false
 
int musicStoreID = 1
 
PlayMusic playMusic
 
PlayMusicStored playStored
 
bool lootRandom = false
 
int [] lootID = new int[0]
 
ShopItem [] item = new ShopItem[0]
 
ShopWeapon [] weapon = new ShopWeapon[0]
 
ShopArmor [] armor = new ShopArmor[0]
 
ShopAbility [] ability = new ShopAbility[0]
 
ShopCombatant [] combatant = new ShopCombatant[0]
 
ShopAIBehaviour [] aiBehaviour = new ShopAIBehaviour[0]
 
ShopAIRuleset [] aiRuleset = new ShopAIRuleset[0]
 
ShopCraftingRecipe [] craftingRecipe = new ShopCraftingRecipe[0]
 
- Public Attributes inherited from ORKFramework.BaseLanguageData
LanguageInfo [] languageInfo
 

Properties

int ID [get]
 
- Properties inherited from ORKFramework.BaseIndexData
virtual int RealID [get, set]
 
- Properties inherited from ORKFramework.IContentSimple
int ID [get]
 

Additional Inherited Members

- Protected Attributes inherited from ORKFramework.BaseIndexData
int realID = 0
 

Member Function Documentation

◆ SetData()

override void ORKFramework.Shop.ShopSetting.SetData ( DataObject  data)
virtual

Sets the variables of the class using a ORKFramework.DataObject.

Parameters
dataORKFramework.DataObject containing the data.

Reimplemented from ORKFramework.BaseData.