C# Класс Server.Items.TreasureMap

Наследование: Server.Items.MapItem
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
GetMinSkillLevel double
HasRequiredSkill bool
LoadLocations void
TreasureMap System

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
GetMinSkillLevel ( ) : double
HasRequiredSkill ( Server.Mobile from ) : bool
LoadLocations ( ) : void
TreasureMap ( int level, Server.Map map ) : System

Описание методов

Decode() публичный Метод

public Decode ( Server.Mobile from ) : void
from Server.Mobile
Результат void

Deserialize() публичный Метод

public Deserialize ( Server.GenericReader reader ) : void
reader Server.GenericReader
Результат void

DisplayTo() публичный Метод

public DisplayTo ( Server.Mobile from ) : void
from Server.Mobile
Результат void

GetContextMenuEntries() публичный Метод

public GetContextMenuEntries ( Server.Mobile from, List list ) : void
from Server.Mobile
list List
Результат void

GetProperties() публичный Метод

public GetProperties ( ObjectPropertyList list ) : void
list Server.ObjectPropertyList
Результат void

GetRandomHavenLocation() публичный статический Метод

public static GetRandomHavenLocation ( ) : Server.Point2D
Результат Server.Point2D

GetRandomLocation() публичный статический Метод

public static GetRandomLocation ( ) : Server.Point2D
Результат Server.Point2D

HasDiggingTool() публичный статический Метод

public static HasDiggingTool ( Server.Mobile m ) : bool
m Server.Mobile
Результат bool

IsInHavenIsland() публичный статический Метод

public static IsInHavenIsland ( IPoint2D loc ) : bool
loc IPoint2D
Результат bool

OnBeginDig() публичный Метод

public OnBeginDig ( Server.Mobile from ) : void
from Server.Mobile
Результат void

OnDoubleClick() публичный Метод

public OnDoubleClick ( Server.Mobile from ) : void
from Server.Mobile
Результат void

OnSingleClick() публичный Метод

public OnSingleClick ( Server.Mobile from ) : void
from Server.Mobile
Результат void

Serialize() публичный Метод

public Serialize ( Server.GenericWriter writer ) : void
writer Server.GenericWriter
Результат void

Spawn() публичный статический Метод

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
Результат BaseCreature

Spawn() публичный статический Метод

public static Spawn ( int level, Server.Point3D p, bool guardian ) : BaseCreature
level int
p Server.Point3D
guardian bool
Результат BaseCreature

TreasureMap() публичный Метод

public TreasureMap ( Server.Serial serial ) : System
serial Server.Serial
Результат System