Show / Hide Table of Contents

Class BotBrainUIHelpers

Helper methods for populating the bot brain UI.

Inheritance
object
BotBrainUIHelpers
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Phoenix.BotBrain
Assembly: Phoenix.Plugin.BotBrain.Shared.dll
Syntax
public class BotBrainUIHelpers
Remarks

Initializes a new instance of the BotBrainUIHelpers class.

Constructors

View Source

BotBrainUIHelpers(IBrainSerializer)

Helper methods for populating the bot brain UI.

Declaration
public BotBrainUIHelpers(IBrainSerializer serializer)
Parameters
Type Name Description
IBrainSerializer serializer

The brain serializer.

Remarks

Initializes a new instance of the BotBrainUIHelpers class.

Methods

View Source

CanCreateBrainFromFile(string)

Determines if a brain file should be visible in UI to create new roles.

Declaration
public virtual bool CanCreateBrainFromFile(string file)
Parameters
Type Name Description
string file

The file.

Returns
Type Description
bool

True if it can be used to create a role.

View Source

CanCreateRoleFromFile(string)

Determines if a role file should be visible in UI to create new roles.

Declaration
public virtual bool CanCreateRoleFromFile(string file)
Parameters
Type Name Description
string file

The file.

Returns
Type Description
bool

True if it can be used to create a role.

View Source

CanCreateScenarioFromFile(string)

Determines if a scenario file should be visible in UI to create new roles.

Declaration
public virtual bool CanCreateScenarioFromFile(string file)
Parameters
Type Name Description
string file

The file.

Returns
Type Description
bool

True if it can be used to create a scenario.

  • View Source
In this article
Back to top Generated by DocFX