ORK Framework  2.25.2
API Documentation
ORKFramework.Events.EventItemGain Class Reference
Inheritance diagram for ORKFramework.Events.EventItemGain:
ORKFramework.BaseData ORKFramework.IBaseData

Public Member Functions

override void SetData (DataObject data)
 Sets the variables of the class using a ORKFramework.DataObject. More...
 
ItemGain GetItemGain (BaseEvent baseEvent)
 
void GetFromInventory (BaseEvent baseEvent, Inventory inventory, bool useChance, ref List< IShortcut > list)
 
void GetInfoText (StringBuilder builder)
 
string GetInfoText ()
 
- 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

ItemDropType type = ItemDropType.Item
 
int id = 0
 
int level = 1
 
EventInteger quantityValue = new EventInteger(1)
 
EventFloat chanceValue = new EventFloat(100)
 

Member Function Documentation

◆ SetData()

override void ORKFramework.Events.EventItemGain.SetData ( DataObject  data)
virtual

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

Parameters
dataORKFramework.DataObject containing the data.

Reimplemented from ORKFramework.BaseData.