C# 클래스 OpenNos.GameObject.MapMonster

상속: OpenNos.Data.MapMonsterDTO
파일 보기 프로젝트 열기: OpenNos/OpenNos 1 사용 예제들

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