PixelCrushers.DialogueSystem.ORKFrameworkSupport.DialogueSystemOrkBridge Class Reference

This class provides a bridge between the Dialogue System and ORK Framework. More...

Inheritance diagram for PixelCrushers.DialogueSystem.ORKFrameworkSupport.DialogueSystemOrkBridge:
Collaboration diagram for PixelCrushers.DialogueSystem.ORKFrameworkSupport.DialogueSystemOrkBridge:

Public Member Functions

virtual void Start ()
 
virtual void OnEnable ()
 
virtual void OnDisable ()
 
virtual void OnConversationStart (Transform actor)
 
virtual void OnConversationEnd (Transform actor)
 
DataObject SaveGame ()
 
void LoadGame (DataObject data)
 

Static Public Member Functions

static bool ORKGetBool (string key)
 
static double ORKGetFloat (string key)
 
static string ORKGetString (string key)
 
static void ORKSetBool (string key, bool value)
 
static void ORKSetFloat (string key, double value)
 
static void ORKSetString (string key, string value)
 
static double ORKGetStatus (string combatantName, string statusValueName)
 
static void ORKSetStatus (string combatantName, string statusValueName, double value)
 
static void ORKStartEvent (string eventObjectName, string startingObjectName)
 
static void ORKChangeFaction (string combatantName, string newFactionName)
 
static double ORKGetFactionSympathy (string factionName, string otherName)
 
static void ORKSetFactionSympathy (string factionName, string otherName, double amount)
 
static void ORKAddFactionSympathy (string factionName, string otherName, double amount)
 
static void ORKSubFactionSympathy (string factionName, string otherName, double amount)
 
static void ORKChangeFactionSympathy (string factionName, string otherName, double change, SimpleOperator op)
 
static bool ORKHasQuest (string questName)
 
static void ORKAddQuest (string questName)
 
static void ORKRemoveQuest (string questName)
 
static void ORKChangeQuestStatus (string questName, string status)
 
static void ORKChangeQuestTaskStatus (string questTaskName, string status)
 
static bool ORKHasItem (string combatantName, string itemName)
 
static void ORKAddItem (string combatantName, string itemName)
 
static void ORKRemoveItem (string combatantName, string itemName)
 
static bool ORKHasItemQuantity (string combatantName, string itemName, double quantity)
 
static void ORKAddItemQuantity (string combatantName, string itemName, double quantity)
 
static void ORKRemoveItemQuantity (string combatantName, string itemName, double quantity)
 
static double ORKGetMoney (string combatantName, string currencyName)
 
static void ORKSetMoney (string combatantName, string currencyName, double quantity)
 

Protected Member Functions

void SetComponentEnabled< T > (Transform actor, bool value)
 
virtual void RegisterLuaFunctions ()
 
virtual void UnregisterLuaFunctions ()
 

Static Protected Member Functions

static Combatant GetCombatant (string combatantName)
 
static GameObject FindGameObject (string gameObjectName)
 
static StatusValue GetStatusValue (string combatantName, string statusValueName)
 
static int GetFactionID (string factionName)
 
static int GetQuestID (string questName)
 
static int GetQuestTaskID (string questTaskName)
 
static int GetItemIndex (string itemName)
 
static ItemShortcut GetItemShortcut (string itemName)
 
static int GetCurrencyIndex (string currencyName)
 

Detailed Description

This class provides a bridge between the Dialogue System and ORK Framework.

Add it to you Dialogue Manager GameObject.

This class also implements ISaveData to save and load the Dialogue System's data with ORK saved games.

Member Function Documentation

◆ FindGameObject()

static GameObject PixelCrushers.DialogueSystem.ORKFrameworkSupport.DialogueSystemOrkBridge.FindGameObject ( string  gameObjectName)
staticprotected

◆ GetCombatant()

static Combatant PixelCrushers.DialogueSystem.ORKFrameworkSupport.DialogueSystemOrkBridge.GetCombatant ( string  combatantName)
staticprotected

◆ GetCurrencyIndex()

static int PixelCrushers.DialogueSystem.ORKFrameworkSupport.DialogueSystemOrkBridge.GetCurrencyIndex ( string  currencyName)
staticprotected

◆ GetFactionID()

static int PixelCrushers.DialogueSystem.ORKFrameworkSupport.DialogueSystemOrkBridge.GetFactionID ( string  factionName)
staticprotected

◆ GetItemIndex()

static int PixelCrushers.DialogueSystem.ORKFrameworkSupport.DialogueSystemOrkBridge.GetItemIndex ( string  itemName)
staticprotected

