C# Class Server.Engines.Craft.DefTinkering

Inheritance: CraftSystem
Afficher le fichier Open project: Grimoric/RunUO.T2A Class Usage Examples

Méthodes publiques

Méthode 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

Méthode Description
DefTinkering ( ) : System

Method Details

AddJewelrySet() public méthode

public AddJewelrySet ( GemType gemType, Type itemType ) : void
gemType GemType
itemType System.Type
Résultat void

CanCraft() public méthode

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

ConsumeOnFailure() public méthode

public ConsumeOnFailure ( Mobile from, Type resourceType, CraftItem craftItem ) : bool
from Mobile
resourceType System.Type
craftItem CraftItem
Résultat bool

GetChanceAtMin() public méthode

public GetChanceAtMin ( CraftItem item ) : double
item CraftItem
Résultat double

InitCraftList() public méthode

public InitCraftList ( ) : void
Résultat void

PlayCraftEffect() public méthode

public PlayCraftEffect ( Mobile from ) : void
from Mobile
Résultat void

PlayEndingEffect() public méthode

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
Résultat int

RetainsColorFrom() public méthode

public RetainsColorFrom ( CraftItem item, Type type ) : bool
item CraftItem
type System.Type
Résultat bool