C# 클래스 Server.Items.BasePotion

상속: Item, ICraftable, ICommodity
파일 보기 프로젝트 열기: brodock/runuo 1 사용 예제들

Private Properties

프로퍼티 타입 설명

공개 메소드들

메소드 설명
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

메소드 상세

BasePotion() 공개 메소드

public BasePotion ( Server.Serial serial ) : System
serial Server.Serial
리턴 System

BasePotion() 공개 메소드

public BasePotion ( int itemID, PotionEffect effect ) : System
itemID int
effect PotionEffect
리턴 System

Deserialize() 공개 메소드

public Deserialize ( Server.GenericReader reader ) : void
reader Server.GenericReader
리턴 void

Drink() 공개 추상적인 메소드

public abstract Drink ( Server.Mobile from ) : void
from Server.Mobile
리턴 void

EnhancePotions() 공개 정적인 메소드

public static EnhancePotions ( Server.Mobile m ) : int
m Server.Mobile
리턴 int

HasFreeHand() 공개 정적인 메소드

public static HasFreeHand ( Server.Mobile m ) : bool
m Server.Mobile
리턴 bool

OnCraft() 공개 메소드

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
리턴 int

OnDoubleClick() 공개 메소드

public OnDoubleClick ( Server.Mobile from ) : void
from Server.Mobile
리턴 void

PlayDrinkEffect() 공개 정적인 메소드

public static PlayDrinkEffect ( Server.Mobile m ) : void
m Server.Mobile
리턴 void

Scale() 공개 정적인 메소드

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

Scale() 공개 정적인 메소드

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

Scale() 공개 정적인 메소드

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

Serialize() 공개 메소드

public Serialize ( Server.GenericWriter writer ) : void
writer Server.GenericWriter
리턴 void

StackWith() 공개 메소드

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