C# Class Server.Engines.Craft.DefTinkering

Inheritance: CraftSystem
ファイルを表示 Open project: Grimoric/RunUO.T2A Class Usage Examples

Public Methods

Method Description
AddJewelrySet ( GemType gemType, Type itemType ) : void
CanCraft ( Mobile from, BaseTool tool, Type itemType ) : int
ConsumeOnFailure ( Mobile from, Type resourceType, CraftItem craftItem ) : bool
GetChanceAtMin ( CraftItem item ) : double
InitCraftList ( ) : void
PlayCraftEffect ( Mobile from ) : void
PlayEndingEffect ( Mobile from, bool failed, bool lostMaterial, bool toolBroken, int quality, bool makersMark, CraftItem item ) : int
RetainsColorFrom ( CraftItem item, Type type ) : bool

Private Methods

Method Description
DefTinkering ( ) : System

Method Details

AddJewelrySet() public method

public AddJewelrySet ( GemType gemType, Type itemType ) : void
gemType GemType
itemType System.Type
return void

CanCraft() public method

public CanCraft ( Mobile from, BaseTool tool, Type itemType ) : int
from Mobile
tool Server.Items.BaseTool
itemType System.Type
return int

ConsumeOnFailure() public method

public ConsumeOnFailure ( Mobile from, Type resourceType, CraftItem craftItem ) : bool
from Mobile
resourceType System.Type
craftItem CraftItem
return bool

GetChanceAtMin() public method

public GetChanceAtMin ( CraftItem item ) : double
item CraftItem
return double

InitCraftList() public method

public InitCraftList ( ) : void
return void

PlayCraftEffect() public method

public PlayCraftEffect ( Mobile from ) : void
from Mobile
return void

PlayEndingEffect() public method

public PlayEndingEffect ( Mobile from, bool failed, bool lostMaterial, bool toolBroken, int quality, bool makersMark, CraftItem item ) : int
from Mobile
failed bool
lostMaterial bool
toolBroken bool
quality int
makersMark bool
item CraftItem
return int

RetainsColorFrom() public method

public RetainsColorFrom ( CraftItem item, Type type ) : bool
item CraftItem
type System.Type
return bool