C# Class Server.Items.BaseBeverage

Inheritance: Item, IHasQuantity
Mostrar archivo Open project: Grimoric/RunUO.T2A Class Usage Examples

Private Properties

Property Type Description
EventSink_Login void

Public Methods

Method Description
BaseBeverage ( ) : System
BaseBeverage ( BeverageType type ) : System
BaseBeverage ( Server.Serial serial ) : System
CheckHeaveTimer ( Server.Mobile from ) : void
ComputeItemID ( ) : int
ConsumeTotal ( Server.Items.Container pack, BeverageType content, int quantity ) : bool
ConsumeTotal ( Server.Items.Container pack, Type itemType, BeverageType content, int quantity ) : bool
Deserialize ( Server.GenericReader reader ) : void
Fill_OnTarget ( Server.Mobile from, object targ ) : void
GetProperties ( ObjectPropertyList list ) : void
GetQuantityDescription ( ) : int
Initialize ( ) : void
OnDoubleClick ( Server.Mobile from ) : void
OnSingleClick ( Server.Mobile from ) : void
Pour_OnTarget ( Server.Mobile from, object targ ) : void
Serialize ( Server.GenericWriter writer ) : void
ValidateUse ( Server.Mobile from, bool message ) : bool

Protected Methods

Method Description
CheckType ( string name ) : bool
InternalDeserialize ( Server.GenericReader reader, bool read ) : void

Private Methods

Method Description
EventSink_Login ( LoginEventArgs e ) : void

Method Details

BaseBeverage() public method

public BaseBeverage ( ) : System
return System

BaseBeverage() public method

public BaseBeverage ( BeverageType type ) : System
type BeverageType
return System

BaseBeverage() public method

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

CheckHeaveTimer() public static method

public static CheckHeaveTimer ( Server.Mobile from ) : void
from Server.Mobile
return void

CheckType() protected method

protected CheckType ( string name ) : bool
name string
return bool

ComputeItemID() public abstract method

public abstract ComputeItemID ( ) : int
return int

ConsumeTotal() public static method

public static ConsumeTotal ( Server.Items.Container pack, BeverageType content, int quantity ) : bool
pack Server.Items.Container
content BeverageType
quantity int
return bool

ConsumeTotal() public static method

public static ConsumeTotal ( Server.Items.Container pack, Type itemType, BeverageType content, int quantity ) : bool
pack Server.Items.Container
itemType System.Type
content BeverageType
quantity int
return bool

Deserialize() public method

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

Fill_OnTarget() public method

public Fill_OnTarget ( Server.Mobile from, object targ ) : void
from Server.Mobile
targ object
return void

GetProperties() public method

public GetProperties ( ObjectPropertyList list ) : void
list Server.ObjectPropertyList
return void

GetQuantityDescription() public method

public GetQuantityDescription ( ) : int
return int

Initialize() public static method

public static Initialize ( ) : void
return void

InternalDeserialize() protected method

protected InternalDeserialize ( Server.GenericReader reader, bool read ) : void
reader Server.GenericReader
read bool
return void

OnDoubleClick() public method

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

OnSingleClick() public method

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

Pour_OnTarget() public method

public Pour_OnTarget ( Server.Mobile from, object targ ) : void
from Server.Mobile
targ object
return void

Serialize() public method

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

ValidateUse() public method

public ValidateUse ( Server.Mobile from, bool message ) : bool
from Server.Mobile
message bool
return bool