Use the links below to get details on each class available in the ItemCore.dll, only public fields/properties/methods/constructors etc etc are available.
Links to each datatype/class mentioned in the return types are also link to their own documentation.
Classes:
FileReader
Back To Top
Inheritance Hierarchy
- ItemCore.FileReader
NameSpace: ItemCore
Class Deffinition:
public class FileReader : BinaryReader
Constructors
Name | Description |
FileReader(Stream input) | Creates a new FileReader using an existing Stream. On a supplied stream using |
Methods
Return Type | Name | Description |
Itemtype | ReadItemtype() | Reads a block of Itemtype data from the current stream and advances the current position of the stream by the size of the itemtype data. |
ItemData | ReadItemData() | Reads a block of ItemData from the current stream and advances the current position by 244 bytes. |
FileWriter
Back To Top
Inheritance Hierarchy
- ItemCore.FileWriter
NameSpace: ItemCore
Class Deffinition:
public class FileWriter : BinaryWriter
Constructors
Name | Description |
FileWriter(Stream output) | Creates a new FileWriter using an existing Stream. On a supplied stream using |
Methods
Return Type | Name | Description |
Write(Itemtype) | Writes a block of Itemtype data to the current stream and advances the current position of the stream by the size of the itemtype data. | |
Write(ItemData) | Writes a block of ItemData to the current stream and advances the current position by 244 bytes. |
Frame
Back To Top
Inheritance Hierarchy
- ItemCore.Frame
NameSpace: ItemCore
Class Deffinition:
public class Frame
Constructors
Name | Description |
Frame() | Creates a frame without a file name. |
Frame(string fileName) | Creates a frame with the specified file name. |
Methods
Return Type | Name | Description |
ToString() | Gets the String representation of the Frame. Can be used to get the string form saved in an INI file. |
Properties
Return Type | Name | Description |
FileName | Gets or Sets the File Name of the Frame. | |
FileExists | Checks if the File of the Frame exists. |
Icon
Back To Top
Inheritance Hierarchy
- ItemCore.Icon
NameSpace: ItemCore
Class Deffinition:
public class Icon
Constructors
Name | Description |
Icon() | Creates a new Icon with an empty Frame set. |
Icon(Frame[] frames) | Creates a new Icon with an array of Frames. |
Methods
Return Type | Name | Description |
InsertFrame(Frame frame, int index) | Inserts a new frame at the given index and push the rest forward. | |
ReplaceFrame(Frame frame, int index) | Replace the Frame at the given Index. | |
AddNewFrame(Frame frame) | Add a new Frame at the end of the frame set. | |
ToString() | Gets the String representation of the Frame. Can be used to get the string form saved in an INI file. |
Properties
Return Type | Name | Description |
<Frame | Frames | Gets a list of all the Frames for the Icon. |
Frame | [int frameIndex] | Gets or Sets the frame based on the frameIndex. Use the index of a new frame to add a new frame (must be equal to Count). |
Frame | CurrentFrame | Gets the Current Frame for the Icon. |
Frame | NextFrame | Gets the Next Frame for the Icon. |
ItemData
Back To Top
Inheritance Hierarchy
- ItemCore.ItemData
NameSpace: ItemCore
Class Deffinition:
public class ItemData
Constructors
Name | Description |
ItemData() | Creates a new instance of ItemData, ID = 0 Name = Blank, all other values = default. |
ItemData(uint id, string name) | Basic Constructor. Sets all default values and uses an assigned ID/Name of the new Item. |
ItemData(uint id, uint price, uint id_action, uint monster_type, uint emoney, uint soul_value, int mana, string name, string description, bool ident, byte req_profession, byte level, byte req_level, byte req_sex, byte monopoly, byte gem1, byte gem2, byte magic1, byte magic2, byte magic3, byte able_mask, byte exp_type, ushort official1, ushort official2, ushort official3, ushort official4, ushort official5, ushort official6, ushort official7, ushort official8, ushort official9, ushort official10, ushort official11, ushort official12, ushort req_force, ushort req_dex, ushort req_health, ushort req_soul, ushort weight, ushort attack_max, ushort attack_min, ushort magic_atk_min, ushort amount, ushort amount_limit, ushort magic_atk_max, ushort magic_def, ushort atk_range, ushort atk_speed, ushort hitrate, ushort target, ushort defense, short life, short dodge) | Creates new item data based on all the passed fields. |
ItemData(ItemData baseItem) | Creates a new instance of ItemData using an existing item data object. (used for cloning) |
Methods
Return Type | Name | Description |
ToString() | Gets a string representation of the ItemData. Format = "ID Name" |
Properties
Return Type | Name | Description |
ID | Gets or Sets the ID of the Item. | |
Name | Gets or Sets the Name of the Item. | |
RequiredProfession | Gets or Sets the Required Profession of the Item. | |
Level | Gets or Sets the Level of the Item. | |
RequiredLevel | Gets or Sets the Required Level of the Item. | |
RequiredSex | Gets or Sets the Required Sex of the Item. | |
RequiredForce | Gets or Sets the Required Force of the Item. | |
RequiredDexterity | Gets or Sets the Required Dexterity of the Item. | |
RequiredHealth | Gets or Sets the Required Health of the Item. | |
RequiredSoul | Gets or Sets the Required Soul of the Item. | |
Monopoly | Gets or Sets the Monopoly of the Item. | |
Weight | Gets or Sets the Weight of the Item. | |
GoldPrice | Gets or Sets the Gold Price of the Item. | |
ActionID | Gets or Sets the Action ID of the Item. | |
PhysicalAttackMax | Gets or Sets the Maximum Physical Attack of the Item. | |
PhysicalAttackMin | Gets or Sets the Minimum Physical Attack of the Item. | |
PhysicalDefence | Gets or Sets the Physical Defence of the Item. | |
MagicalAttackMin | Gets or Sets the Minimum Physical Attack of the Item. | |
Dodge | Gets or Sets the Dodge of the Item. | |
Life | Gets or Sets the Life of the Item. | |
Mana | Gets or Sets the Mana of the Item. | |
Amount | Gets or Sets the Minimum Amount of the Item. | |
AmountLimit | Gets or Sets the Maximum Amount of the Item. | |
Identified | Gets or Sets the Identified state of the Item. | |
GemOne | Gets or Sets the Gem One value of the Item. | |
GemTwo | Gets or Sets the Gem Two value of the Item. | |
MagicOne | Gets or Sets the Magic One value of the Item. | |
MagicTwo | Gets or Sets the Magic Two value of the Item. | |
MagicThree | Gets or Sets the Magic Three value of the Item. | |
MagicalAttackMax | Gets or Sets the Maximum Magical Attack of the Item. | |
MagicalDefence | Gets or Sets the Magical Defence of the Item. | |
AttackRange | Gets or Sets the Attack Range of the Item. | |
AttackSpeed | Gets or Sets the Attack Speed of the Item. | |
Hitrate | Gets or Sets the Hitrate of the Item. | |
MonsterType | Gets or Sets the Monster Type of the Item. | |
Target | Gets or Sets the Target of the Item. | |
AbleMask | Gets or Sets the Able Mask of the Item | |
ExperienceType | Gets or Sets the Experience Type of the Item. | |
EPCost | Gets or Sets the EP Cost of the Item. | |
KnightOne | Gets or Sets the Knight One value of the Item. | |
KnightTwo | Gets or Sets the Knight Two value of the Item. | |
KnightThree | Gets or Sets the Knight Three value of the Item. | |
KnightFour | Gets or Sets the Knight Four value of the Item. | |
KnightFive | Gets or Sets the Knight Five value of the Item. | |
KnightSix | Gets or Sets the Knight Six value of the Item. | |
KnightSeven | Gets or Sets the Knight Seven value of the Item. | |
KnightEight | Gets or Sets the Knight Eight value of the Item. | |
KnightNine | Gets or Sets the Knight Nine value of the Item. | |
KnightTen | Gets or Sets the Knight Ten value of the Item. | |
KnightEleven | Gets or Sets the Knight Eleven value of the Item. | |
KnightTwelve | Gets or Sets the Knight Twelve value of the Item. | |
SoulValue | Gets or Sets the Soul Value of the Item. | |
Description | Gets or Sets the Description of the Item. |
Constants
Type & Value | Name | Description |
16 | NAMESTRINGSIZE | Size of the Name block within the ItemData. |
128 | DESCRIPTIONSTRINGSIZE | Size of the Description block within the ItemData. |
ItemMinIcon
Back To Top
Inheritance Hierarchy
- ItemCore.ItemMinIcon
NameSpace: ItemCore
Class Deffinition:
public class ItemMinIcon
Constructors
Name | Description |
ItemMinIcon() | Sets up a blank Item Min Icon object. |
ItemMinIcon(Icon defaultIcon) | Sets up an Item Min Icon object with a default Icon. |
ItemMinIcon( fileName) | Loads an Item Min Icon object from a file. |
Properties
Return Type | Name | Description |
Icon | Default | Gets or Sets the Default Icon for the Itemtype. Used when an Icon's file is not found. |
Icon | [uint id] | Gets or Sets the Icon given the ID. |
Count | Gets the Count of Icons found in the Item Min Icon, the default icon is not counted. |
Itemtype
Back To Top
Inheritance Hierarchy
- ItemCore.ItemType
NameSpace: ItemCore
Class Deffinition:
public class Itemtype
Constructors
Name | Description |
Itemtype() | Creates a blank instance of an Itemtype object. |
Properties
Return Type | Name | Description |
<> | IDList | Gets a list of all the IDs found in the Itemtype. |
ItemData | [uint id] | Gets or Sets Item Data for the Itemtype given the ID of the Item. Suggest using "UpdateItem" method when changing data, "AddNewItem" when adding data and "DeleteItem" when removing data. |
<, ItemData> | Items | Gets a collection of items within the Itemtype. |