C# Class Server.Engines.Craft.DefCooking

Inheritance: CraftSystem
Mostra file Open project: Grimoric/RunUO.T2A Class Usage Examples

Public Methods

Method Description
CanCraft ( Mobile from, BaseTool tool, Type itemType ) : int
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

Private Methods

Method Description
DefCooking ( ) : System

Method Details

CanCraft() public method

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

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