C# 클래스 Aura.Channel.Skills.CombatActionPack

Collection of combat actions
A combat action (eg a player hitting a monster) consits of multiple actions, depending on the amount involved creatures. Each action has information about one creature, to make the client display the result of the attack. An attack action shows the creature hitting, a target action shows it receiving a hit.
파일 보기 프로젝트 열기: aura-project/aura 1 사용 예제들

공개 메소드들

메소드 설명
Add ( ) : void

Adds combat actions.

CombatActionPack ( Creature attacker, SkillId skillId ) : System

Creates new combat action pack.

GetTargets ( ) : Aura.Channel.World.Entities.Creature[]

Returns all creatures found in this pack's target actions.

Handle ( ) : void

Handles actions and broadcasts action pack.

비공개 메소드들

메소드 설명
CombatActionPack ( ) : System

Initializes combat action pack.

메소드 상세

Add() 공개 메소드

Adds combat actions.
public Add ( ) : void
리턴 void

CombatActionPack() 공개 메소드

Creates new combat action pack.
public CombatActionPack ( Creature attacker, SkillId skillId ) : System
attacker Aura.Channel.World.Entities.Creature
skillId SkillId
리턴 System

GetTargets() 공개 메소드

Returns all creatures found in this pack's target actions.
public GetTargets ( ) : Aura.Channel.World.Entities.Creature[]
리턴 Aura.Channel.World.Entities.Creature[]

Handle() 공개 메소드

Handles actions and broadcasts action pack.
public Handle ( ) : void
리턴 void