C# 클래스 LKCamelot.model.CastHandler

파일 보기 프로젝트 열기: vans163/LKEmu 1 사용 예제들

공개 메소드들

메소드 설명
CastHandler ( io client, PlayerHandler handler ) : System
CreateMagicEffect ( Point2D target, string map, byte sprite, int time = 1500 ) : void
HandleCast ( int header, script castspell, Player player, int target, short castx, short casty ) : void
TakeDamage ( Player caster, Player target, script spell ) : void

메소드 상세

CastHandler() 공개 메소드

public CastHandler ( io client, PlayerHandler handler ) : System
client io
handler PlayerHandler
리턴 System

CreateMagicEffect() 공개 메소드

public CreateMagicEffect ( Point2D target, string map, byte sprite, int time = 1500 ) : void
target Point2D
map string
sprite byte
time int
리턴 void

HandleCast() 공개 메소드

public HandleCast ( int header, script castspell, Player player, int target, short castx, short casty ) : void
header int
castspell script
player Player
target int
castx short
casty short
리턴 void

TakeDamage() 공개 메소드

public TakeDamage ( Player caster, Player target, script spell ) : void
caster Player
target Player
spell script
리턴 void