C# Class Server.Items.Food

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

Private Properties

Свойство Type Description

Méthodes publiques

Méthode Description
CheckHunger ( Mobile from ) : bool
Deserialize ( GenericReader reader ) : void
Eat ( Mobile from ) : bool
FillHunger ( Mobile from, int fillFactor ) : bool
Food ( Serial serial ) : System.Collections.Generic
Food ( int itemID ) : System.Collections.Generic
Food ( int amount, int itemID ) : System.Collections.Generic
GetContextMenuEntries ( Mobile from, List list ) : void
OnDoubleClick ( Mobile from ) : void
Serialize ( GenericWriter writer ) : void

Method Details

CheckHunger() public méthode

public CheckHunger ( Mobile from ) : bool
from Mobile
Résultat bool

Deserialize() public méthode

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

Eat() public méthode

public Eat ( Mobile from ) : bool
from Mobile
Résultat bool

FillHunger() public static méthode

public static FillHunger ( Mobile from, int fillFactor ) : bool
from Mobile
fillFactor int
Résultat bool

Food() public méthode

public Food ( Serial serial ) : System.Collections.Generic
serial Serial
Résultat System.Collections.Generic

Food() public méthode

public Food ( int itemID ) : System.Collections.Generic
itemID int
Résultat System.Collections.Generic

Food() public méthode

public Food ( int amount, int itemID ) : System.Collections.Generic
amount int
itemID int
Résultat System.Collections.Generic

GetContextMenuEntries() public méthode

public GetContextMenuEntries ( Mobile from, List list ) : void
from Mobile
list List
Résultat void

OnDoubleClick() public méthode

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

Serialize() public méthode

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