ORK Framework  2.27.1
API Documentation
ORKFramework.ContentLayout Class Reference
Inheritance diagram for ORKFramework.ContentLayout:
ORKFramework.BaseData ORKFramework.IBaseData ORKFramework.TitleContentLayout

Public Member Functions

 ContentLayout (ContentLayoutType type, ContentLayoutInfoType infoType)
 
string GetText (string name, string shortName, string desc, string icon, string typeName, string typeShortName, string typeDesc, string typeIcon, string quantity, string buyPrice, string sellPrice, string totalBuyPrice, string totalSellPrice, string level, string lvlInfo, string useCost, string info)
 
string GetText (string text, string name, string shortName, string desc, string icon, string typeName, string typeShortName, string typeDesc, string typeIcon, string quantity, string buyPrice, string sellPrice, string totalBuyPrice, string totalSellPrice, string level, string lvlInfo, string useCost, string info)
 
string GetInfo (string name, string shortName, string desc, string icon, string typeName, string typeShortName, string typeDesc, string typeIcon, string quantity, string buyPrice, string sellPrice, string totalBuyPrice, string totalSellPrice, string level, string lvlInfo, string useCost, string info)
 
string GetInfo (string text, string name, string shortName, string desc, string icon, string typeName, string typeShortName, string typeDesc, string typeIcon, string quantity, string buyPrice, string sellPrice, string totalBuyPrice, string totalSellPrice, string level, string lvlInfo, string useCost, string info)
 
ChoiceContent GetChoiceContent (object info)
 
ChoiceContent GetChoiceContent (string name)
 
ChoiceContent GetChoiceContent (ContentButton info)
 
ChoiceContent GetChoiceContent (TextImageDescriptionContent[] info)
 
ChoiceContent GetChoiceContent (IContentSimple content)
 
ChoiceContent GetChoiceContent (IContent content, Combatant combatant)
 
ChoiceContent GetChoiceContent (IShortcut content, Combatant combatant)
 
ChoiceContent GetChoiceContent (Combatant combatant)
 
ChoiceContent GetChoiceContent (BestiaryEntry content)
 
ChoiceContent GetChoiceContent (ResearchItem content, Combatant combatant)
 
string GetInfoContent (IShortcut content, string info, Combatant combatant)
 
- 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

ContentLayoutType type = ContentLayoutType.Both
 
string [] text
 
bool removeEmptyLines = false
 
ContentLayoutInfoType infoType = ContentLayoutInfoType.Info
 
bool hideEmptyInfo = false
 
string [] infoText
 
bool infoRemoveEmptyLines = false
 
CustomChoiceSkin customSkin = new CustomChoiceSkin()