C# Class Server.Items.BasePotion

Inheritance: Item, ICraftable, ICommodity
Afficher le fichier Open project: brodock/runuo Class Usage Examples

Private Properties

Свойство Type Description

Méthodes publiques

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

public BasePotion ( Server.Serial serial ) : System
serial Server.Serial
Résultat System

BasePotion() public méthode

public BasePotion ( int itemID, PotionEffect effect ) : System
itemID int
effect PotionEffect
Résultat System

Deserialize() public méthode

public Deserialize ( Server.GenericReader reader ) : void
reader Server.GenericReader
Résultat void

Drink() public abstract méthode

public abstract Drink ( Server.Mobile from ) : void
from Server.Mobile
Résultat void

EnhancePotions() public static méthode

public static EnhancePotions ( Server.Mobile m ) : int
m Server.Mobile
Résultat int

HasFreeHand() public static méthode

public static HasFreeHand ( Server.Mobile m ) : bool
m Server.Mobile
Résultat bool

OnCraft() public méthode

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

OnDoubleClick() public méthode

public OnDoubleClick ( Server.Mobile from ) : void
from Server.Mobile
Résultat void

PlayDrinkEffect() public static méthode

public static PlayDrinkEffect ( Server.Mobile m ) : void
m Server.Mobile
Résultat void

Scale() public static méthode

public static Scale ( Server.Mobile m, System.TimeSpan v ) : System.TimeSpan
m Server.Mobile
v System.TimeSpan
Résultat System.TimeSpan

Scale() public static méthode

public static Scale ( Server.Mobile m, double v ) : double
m Server.Mobile
v double
Résultat double

Scale() public static méthode

public static Scale ( Server.Mobile m, int v ) : int
m Server.Mobile
v int
Résultat int

Serialize() public méthode

public Serialize ( Server.GenericWriter writer ) : void
writer Server.GenericWriter
Résultat void

StackWith() public méthode

public StackWith ( Server.Mobile from, Item dropped, bool playSound ) : bool
from Server.Mobile
dropped Item
playSound bool
Résultat bool