C# Class Aura.Channel.Skills.AttackerAction

Contains information about the source action part of the CombatActionPack. This part is sent first, before the target actions.
Inheritance: CombatAction
Mostrar archivo Open project: aura-project/aura Class Usage Examples

Public Methods

Method Description
AttackerAction ( CombatActionType type, Creature creature, long targetId ) : System

Creates new attacker action, setting SkillId to the currently active skill.

AttackerAction ( CombatActionType type, Creature creature, long targetId, SkillId skillId ) : System

Creates new attacker action.

Has ( AttackerOptions option ) : bool

Returns true if the specified option is set.

Set ( AttackerOptions option ) : void

Enables option(s)

Method Details

AttackerAction() public method

Creates new attacker action, setting SkillId to the currently active skill.
public AttackerAction ( CombatActionType type, Creature creature, long targetId ) : System
type CombatActionType
creature Aura.Channel.World.Entities.Creature
targetId long
return System

AttackerAction() public method

Creates new attacker action.
public AttackerAction ( CombatActionType type, Creature creature, long targetId, SkillId skillId ) : System
type CombatActionType
creature Aura.Channel.World.Entities.Creature
targetId long
skillId SkillId
return System

Has() public method

Returns true if the specified option is set.
public Has ( AttackerOptions option ) : bool
option AttackerOptions
return bool

Set() public method

Enables option(s)
public Set ( AttackerOptions option ) : void
option AttackerOptions
return void