Rebornbuddy
Loading...
Searching...
No Matches
ff14bot.NeoProfiles.ProfileBehavior Class Referenceabstract
Inheritance diagram for ff14bot.NeoProfiles.ProfileBehavior:
ff14bot.NeoProfile.Code.Hook ff14bot.NeoProfiles.ComplexNodeTag ff14bot.NeoProfiles.Tags.RunCode ff14bot.NeoProfiles.IfTag ff14bot.NeoProfiles.WhileTag

Public Member Functions

void Start ()
 Called when [start].
void Done ()
 Called when [done].
void ResetCachedDone ()
 Resets the cached done.
override string ToString ()
 Returns a string that represents the current object.
bool Equals (ProfileBehavior other)
 Indicates whether the current object is equal to another object of the same type.
override bool Equals (object obj)
 Determines whether the specified T:System.Object is equal to the current T:System.Object.
override int GetHashCode ()
 Serves as a hash function for a particular type.

Static Public Member Functions

static bool operator== (ProfileBehavior left, ProfileBehavior right)
 Implements the operator ==.
static bool operator!= (ProfileBehavior left, ProfileBehavior right)
 Implements the operator !=.

Protected Member Functions

void Log (Color color, string text, params object[] args)
void LogName (Color color, string name, string text, params object[] args)
void Log (string text, params object[] args)
void LogError (string text, params object[] args)
 Logs an error then stops the bot.
void LogSoftError (string text, params object[] args)
 Logs an error.
void LogVerbose (string text, params object[] args)
virtual void OnStart ()
virtual void OnDone ()
virtual void OnResetCachedDone ()
virtual Composite CreateBehavior ()
 Creates the behavior.

Properties

virtual bool HighPriority [get]
int LineNumber [get, set]
bool InCombat [get, set]
int QuestId [get, set]
uint StepId [get, set]
float PostCombatDelay [get, set]
string QuestName [get, set]
bool IsQuestComplete [get]
bool IsStepComplete [get]
bool IsDone [get]
 Gets a value indicating whether this profile behavior is done.
virtual string StatusText [get, set]
 Gets or sets the status text.
virtual bool IsDoneCache [get]
 Gets a value indicating whether this instance has a cached done.
Composite Behavior [get]
 Gets the behavior.

Member Function Documentation

◆ CreateBehavior()

virtual Composite ff14bot.NeoProfiles.ProfileBehavior.CreateBehavior ( )
protectedvirtual

Creates the behavior.

Returns
The new behavior.

Reimplemented in ff14bot.NeoProfile.Code.Hook, and ff14bot.NeoProfiles.Tags.RunCode.

◆ Done()

void ff14bot.NeoProfiles.ProfileBehavior.Done ( )

Called when [done].

Created 2012-07-02

◆ Equals() [1/2]

override bool ff14bot.NeoProfiles.ProfileBehavior.Equals ( object obj)

Determines whether the specified T:System.Object is equal to the current T:System.Object.

Returns
true if the specified T:System.Object is equal to the current T:System.Object; otherwise, false.
Parameters
objThe T:System.Object to compare with the current T:System.Object.

<filterpriority>2</filterpriority>

◆ Equals() [2/2]

bool ff14bot.NeoProfiles.ProfileBehavior.Equals ( ProfileBehavior other)

Indicates whether the current object is equal to another object of the same type.

Returns
true if the current object is equal to the other parameter; otherwise, false.
Parameters
otherAn object to compare with this object.

◆ GetHashCode()

override int ff14bot.NeoProfiles.ProfileBehavior.GetHashCode ( )

Serves as a hash function for a particular type.

Returns
A hash code for the current T:System.Object.

<filterpriority>2</filterpriority>

◆ Log() [1/2]

void ff14bot.NeoProfiles.ProfileBehavior.Log ( Color color,
string text,
params object[] args )
protected

◆ Log() [2/2]

void ff14bot.NeoProfiles.ProfileBehavior.Log ( string text,
params object[] args )
protected

