C# 클래스 Aura.Channel.World.Entities.Creatures.CreatureTitles

파일 보기 프로젝트 열기: aura-project/aura

공개 메소드들

메소드 설명
Add ( ushort titleId, TitleState state ) : bool

Adds title, returns true if title was added or state was changed.

ChangeTitle ( ushort titleId, bool option ) : bool

Tries to change title, returns false if anything goes wrong.

CreatureTitles ( Creature creature ) : System
Enable ( ushort titleId ) : void

Adds title as "Available" and sends xyz.

GetList ( ) : TitleState>>.ICollection

Returns new list of all titles.

IsUsable ( ushort titleId ) : bool

Returns true if creature is able to use title.

Knows ( ushort titleId ) : bool

Returns true if creature knows about title in any way.

Remove ( ushort titleId ) : bool

Removes title.

Show ( ushort titleId ) : void

Adds title as "Known" and sends xyz.

비공개 메소드들

메소드 설명
GetTitle ( bool option ) : ushort

Returns title or option title.

SetTitle ( ushort titleId, bool option ) : void

Sets title or option title.

SwitchStatMods ( TitleData data, bool option ) : void

Removes previous stat mods and adds new ones.

메소드 상세

Add() 공개 메소드

Adds title, returns true if title was added or state was changed.
public Add ( ushort titleId, TitleState state ) : bool
titleId ushort
state TitleState
리턴 bool

ChangeTitle() 공개 메소드

Tries to change title, returns false if anything goes wrong.
public ChangeTitle ( ushort titleId, bool option ) : bool
titleId ushort
option bool
리턴 bool

CreatureTitles() 공개 메소드

public CreatureTitles ( Creature creature ) : System
creature Creature
리턴 System

Enable() 공개 메소드

Adds title as "Available" and sends xyz.
public Enable ( ushort titleId ) : void
titleId ushort
리턴 void

GetList() 공개 메소드

Returns new list of all titles.
public GetList ( ) : TitleState>>.ICollection
리턴 TitleState>>.ICollection

IsUsable() 공개 메소드

Returns true if creature is able to use title.
public IsUsable ( ushort titleId ) : bool
titleId ushort
리턴 bool

Knows() 공개 메소드

Returns true if creature knows about title in any way.
public Knows ( ushort titleId ) : bool
titleId ushort
리턴 bool

Remove() 공개 메소드

Removes title.
public Remove ( ushort titleId ) : bool
titleId ushort
리턴 bool

Show() 공개 메소드

Adds title as "Known" and sends xyz.
public Show ( ushort titleId ) : void
titleId ushort
리턴 void