C# 클래스 Aura.Channel.Skills.Life.Gathering

상속: IPreparable, ICompletable, ICancelable
파일 보기 프로젝트 열기: aura-project/aura

공개 메소드들

메소드 설명
Cancel ( Creature creature, Skill skill ) : void

Cancels skill, or rather the animation.

Complete ( Creature creature, Skill skill, Aura.Shared.Network.Packet packet ) : void

Completes skill, handling the whole item gathering process.

Prepare ( Creature creature, Skill skill, Aura.Shared.Network.Packet packet ) : bool

Prepares skill, skips right to used.

Doesn't check anything, like what you can gather with what, because at this point there's no chance for abuse.

비공개 메소드들

메소드 설명
CheckHand ( string tag, Item item ) : bool

Returns true if item is correct for collect tag.

DoComplete ( Creature creature, long entityId, int collectId, bool success, short failCode ) : void

Sends use motion and SkillComplete.

GetSuccessChance ( Creature creature, CollectingData collectData ) : float

Returns chance for a successful gathering.

GetTargetEntity ( Region region, long entityId ) : Entity

Returns entity by id or null.

메소드 상세

Cancel() 공개 메소드

Cancels skill, or rather the animation.
public Cancel ( Creature creature, Skill skill ) : void
creature Aura.Channel.World.Entities.Creature
skill Skill
리턴 void

Complete() 공개 메소드

Completes skill, handling the whole item gathering process.
public Complete ( Creature creature, Skill skill, Aura.Shared.Network.Packet packet ) : void
creature Aura.Channel.World.Entities.Creature
skill Skill
packet Aura.Shared.Network.Packet
리턴 void

Prepare() 공개 메소드

Prepares skill, skips right to used.
Doesn't check anything, like what you can gather with what, because at this point there's no chance for abuse.
public Prepare ( Creature creature, Skill skill, Aura.Shared.Network.Packet packet ) : bool
creature Aura.Channel.World.Entities.Creature
skill Skill
packet Aura.Shared.Network.Packet
리턴 bool