◆ LogError()

void ff14bot.NeoProfiles.ProfileBehavior.LogError ( string text,
params object[] args )
protected

Logs an error then stops the bot.

Parameters
text
args

◆ LogName()

void ff14bot.NeoProfiles.ProfileBehavior.LogName ( Color color,
string name,
string text,
params object[] args )
protected

◆ LogSoftError()

void ff14bot.NeoProfiles.ProfileBehavior.LogSoftError ( string text,
params object[] args )
protected

Logs an error.

Parameters
text
args

◆ LogVerbose()

void ff14bot.NeoProfiles.ProfileBehavior.LogVerbose ( string text,
params object[] args )
protected

◆ OnDone()

virtual void ff14bot.NeoProfiles.ProfileBehavior.OnDone ( )
protectedvirtual

◆ OnResetCachedDone()

virtual void ff14bot.NeoProfiles.ProfileBehavior.OnResetCachedDone ( )
protectedvirtual

◆ OnStart()

virtual void ff14bot.NeoProfiles.ProfileBehavior.OnStart ( )
protectedvirtual

◆ operator!=()

bool ff14bot.NeoProfiles.ProfileBehavior.operator!= ( ProfileBehavior left,
ProfileBehavior right )
static

Implements the operator !=.

Parameters
leftThe left.
rightThe right.
Returns
The result of the operator.

Created 2012-07-02

◆ operator==()

bool ff14bot.NeoProfiles.ProfileBehavior.operator== ( ProfileBehavior left,
ProfileBehavior right )
static

Implements the operator ==.

Parameters
leftThe left.
rightThe right.
Returns
The result of the operator.

Created 2012-07-02

◆ ResetCachedDone()

void ff14bot.NeoProfiles.ProfileBehavior.ResetCachedDone ( )

Resets the cached done.

Created 2012-07-02

◆ Start()

void ff14bot.NeoProfiles.ProfileBehavior.Start ( )

Called when [start].

Created 2012-06-18

◆ ToString()

override string ff14bot.NeoProfiles.ProfileBehavior.ToString ( )

Returns a string that represents the current object.

Returns
A string that represents the current object.

Property Documentation

◆ Behavior

Composite ff14bot.NeoProfiles.ProfileBehavior.Behavior
get

Gets the behavior.

Created 2012-07-02

◆ HighPriority

virtual bool ff14bot.NeoProfiles.ProfileBehavior.HighPriority
get

◆ InCombat

bool ff14bot.NeoProfiles.ProfileBehavior.InCombat
getset

◆ IsDone

bool ff14bot.NeoProfiles.ProfileBehavior.IsDone
getabstract

Gets a value indicating whether this profile behavior is done.

true if this profile behavior is done; otherwise, false.

Created 2012-07-02

◆ IsDoneCache

virtual bool ff14bot.NeoProfiles.ProfileBehavior.IsDoneCache
get

Gets a value indicating whether this instance has a cached done.

true if this instance has cached done; otherwise, false.

Created 2012-07-02

◆ IsQuestComplete

bool ff14bot.NeoProfiles.ProfileBehavior.IsQuestComplete
getprotected

◆ IsStepComplete

bool ff14bot.NeoProfiles.ProfileBehavior.IsStepComplete
getprotected

◆ LineNumber

int ff14bot.NeoProfiles.ProfileBehavior.LineNumber
getset

◆ PostCombatDelay

float ff14bot.NeoProfiles.ProfileBehavior.PostCombatDelay
getset

◆ QuestId

int ff14bot.NeoProfiles.ProfileBehavior.QuestId
getset

◆ QuestName

string ff14bot.NeoProfiles.ProfileBehavior.QuestName
getset

◆ StatusText

virtual string ff14bot.NeoProfiles.ProfileBehavior.StatusText
getset

Gets or sets the status text.

The status text.

Created 2012-07-02

◆ StepId

uint ff14bot.NeoProfiles.ProfileBehavior.StepId
getset