C# Class Server.Items.TreasureMap

Inheritance: Server.Items.MapItem
Mostra file Open project: Grimoric/RunUO.T2A Class Usage Examples

Private Properties

Property Type Description
GetMinSkillLevel double
HasRequiredSkill bool
LoadLocations void
TreasureMap System

Public Methods

Method Description
Decode ( Server.Mobile from ) : void
Deserialize ( Server.GenericReader reader ) : void
DisplayTo ( Server.Mobile from ) : void
GetContextMenuEntries ( Server.Mobile from, List list ) : void
GetProperties ( ObjectPropertyList list ) : void
GetRandomHavenLocation ( ) : Server.Point2D
GetRandomLocation ( ) : Server.Point2D
HasDiggingTool ( Server.Mobile m ) : bool
IsInHavenIsland ( IPoint2D loc ) : bool
OnBeginDig ( Server.Mobile from ) : void
OnDoubleClick ( Server.Mobile from ) : void
OnSingleClick ( Server.Mobile from ) : void
Serialize ( Server.GenericWriter writer ) : void
Spawn ( int level, Server.Point3D p, Server.Map map, Server.Mobile target, bool guardian ) : BaseCreature
Spawn ( int level, Server.Point3D p, bool guardian ) : BaseCreature
TreasureMap ( Server.Serial serial ) : System

Private Methods

Method Description
GetMinSkillLevel ( ) : double
HasRequiredSkill ( Server.Mobile from ) : bool
LoadLocations ( ) : void
TreasureMap ( int level, Server.Map map ) : System

Method Details

Decode() public method

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

Deserialize() public method

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

DisplayTo() public method

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

GetContextMenuEntries() public method

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

GetProperties() public method

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

GetRandomHavenLocation() public static method

public static GetRandomHavenLocation ( ) : Server.Point2D
return Server.Point2D

GetRandomLocation() public static method

public static GetRandomLocation ( ) : Server.Point2D
return Server.Point2D

HasDiggingTool() public static method

public static HasDiggingTool ( Server.Mobile m ) : bool
m Server.Mobile
return bool

IsInHavenIsland() public static method

public static IsInHavenIsland ( IPoint2D loc ) : bool
loc IPoint2D
return bool

OnBeginDig() public method

public OnBeginDig ( Server.Mobile from ) : void
from Server.Mobile
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

Serialize() public method

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

Spawn() public static method

public static Spawn ( int level, Server.Point3D p, Server.Map map, Server.Mobile target, bool guardian ) : BaseCreature
level int
p Server.Point3D
map Server.Map
target Server.Mobile
guardian bool
return BaseCreature

Spawn() public static method

public static Spawn ( int level, Server.Point3D p, bool guardian ) : BaseCreature
level int
p Server.Point3D
guardian bool
return BaseCreature

TreasureMap() public method

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