C# Class Server.Items.BasePotion

Inheritance: Item, ICraftable, ICommodity
Mostra file Open project: brodock/runuo Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
BasePotion ( Server.Serial serial ) : System
BasePotion ( int itemID, PotionEffect effect ) : System
Deserialize ( Server.GenericReader reader ) : void
Drink ( Server.Mobile from ) : void
EnhancePotions ( Server.Mobile m ) : int
HasFreeHand ( Server.Mobile m ) : bool
OnCraft ( int quality, bool makersMark, Server.Mobile from, CraftSystem craftSystem, Type typeRes, BaseTool tool, CraftItem craftItem, int resHue ) : int
OnDoubleClick ( Server.Mobile from ) : void
PlayDrinkEffect ( Server.Mobile m ) : void
Scale ( Server.Mobile m, System.TimeSpan v ) : System.TimeSpan
Scale ( Server.Mobile m, double v ) : double
Scale ( Server.Mobile m, int v ) : int
Serialize ( Server.GenericWriter writer ) : void
StackWith ( Server.Mobile from, Item dropped, bool playSound ) : bool

Method Details

BasePotion() public method

public BasePotion ( Server.Serial serial ) : System
serial Server.Serial
return System

BasePotion() public method

public BasePotion ( int itemID, PotionEffect effect ) : System
itemID int
effect PotionEffect
return System

Deserialize() public method

public Deserialize ( Server.GenericReader reader ) : void
reader Server.GenericReader
return void

Drink() public abstract method

public abstract Drink ( Server.Mobile from ) : void
from Server.Mobile
return void

EnhancePotions() public static method

public static EnhancePotions ( Server.Mobile m ) : int
m Server.Mobile
return int

HasFreeHand() public static method

public static HasFreeHand ( Server.Mobile m ) : bool
m Server.Mobile
return bool

OnCraft() public method

public OnCraft ( int quality, bool makersMark, Server.Mobile from, CraftSystem craftSystem, Type typeRes, BaseTool tool, CraftItem craftItem, int resHue ) : int
quality int
makersMark bool
from Server.Mobile
craftSystem Server.Engines.Craft.CraftSystem
typeRes System.Type
tool BaseTool
craftItem Server.Engines.Craft.CraftItem
resHue int
return int

OnDoubleClick() public method

public OnDoubleClick ( Server.Mobile from ) : void
from Server.Mobile
return void

PlayDrinkEffect() public static method

public static PlayDrinkEffect ( Server.Mobile m ) : void
m Server.Mobile
return void

Scale() public static method

public static Scale ( Server.Mobile m, System.TimeSpan v ) : System.TimeSpan
m Server.Mobile
v System.TimeSpan
return System.TimeSpan

Scale() public static method

public static Scale ( Server.Mobile m, double v ) : double
m Server.Mobile
v double
return double

Scale() public static method

public static Scale ( Server.Mobile m, int v ) : int
m Server.Mobile
v int
return int

Serialize() public method

public Serialize ( Server.GenericWriter writer ) : void
writer Server.GenericWriter
return void

StackWith() public method

public StackWith ( Server.Mobile from, Item dropped, bool playSound ) : bool
from Server.Mobile
dropped Item
playSound bool
return bool