Drag[en]gine Script Module DragonScript 1.35
Loading...
Searching...
No Matches
Dragengine.ConversationSystem.SimpleConversationCondition Class Reference

Simple conversation condition. More...

Inheritance diagram for Dragengine.ConversationSystem.SimpleConversationCondition:

Classes

enum  Type
 Condition type. More...

Public Member Functions

Array getConditions ()
 Child conditions or null.
Enumeration getMode ()
 Mode.
String getName ()
 Name.
StringID getTarget ()
 Actor identifier or alias.
int getValue ()
 Value.
SimpleConversationCondition new (SimpleConversationCondition condition)
 Create copy of simple conversation condition.
SimpleConversationCondition new (Type type)
 Create simple conversation condition.
void setConditions (Array conditions)
 Set conditions or null.
void setMode (Enumeration mode)
 Set mode.
void setName (String name)
 Set name.
void setTarget (StringID target)
 Set actor identifier or alias.
void setValue (int value)
 Set value.

Public Attributes

Array pConditions
Enumeration pMode
String pName
StringID pTarget
Type pType
int pValue

Detailed Description

Simple conversation condition.

Version
1.25

Member Function Documentation

◆ getConditions()

Array Dragengine.ConversationSystem.SimpleConversationCondition.getConditions ( )

Child conditions or null.

References pValue.

Referenced by setConditions().

◆ getMode()

Enumeration Dragengine.ConversationSystem.SimpleConversationCondition.getMode ( )

Mode.

References pName, and setName().

Referenced by setConditions().

◆ getName()

String Dragengine.ConversationSystem.SimpleConversationCondition.getName ( )

Name.

  • Type#variable: Variable/parameter name.
  • Type#trigger: Trigger name.
  • Type#command: Command to send.

Referenced by setValue().

◆ getTarget()

StringID Dragengine.ConversationSystem.SimpleConversationCondition.getTarget ( )

Actor identifier or alias.

  • Type#variable: Idenfitier or alias of actor if parameter or null if variable.
  • Type#condition: Identifier of actor or null for game conditioon.
  • other types: Not used and is null

References pConditions, pMode, and pValue.

Referenced by setName().

◆ getValue()

int Dragengine.ConversationSystem.SimpleConversationCondition.getValue ( )

Value.

  • Type#variable: Value to set variable/parameter to.
  • other types: Not used and is null

References pTarget, and setTarget().

Referenced by setMode().

◆ new() [1/2]

SimpleConversationCondition Dragengine.ConversationSystem.SimpleConversationCondition.new ( SimpleConversationCondition condition)

Create copy of simple conversation condition.

References pName, pTarget, and pType.

◆ new() [2/2]

SimpleConversationCondition Dragengine.ConversationSystem.SimpleConversationCondition.new ( Type type)

Create simple conversation condition.

References new().

Referenced by new().

◆ setConditions()

void Dragengine.ConversationSystem.SimpleConversationCondition.setConditions ( Array conditions)

Set conditions or null.

See also
getConditions()

References getConditions(), getMode(), pConditions, pMode, pValue, setConditions(), setMode(), and setValue().

Referenced by setConditions().

◆ setMode()

void Dragengine.ConversationSystem.SimpleConversationCondition.setMode ( Enumeration mode)

Set mode.

See also
getMode()

References getValue().

Referenced by setConditions().

◆ setName()

void Dragengine.ConversationSystem.SimpleConversationCondition.setName ( String name)

Set name.

See also
getName()

References getTarget(), and pTarget.

Referenced by getMode().

◆ setTarget()

void Dragengine.ConversationSystem.SimpleConversationCondition.setTarget ( StringID target)

Set actor identifier or alias.

See also
getTarget()

References pType.

Referenced by getValue().

◆ setValue()

void Dragengine.ConversationSystem.SimpleConversationCondition.setValue ( int value)

Set value.

See also
getValue()

References getName(), and pName.

Referenced by setConditions().

Member Data Documentation

◆ pConditions

Array Dragengine.ConversationSystem.SimpleConversationCondition.pConditions

Referenced by getTarget(), and setConditions().

◆ pMode

Enumeration Dragengine.ConversationSystem.SimpleConversationCondition.pMode

Referenced by getTarget(), and setConditions().

◆ pName

String Dragengine.ConversationSystem.SimpleConversationCondition.pName

Referenced by getMode(), new(), and setValue().

◆ pTarget

StringID Dragengine.ConversationSystem.SimpleConversationCondition.pTarget

Referenced by getValue(), new(), and setName().

◆ pType

Type Dragengine.ConversationSystem.SimpleConversationCondition.pType

Referenced by new(), and setTarget().

◆ pValue

int Dragengine.ConversationSystem.SimpleConversationCondition.pValue

The documentation for this class was generated from the following file: