C# Class Server.Engines.Harvest.Fishing

Inheritance: HarvestSystem
ファイルを表示 Open project: Grimoric/RunUO.T2A

Public Methods

Method Description
BeginHarvesting ( Mobile from, Item tool ) : bool
CheckHarvest ( Mobile from, Item tool ) : bool
CheckHarvest ( Mobile from, Item tool, HarvestDefinition def, object toHarvest ) : bool
CheckResources ( Mobile from, Item tool, HarvestDefinition def, Map map, Point3D loc, bool timed ) : bool
Construct ( Type type, Mobile from ) : Item
GetLock ( Mobile from, Item tool, HarvestDefinition def, object toHarvest ) : object
Give ( Mobile m, Item item, bool placeAtFeet ) : bool
MutateType ( Type type, Mobile from, Item tool, HarvestDefinition def, Map map, Point3D loc, Server.Engines.Harvest.HarvestResource resource ) : Type
OnConcurrentHarvest ( Mobile from, Item tool, HarvestDefinition def, object toHarvest ) : void
OnHarvestStarted ( Mobile from, Item tool, HarvestDefinition def, object toHarvest ) : void
SendSuccessTo ( Mobile from, Item item, Server.Engines.Harvest.HarvestResource resource ) : void

Private Methods

Method Description
Fishing ( ) : System
SafeMap ( Map map ) : Map

Method Details

BeginHarvesting() public method

public BeginHarvesting ( Mobile from, Item tool ) : bool
from Mobile
tool Item
return bool

CheckHarvest() public method

public CheckHarvest ( Mobile from, Item tool ) : bool
from Mobile
tool Item
return bool

CheckHarvest() public method

public CheckHarvest ( Mobile from, Item tool, HarvestDefinition def, object toHarvest ) : bool
from Mobile
tool Item
def HarvestDefinition
toHarvest object
return bool

CheckResources() public method

public CheckResources ( Mobile from, Item tool, HarvestDefinition def, Map map, Point3D loc, bool timed ) : bool
from Mobile
tool Item
def HarvestDefinition
map Map
loc Point3D
timed bool
return bool

Construct() public method

public Construct ( Type type, Mobile from ) : Item
type System.Type
from Mobile
return Item

GetLock() public method

public GetLock ( Mobile from, Item tool, HarvestDefinition def, object toHarvest ) : object
from Mobile
tool Item
def HarvestDefinition
toHarvest object
return object

Give() public method

public Give ( Mobile m, Item item, bool placeAtFeet ) : bool
m Mobile
item Item
placeAtFeet bool
return bool

MutateType() public method

public MutateType ( Type type, Mobile from, Item tool, HarvestDefinition def, Map map, Point3D loc, Server.Engines.Harvest.HarvestResource resource ) : Type
type System.Type
from Mobile
tool Item
def HarvestDefinition
map Map
loc Point3D
resource Server.Engines.Harvest.HarvestResource
return System.Type

OnConcurrentHarvest() public method

public OnConcurrentHarvest ( Mobile from, Item tool, HarvestDefinition def, object toHarvest ) : void
from Mobile
tool Item
def HarvestDefinition
toHarvest object
return void

OnHarvestStarted() public method

public OnHarvestStarted ( Mobile from, Item tool, HarvestDefinition def, object toHarvest ) : void
from Mobile
tool Item
def HarvestDefinition
toHarvest object
return void

SendSuccessTo() public method

public SendSuccessTo ( Mobile from, Item item, Server.Engines.Harvest.HarvestResource resource ) : void
from Mobile
item Item
resource Server.Engines.Harvest.HarvestResource
return void