C# Класс OpenNos.GameObject.MapMonster

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

Private Properties

Свойство Тип Описание
FollowTarget void
GenerateDamage int
MonsterLife void
Move void
RemoveTarget void
Respawn void
TargetHit void

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

Метод Описание
GenerateEff ( int effect ) : string
GenerateIn3 ( ) : string
GenerateMv3 ( ) : string
Initialize ( ) : void
Initialize ( Map currentMap ) : void
IsInRange ( short mapX, short mapY, byte distance ) : bool

Check if the Monster is in the given Range.

MapMonster ( ) : System
StartLife ( ) : void

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

Метод Описание
FollowTarget ( ClientSession targetSession ) : void

Follow the Monsters target to it's position.

GenerateDamage ( Character targetCharacter, Skill skill, int &hitmode ) : int

Generate the Monster -> Character Damage

MonsterLife ( ) : void

Handle any kind of Monster interaction

Move ( ) : void
RemoveTarget ( ) : void

Remove the current Target from Monster.

Respawn ( ) : void
TargetHit ( ClientSession targetSession, NpcMonsterSkill npcMonsterSkill ) : void

Hit the Target Character.

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

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

public GenerateEff ( int effect ) : string
effect int
Результат string

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

public GenerateIn3 ( ) : string
Результат string

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

public GenerateMv3 ( ) : string
Результат string

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

public Initialize ( ) : void
Результат void

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

public Initialize ( Map currentMap ) : void
currentMap Map
Результат void

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

Check if the Monster is in the given Range.
public IsInRange ( short mapX, short mapY, byte distance ) : bool
mapX short The X coordinate on the Map of the object to check.
mapY short The Y coordinate on the Map of the object to check.
distance byte The maximum distance of the object to check.
Результат bool

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

public MapMonster ( ) : System
Результат System

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

public StartLife ( ) : void
Результат void