C# Class Server.Items.Aquarium

Inheritance: Server.Items.BaseAddonContainer
Exibir arquivo Open project: brodock/runuo Class Usage Examples

Public Properties

Property Type Description
EvaluationInterval System.TimeSpan

Private Properties

Property Type Description

Public Methods

Method 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 method

public static Accepts ( Item item ) : bool
item Item
return bool

AddDecoration() public method

public AddDecoration ( Item item ) : bool
item Item
return bool

AddDecoration() public method

public AddDecoration ( Server.Mobile from, Item item ) : bool
from Server.Mobile
item Item
return bool

AddFish() public method

public AddFish ( Server.Items.BaseFish fish ) : bool
fish Server.Items.BaseFish
return bool

AddFish() public method

public AddFish ( Server.Mobile from, Server.Items.BaseFish fish ) : bool
from Server.Mobile
fish Server.Items.BaseFish
return bool

Aquarium() public method

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

Aquarium() public method

public Aquarium ( int itemID ) : System
itemID int
return System

Deserialize() public method

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

DropItemsToGround() public method

public DropItemsToGround ( ) : void
return void

Evaluate() public method

public Evaluate ( ) : void
return void

ExamineAquarium() public method

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

FoodNumber() public method

public FoodNumber ( ) : int
return int

GetContextMenuEntries() public method

public GetContextMenuEntries ( Server.Mobile from, List list ) : void
from Server.Mobile
list List
return void

GetEmptyBowl() public static method

public static GetEmptyBowl ( Server.Mobile from ) : FishBowl
from Server.Mobile
return FishBowl

GetProperties() public method

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

GiveReward() public method

public GiveReward ( Server.Mobile to ) : void
to Server.Mobile
return void

HasAccess() public method

public HasAccess ( Server.Mobile from ) : bool
from Server.Mobile
return bool

KillFish() public method

public KillFish ( int amount ) : void
amount int
return void

OnDelete() public method

public OnDelete ( ) : void
return void

OnDoubleClick() public method

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

OnDragDrop() public method

public OnDragDrop ( Server.Mobile from, Item dropped ) : bool
from Server.Mobile
dropped Item
return bool

RemoveItem() public method

public RemoveItem ( Server.Mobile from, int at ) : bool
from Server.Mobile
at int
return bool

Serialize() public method

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

UpdateFoodState() public method

public UpdateFoodState ( ) : void
return void

UpdateWaterState() public method

public UpdateWaterState ( ) : void
return void

WaterNumber() public method

public WaterNumber ( ) : int
return int

Property Details

EvaluationInterval public_oe static_oe property

public static TimeSpan,System EvaluationInterval
return System.TimeSpan