C# Class MerchantRPG.Data.Item

Mostra file Open project: subchannel13/MerchantRPG-combinator

Public Properties

Property Type Description
Accuracy double
Attack double
CriticalRate double
Defense double
Dexterity double
HP double
Intelligence double
Level int
MagicAttack double
MagicDefense double
Name string
Slot ItemSlot
StatFields System.Reflection.FieldInfo[]
Strength double
Template ItemTemplate

Public Methods

Method Description
Item ( ItemTemplate template, double attack, double magicAttack, double accuracy, double criticalRate, double defense, double magicDefense, double strength, double intelligence, double dexterity, double hp ) : System
Item ( string name, int level, ItemSlot slot, double attack, double magicAttack, double accuracy, double criticalRate, double defense, double magicDefense, double strength, double intelligence, double dexterity, double hp ) : System

Private Methods

Method Description
initStatFields ( ) : System.Reflection.FieldInfo[]

Method Details

Item() public method

public Item ( ItemTemplate template, double attack, double magicAttack, double accuracy, double criticalRate, double defense, double magicDefense, double strength, double intelligence, double dexterity, double hp ) : System
template ItemTemplate
attack double
magicAttack double
accuracy double
criticalRate double
defense double
magicDefense double
strength double
intelligence double
dexterity double
hp double
return System

Item() public method

public Item ( string name, int level, ItemSlot slot, double attack, double magicAttack, double accuracy, double criticalRate, double defense, double magicDefense, double strength, double intelligence, double dexterity, double hp ) : System
name string
level int
slot ItemSlot
attack double
magicAttack double
accuracy double
criticalRate double
defense double
magicDefense double
strength double
intelligence double
dexterity double
hp double
return System

Property Details

Accuracy public_oe property

public double Accuracy
return double

Attack public_oe property

public double Attack
return double

CriticalRate public_oe property

public double CriticalRate
return double

Defense public_oe property

public double Defense
return double

Dexterity public_oe property

public double Dexterity
return double

HP public_oe property

public double HP
return double

Intelligence public_oe property

public double Intelligence
return double

Level public_oe property

public int Level
return int

MagicAttack public_oe property

public double MagicAttack
return double

MagicDefense public_oe property

public double MagicDefense
return double

Name public_oe property

public string Name
return string

Slot public_oe property

public ItemSlot Slot
return ItemSlot

StatFields public_oe static_oe property

public static FieldInfo[],System.Reflection StatFields
return System.Reflection.FieldInfo[]

Strength public_oe property

public double Strength
return double

Template public_oe property

public ItemTemplate,MerchantRPG.Data Template
return ItemTemplate