◆ GetItemShortcut()

static ItemShortcut PixelCrushers.DialogueSystem.ORKFrameworkSupport.DialogueSystemOrkBridge.GetItemShortcut ( string  itemName)
staticprotected

◆ GetQuestID()

static int PixelCrushers.DialogueSystem.ORKFrameworkSupport.DialogueSystemOrkBridge.GetQuestID ( string  questName)
staticprotected

◆ GetQuestTaskID()

static int PixelCrushers.DialogueSystem.ORKFrameworkSupport.DialogueSystemOrkBridge.GetQuestTaskID ( string  questTaskName)
staticprotected

◆ GetStatusValue()

static StatusValue PixelCrushers.DialogueSystem.ORKFrameworkSupport.DialogueSystemOrkBridge.GetStatusValue ( string  combatantName,
string  statusValueName 
)
staticprotected

◆ LoadGame()

void PixelCrushers.DialogueSystem.ORKFrameworkSupport.DialogueSystemOrkBridge.LoadGame ( DataObject  data)

◆ OnConversationEnd()

virtual void PixelCrushers.DialogueSystem.ORKFrameworkSupport.DialogueSystemOrkBridge.OnConversationEnd ( Transform  actor)
virtual

◆ OnConversationStart()

virtual void PixelCrushers.DialogueSystem.ORKFrameworkSupport.DialogueSystemOrkBridge.OnConversationStart ( Transform  actor)
virtual

◆ OnDisable()

virtual void PixelCrushers.DialogueSystem.ORKFrameworkSupport.DialogueSystemOrkBridge.OnDisable ( )
virtual

◆ OnEnable()

virtual void PixelCrushers.DialogueSystem.ORKFrameworkSupport.DialogueSystemOrkBridge.OnEnable ( )
virtual

◆ ORKAddFactionSympathy()

static void PixelCrushers.DialogueSystem.ORKFrameworkSupport.DialogueSystemOrkBridge.ORKAddFactionSympathy ( string  factionName,
string  otherName,
double  amount 
)
static

◆ ORKAddItem()

static void PixelCrushers.DialogueSystem.ORKFrameworkSupport.DialogueSystemOrkBridge.ORKAddItem ( string  combatantName,
string  itemName 
)
static

◆ ORKAddItemQuantity()

static void PixelCrushers.DialogueSystem.ORKFrameworkSupport.DialogueSystemOrkBridge.ORKAddItemQuantity ( string  combatantName,
string  itemName,
double  quantity 
)
static

◆ ORKAddQuest()

static void PixelCrushers.DialogueSystem.ORKFrameworkSupport.DialogueSystemOrkBridge.ORKAddQuest ( string  questName)
static

◆ ORKChangeFaction()

static void PixelCrushers.DialogueSystem.ORKFrameworkSupport.DialogueSystemOrkBridge.ORKChangeFaction ( string  combatantName,
string  newFactionName 
)
static

◆ ORKChangeFactionSympathy()

static void PixelCrushers.DialogueSystem.ORKFrameworkSupport.DialogueSystemOrkBridge.ORKChangeFactionSympathy ( string  factionName,
string  otherName,
double  change,
SimpleOperator  op 
)
static

◆ ORKChangeQuestStatus()

static void PixelCrushers.DialogueSystem.ORKFrameworkSupport.DialogueSystemOrkBridge.ORKChangeQuestStatus ( string  questName,
string  status 
)
static

◆ ORKChangeQuestTaskStatus()

static void PixelCrushers.DialogueSystem.ORKFrameworkSupport.DialogueSystemOrkBridge.ORKChangeQuestTaskStatus ( string  questTaskName,
string  status 
)
static

◆ ORKGetBool()

static bool PixelCrushers.DialogueSystem.ORKFrameworkSupport.DialogueSystemOrkBridge.ORKGetBool ( string  key)
static

◆ ORKGetFactionSympathy()

static double PixelCrushers.DialogueSystem.ORKFrameworkSupport.DialogueSystemOrkBridge.ORKGetFactionSympathy ( string  factionName,
string  otherName 
)
static

◆ ORKGetFloat()

static double PixelCrushers.DialogueSystem.ORKFrameworkSupport.DialogueSystemOrkBridge.ORKGetFloat ( string  key)
static

◆ ORKGetMoney()

static double PixelCrushers.DialogueSystem.ORKFrameworkSupport.DialogueSystemOrkBridge.ORKGetMoney ( string  combatantName,
string  currencyName 
)
static

◆ ORKGetStatus()

static double PixelCrushers.DialogueSystem.ORKFrameworkSupport.DialogueSystemOrkBridge.ORKGetStatus ( string  combatantName,
string  statusValueName 
)
static

◆ ORKGetString()

static string PixelCrushers.DialogueSystem.ORKFrameworkSupport.DialogueSystemOrkBridge.ORKGetString ( string  key)
static

◆ ORKHasItem()

static bool PixelCrushers.DialogueSystem.ORKFrameworkSupport.DialogueSystemOrkBridge.ORKHasItem ( string  combatantName,
string  itemName 
)
static

◆ ORKHasItemQuantity()

static bool PixelCrushers.DialogueSystem.ORKFrameworkSupport.DialogueSystemOrkBridge.ORKHasItemQuantity ( string  combatantName,
string  itemName,
double  quantity 
)
static

◆ ORKHasQuest()

static bool PixelCrushers.DialogueSystem.ORKFrameworkSupport.DialogueSystemOrkBridge.ORKHasQuest ( string  questName)
static

◆ ORKRemoveItem()

static void PixelCrushers.DialogueSystem.ORKFrameworkSupport.DialogueSystemOrkBridge.ORKRemoveItem ( string  combatantName,
string  itemName 
)
static

◆ ORKRemoveItemQuantity()

static void PixelCrushers.DialogueSystem.ORKFrameworkSupport.DialogueSystemOrkBridge.ORKRemoveItemQuantity ( string  combatantName,
string  itemName,
double  quantity 
)
static

◆ ORKRemoveQuest()

static void PixelCrushers.DialogueSystem.ORKFrameworkSupport.DialogueSystemOrkBridge.ORKRemoveQuest ( string  questName)
static

◆ ORKSetBool()

static void PixelCrushers.DialogueSystem.ORKFrameworkSupport.DialogueSystemOrkBridge.ORKSetBool ( string  key,
bool  value 
)
static

◆ ORKSetFactionSympathy()

static void PixelCrushers.DialogueSystem.ORKFrameworkSupport.DialogueSystemOrkBridge.ORKSetFactionSympathy ( string  factionName,
string  otherName,
double  amount 
)
static

◆ ORKSetFloat()

static void PixelCrushers.DialogueSystem.ORKFrameworkSupport.DialogueSystemOrkBridge.ORKSetFloat ( string  key,
double  value 
)
static

◆ ORKSetMoney()

static void PixelCrushers.DialogueSystem.ORKFrameworkSupport.DialogueSystemOrkBridge.ORKSetMoney ( string  combatantName,
string  currencyName,
double  quantity 
)
static

◆ ORKSetStatus()

static void PixelCrushers.DialogueSystem.ORKFrameworkSupport.DialogueSystemOrkBridge.ORKSetStatus ( string  combatantName,
string  statusValueName,
double  value 
)
static

◆ ORKSetString()

static void PixelCrushers.DialogueSystem.ORKFrameworkSupport.DialogueSystemOrkBridge.ORKSetString ( string  key,
string  value 
)
static

◆ ORKStartEvent()

static void PixelCrushers.DialogueSystem.ORKFrameworkSupport.DialogueSystemOrkBridge.ORKStartEvent ( string  eventObjectName,
string  startingObjectName 
)
static

◆ ORKSubFactionSympathy()

static void PixelCrushers.DialogueSystem.ORKFrameworkSupport.DialogueSystemOrkBridge.ORKSubFactionSympathy ( string  factionName,
string  otherName,
double  amount 
)
static

◆ RegisterLuaFunctions()

virtual void PixelCrushers.DialogueSystem.ORKFrameworkSupport.DialogueSystemOrkBridge.RegisterLuaFunctions ( )
protectedvirtual

◆ SaveGame()

DataObject PixelCrushers.DialogueSystem.ORKFrameworkSupport.DialogueSystemOrkBridge.SaveGame ( )

◆ SetComponentEnabled< T >()

void PixelCrushers.DialogueSystem.ORKFrameworkSupport.DialogueSystemOrkBridge.SetComponentEnabled< T > ( Transform  actor,
bool  value 
)
protected
Type Constraints
T :MonoBehaviour 

◆ Start()

virtual void PixelCrushers.DialogueSystem.ORKFrameworkSupport.DialogueSystemOrkBridge.Start ( )
virtual

◆ UnregisterLuaFunctions()

virtual void PixelCrushers.DialogueSystem.ORKFrameworkSupport.DialogueSystemOrkBridge.UnregisterLuaFunctions ( )
protectedvirtual

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