Loading...
Searching...
No Matches
PixelCrushers.QuestMachine.ORKSupport.ORKUtility Class Reference

Utility methods to interface Quest Machine with ORK Framework. More...

Static Public Member Functions

static void SetVariableValue (BaseEvent baseEvent, System.Object value, VariableOrigin origin, bool useObject, EventObjectSetting variableObject, string objectID, StringValue key)
 
static void SetVariableValue (VariableHandler handler, System.Object value, StringValue key)
 
static bool GetVariableBoolValue (VariableHandler handler, string key)
 
static float GetVariableFloatValue (VariableHandler handler, string key)
 
static int GetVariableIntValue (VariableHandler handler, string key)
 
static Combatant GetCombatant (string combatantName)
 
static bool ORKHasItemQuantity (string combatantName, string itemName, int quantity)
 
static bool ORKHasItemQuantity (Combatant combatant, string itemName, int quantity)
 
static void ORKAddItemQuantity (string combatantName, string itemName, int quantity)
 
static void ORKRemoveItemQuantity (string combatantName, string itemName, int quantity)
 
static int ORKGetMoney (string combatantName, string currencyName)
 
static int ORKGetMoney (Combatant combatant, int currencyIndex)
 
static void ORKSetMoney (string combatantName, string currencyName, int quantity)
 
static int GetCurrencyIndex (string currencyName)
 
static void ORKChangeFaction (string combatantName, string newFactionName)
 
static float ORKGetFactionSympathy (string factionName, string otherName)
 
static float ORKGetFactionSympathy (int factionID, int otherID)
 
static void ORKSetFactionSympathy (string factionName, string otherName, float amount)
 
static void ORKAddFactionSympathy (string factionName, string otherName, float amount)
 
static void ORKSubFactionSympathy (string factionName, string otherName, float amount)
 
static void ORKChangeFactionSympathy (string factionName, string otherName, float change, SimpleOperator op)
 
static int GetFactionID (string factionName)
 

Detailed Description

Utility methods to interface Quest Machine with ORK Framework.

Member Function Documentation

◆ GetCombatant()

static Combatant PixelCrushers.QuestMachine.ORKSupport.ORKUtility.GetCombatant ( string  combatantName)
inlinestatic

◆ GetCurrencyIndex()

static int PixelCrushers.QuestMachine.ORKSupport.ORKUtility.GetCurrencyIndex ( string  currencyName)
inlinestatic

◆ GetFactionID()

static int PixelCrushers.QuestMachine.ORKSupport.ORKUtility.GetFactionID ( string  factionName)
inlinestatic

◆ GetVariableBoolValue()

static bool PixelCrushers.QuestMachine.ORKSupport.ORKUtility.GetVariableBoolValue ( VariableHandler  handler,
string  key 
)
inlinestatic

◆ GetVariableFloatValue()

static float PixelCrushers.QuestMachine.ORKSupport.ORKUtility.GetVariableFloatValue ( VariableHandler  handler,
string  key 
)
inlinestatic

◆ GetVariableIntValue()

static int PixelCrushers.QuestMachine.ORKSupport.ORKUtility.GetVariableIntValue ( VariableHandler  handler,
string  key 
)
inlinestatic

◆ ORKAddFactionSympathy()

static void PixelCrushers.QuestMachine.ORKSupport.ORKUtility.ORKAddFactionSympathy ( string  factionName,
string  otherName,
float  amount 
)
inlinestatic

◆ ORKAddItemQuantity()

static void PixelCrushers.QuestMachine.ORKSupport.ORKUtility.ORKAddItemQuantity ( string  combatantName,
string  itemName,
int  quantity 
)
inlinestatic

◆ ORKChangeFaction()

static void PixelCrushers.QuestMachine.ORKSupport.ORKUtility.ORKChangeFaction ( string  combatantName,
string  newFactionName 
)
inlinestatic

◆ ORKChangeFactionSympathy()

static void PixelCrushers.QuestMachine.ORKSupport.ORKUtility.ORKChangeFactionSympathy ( string  factionName,
string  otherName,
float  change,
SimpleOperator  op 
)
inlinestatic

◆ ORKGetFactionSympathy() [1/2]

static float PixelCrushers.QuestMachine.ORKSupport.ORKUtility.ORKGetFactionSympathy ( int  factionID,
int  otherID 
)
inlinestatic

◆ ORKGetFactionSympathy() [2/2]

static float PixelCrushers.QuestMachine.ORKSupport.ORKUtility.ORKGetFactionSympathy ( string  factionName,
string  otherName 
)
inlinestatic

◆ ORKGetMoney() [1/2]

static int PixelCrushers.QuestMachine.ORKSupport.ORKUtility.ORKGetMoney ( Combatant  combatant,
int  currencyIndex 
)
inlinestatic

◆ ORKGetMoney() [2/2]

static int PixelCrushers.QuestMachine.ORKSupport.ORKUtility.ORKGetMoney ( string  combatantName,
string  currencyName 
)
inlinestatic

◆ ORKHasItemQuantity() [1/2]

static bool PixelCrushers.QuestMachine.ORKSupport.ORKUtility.ORKHasItemQuantity ( Combatant  combatant,
string  itemName,
int  quantity 
)
inlinestatic

◆ ORKHasItemQuantity() [2/2]

static bool PixelCrushers.QuestMachine.ORKSupport.ORKUtility.ORKHasItemQuantity ( string  combatantName,
string  itemName,
int  quantity 
)
inlinestatic

◆ ORKRemoveItemQuantity()

static void PixelCrushers.QuestMachine.ORKSupport.ORKUtility.ORKRemoveItemQuantity ( string  combatantName,
string  itemName,
int  quantity 
)
inlinestatic

◆ ORKSetFactionSympathy()

static void PixelCrushers.QuestMachine.ORKSupport.ORKUtility.ORKSetFactionSympathy ( string  factionName,
string  otherName,
float  amount 
)
inlinestatic

◆ ORKSetMoney()

static void PixelCrushers.QuestMachine.ORKSupport.ORKUtility.ORKSetMoney ( string  combatantName,
string  currencyName,
int  quantity 
)
inlinestatic

◆ ORKSubFactionSympathy()

static void PixelCrushers.QuestMachine.ORKSupport.ORKUtility.ORKSubFactionSympathy ( string  factionName,
string  otherName,
float  amount 
)
inlinestatic

◆ SetVariableValue() [1/2]

static void PixelCrushers.QuestMachine.ORKSupport.ORKUtility.SetVariableValue ( BaseEvent  baseEvent,
System::Object  value,
VariableOrigin  origin,
bool  useObject,
EventObjectSetting  variableObject,
string  objectID,
StringValue  key 
)
inlinestatic

◆ SetVariableValue() [2/2]

static void PixelCrushers.QuestMachine.ORKSupport.ORKUtility.SetVariableValue ( VariableHandler  handler,
System::Object  value,
StringValue  key 
)
inlinestatic

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