C# Class Server.Items.Aquarium

Inheritance: Server.Items.BaseAddonContainer
Afficher le fichier Open project: brodock/runuo Class Usage Examples

Méthodes publiques

Свойство Type Description
EvaluationInterval System.TimeSpan

Private Properties

Свойство Type Description

Méthodes publiques

Méthode Description
Accepts ( Item item ) : bool
AddDecoration ( Item item ) : bool
AddDecoration ( Server.Mobile from, Item item ) : bool
AddFish ( Server.Items.BaseFish fish ) : bool
AddFish ( Server.Mobile from, Server.Items.BaseFish fish ) : bool
Aquarium ( Server.Serial serial ) : System
Aquarium ( int itemID ) : System
Deserialize ( Server.GenericReader reader ) : void
DropItemsToGround ( ) : void
Evaluate ( ) : void
ExamineAquarium ( Server.Mobile from ) : void
FoodNumber ( ) : int
GetContextMenuEntries ( Server.Mobile from, List list ) : void
GetEmptyBowl ( Server.Mobile from ) : FishBowl
GetProperties ( ObjectPropertyList list ) : void
GiveReward ( Server.Mobile to ) : void
HasAccess ( Server.Mobile from ) : bool
KillFish ( int amount ) : void
OnDelete ( ) : void
OnDoubleClick ( Server.Mobile from ) : void
OnDragDrop ( Server.Mobile from, Item dropped ) : bool
RemoveItem ( Server.Mobile from, int at ) : bool
Serialize ( Server.GenericWriter writer ) : void
UpdateFoodState ( ) : void
UpdateWaterState ( ) : void
WaterNumber ( ) : int

Method Details

Accepts() public static méthode

public static Accepts ( Item item ) : bool
item Item
Résultat bool

AddDecoration() public méthode

public AddDecoration ( Item item ) : bool
item Item
Résultat bool

AddDecoration() public méthode

public AddDecoration ( Server.Mobile from, Item item ) : bool
from Server.Mobile
item Item
Résultat bool

AddFish() public méthode

public AddFish ( Server.Items.BaseFish fish ) : bool
fish Server.Items.BaseFish
Résultat bool

AddFish() public méthode

public AddFish ( Server.Mobile from, Server.Items.BaseFish fish ) : bool
from Server.Mobile
fish Server.Items.BaseFish
Résultat bool

Aquarium() public méthode

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

Aquarium() public méthode

public Aquarium ( int itemID ) : System
itemID int
Résultat System

Deserialize() public méthode

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

DropItemsToGround() public méthode

public DropItemsToGround ( ) : void
Résultat void

Evaluate() public méthode

public Evaluate ( ) : void
Résultat void

ExamineAquarium() public méthode

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

FoodNumber() public méthode

public FoodNumber ( ) : int
Résultat int

GetContextMenuEntries() public méthode

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

GetEmptyBowl() public static méthode

public static GetEmptyBowl ( Server.Mobile from ) : FishBowl
from Server.Mobile
Résultat FishBowl

GetProperties() public méthode

public GetProperties ( ObjectPropertyList list ) : void
list Server.ObjectPropertyList
Résultat void

GiveReward() public méthode

public GiveReward ( Server.Mobile to ) : void
to Server.Mobile
Résultat void

HasAccess() public méthode

public HasAccess ( Server.Mobile from ) : bool
from Server.Mobile
Résultat bool

KillFish() public méthode

public KillFish ( int amount ) : void
amount int
Résultat void

OnDelete() public méthode

public OnDelete ( ) : void
Résultat void

OnDoubleClick() public méthode

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

OnDragDrop() public méthode

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

RemoveItem() public méthode

public RemoveItem ( Server.Mobile from, int at ) : bool
from Server.Mobile
at int
Résultat bool

Serialize() public méthode

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

UpdateFoodState() public méthode

public UpdateFoodState ( ) : void
Résultat void

UpdateWaterState() public méthode

public UpdateWaterState ( ) : void
Résultat void

WaterNumber() public méthode

public WaterNumber ( ) : int
Résultat int

Property Details

EvaluationInterval public_oe static_oe property

public static TimeSpan,System EvaluationInterval
Résultat System.TimeSpan