C# Class Server.Engines.Craft.DefGlassblowing

Inheritance: CraftSystem
显示文件 Open project: brodock/runuo 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
DefGlassblowing ( ) : 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