PixelCrushers.DialogueSystem.DeftlySupport.DeftlyLuaFunctions Class Reference

Add to the Dialogue Manager. More...

Inheritance diagram for PixelCrushers.DialogueSystem.DeftlySupport.DeftlyLuaFunctions:
Collaboration diagram for PixelCrushers.DialogueSystem.DeftlySupport.DeftlyLuaFunctions:

Public Member Functions

void RegisterLuaFunctions ()
 
void UnregisterLuaFunctions ()
 

Static Public Member Functions

static Subject GetSubject (string subjectName)
 
static double GetLevel (string subjectName)
 
static double GetXp (string subjectName)
 
static double GetHealth (string subjectName)
 
static double GetArmor (string subjectName)
 
static double GetStrength (string subjectName)
 
static double GetAgility (string subjectName)
 
static double GetDexterity (string subjectName)
 
static double GetEndurance (string subjectName)
 
static double GetKills (string subjectName)
 
static double GetDeaths (string subjectName)
 
static double GetCoin (string subjectName)
 
static double GetScore (string subjectName)
 
static bool GetGodMode (string subjectName)
 
static bool GetUnlimitedMags (string subjectName)
 
static void GiveXp (string subjectName, double amount)
 
static void AddHealth (string subjectName, double amount)
 
static void AddArmor (string subjectName, double amount)
 
static void RemoveHealth (string subjectName, double amount)
 
static void RemoveArmor (string subjectName, double amount)
 
static void SetStrength (string subjectName, double amount)
 
static void SetAgility (string subjectName, double amount)
 
static void SetDexterity (string subjectName, double amount)
 
static void SetEndurance (string subjectName, double amount)
 
static void AddCoin (string subjectName, double amount)
 
static void RemoveCoin (string subjectName, double amount)
 
static void SetScore (string subjectName, double amount)
 
static void SetGodMode (string subjectName, bool value)
 
static void SetUnlimitedMags (string subjectName, bool value)
 
static bool GetPeacefulMode ()
 
static void SetPeacefulMode (bool value)
 
static bool HasWeapon (string subjectName, string weaponName)
 
static void AddWeapon (string subjectName, string weaponName)
 

Public Attributes

GameObject[] weaponDatabase = new GameObject[0]
 

Detailed Description

Add to the Dialogue Manager.

This adds several Lua functions for working with Deftly.

Member Function Documentation

◆ AddArmor()

static void PixelCrushers.DialogueSystem.DeftlySupport.DeftlyLuaFunctions.AddArmor ( string  subjectName,
double  amount 
)
static

◆ AddCoin()

static void PixelCrushers.DialogueSystem.DeftlySupport.DeftlyLuaFunctions.AddCoin ( string  subjectName,
double  amount 
)
static

◆ AddHealth()

static void PixelCrushers.DialogueSystem.DeftlySupport.DeftlyLuaFunctions.AddHealth ( string  subjectName,
double  amount 
)
static

◆ AddWeapon()

static void PixelCrushers.DialogueSystem.DeftlySupport.DeftlyLuaFunctions.AddWeapon ( string  subjectName,
string  weaponName 
)
static

◆ GetAgility()

static double PixelCrushers.DialogueSystem.DeftlySupport.DeftlyLuaFunctions.GetAgility ( string  subjectName)
static

◆ GetArmor()

static double PixelCrushers.DialogueSystem.DeftlySupport.DeftlyLuaFunctions.GetArmor ( string  subjectName)
static

◆ GetCoin()

static double PixelCrushers.DialogueSystem.DeftlySupport.DeftlyLuaFunctions.GetCoin ( string  subjectName)
static

◆ GetDeaths()

static double PixelCrushers.DialogueSystem.DeftlySupport.DeftlyLuaFunctions.GetDeaths ( string  subjectName)
static

◆ GetDexterity()

static double PixelCrushers.DialogueSystem.DeftlySupport.DeftlyLuaFunctions.GetDexterity ( string  subjectName)
static

◆ GetEndurance()

static double PixelCrushers.DialogueSystem.DeftlySupport.DeftlyLuaFunctions.GetEndurance ( string  subjectName)
static

◆ GetGodMode()

static bool PixelCrushers.DialogueSystem.DeftlySupport.DeftlyLuaFunctions.GetGodMode ( string  subjectName)
static

◆ GetHealth()

static double PixelCrushers.DialogueSystem.DeftlySupport.DeftlyLuaFunctions.GetHealth ( string  subjectName)
static

◆ GetKills()

static double PixelCrushers.DialogueSystem.DeftlySupport.DeftlyLuaFunctions.GetKills ( string  subjectName)
static

◆ GetLevel()

static double PixelCrushers.DialogueSystem.DeftlySupport.DeftlyLuaFunctions.GetLevel ( string  subjectName)
static

◆ GetPeacefulMode()

static bool PixelCrushers.DialogueSystem.DeftlySupport.DeftlyLuaFunctions.GetPeacefulMode ( )
static

◆ GetScore()

static double PixelCrushers.DialogueSystem.DeftlySupport.DeftlyLuaFunctions.GetScore ( string  subjectName)
static

◆ GetStrength()

static double PixelCrushers.DialogueSystem.DeftlySupport.DeftlyLuaFunctions.GetStrength ( string  subjectName)
static

◆ GetSubject()

static Subject PixelCrushers.DialogueSystem.DeftlySupport.DeftlyLuaFunctions.GetSubject ( string  subjectName)
static

◆ GetUnlimitedMags()

static bool PixelCrushers.DialogueSystem.DeftlySupport.DeftlyLuaFunctions.GetUnlimitedMags ( string  subjectName)
static

◆ GetXp()

static double PixelCrushers.DialogueSystem.DeftlySupport.DeftlyLuaFunctions.GetXp ( string  subjectName)
static

◆ GiveXp()

static void PixelCrushers.DialogueSystem.DeftlySupport.DeftlyLuaFunctions.GiveXp ( string  subjectName,
double  amount 
)
static

◆ HasWeapon()

static bool PixelCrushers.DialogueSystem.DeftlySupport.DeftlyLuaFunctions.HasWeapon ( string  subjectName,
string  weaponName 
)
static

◆ RegisterLuaFunctions()

void PixelCrushers.DialogueSystem.DeftlySupport.DeftlyLuaFunctions.RegisterLuaFunctions ( )

◆ RemoveArmor()

static void PixelCrushers.DialogueSystem.DeftlySupport.DeftlyLuaFunctions.RemoveArmor ( string  subjectName,
double  amount 
)
static

◆ RemoveCoin()

static void PixelCrushers.DialogueSystem.DeftlySupport.DeftlyLuaFunctions.RemoveCoin ( string  subjectName,
double  amount 
)
static

◆ RemoveHealth()

static void PixelCrushers.DialogueSystem.DeftlySupport.DeftlyLuaFunctions.RemoveHealth ( string  subjectName,
double  amount 
)
static

◆ SetAgility()

static void PixelCrushers.DialogueSystem.DeftlySupport.DeftlyLuaFunctions.SetAgility ( string  subjectName,
double  amount 
)
static

◆ SetDexterity()

static void PixelCrushers.DialogueSystem.DeftlySupport.DeftlyLuaFunctions.SetDexterity ( string  subjectName,
double  amount 
)
static

◆ SetEndurance()

static void PixelCrushers.DialogueSystem.DeftlySupport.DeftlyLuaFunctions.SetEndurance ( string  subjectName,
double  amount 
)
static

◆ SetGodMode()

static void PixelCrushers.DialogueSystem.DeftlySupport.DeftlyLuaFunctions.SetGodMode ( string  subjectName,
bool  value 
)
static

◆ SetPeacefulMode()

static void PixelCrushers.DialogueSystem.DeftlySupport.DeftlyLuaFunctions.SetPeacefulMode ( bool  value)
static

◆ SetScore()

static void PixelCrushers.DialogueSystem.DeftlySupport.DeftlyLuaFunctions.SetScore ( string  subjectName,
double  amount 
)
static

◆ SetStrength()

static void PixelCrushers.DialogueSystem.DeftlySupport.DeftlyLuaFunctions.SetStrength ( string  subjectName,
double  amount 
)
static

◆ SetUnlimitedMags()

static void PixelCrushers.DialogueSystem.DeftlySupport.DeftlyLuaFunctions.SetUnlimitedMags ( string  subjectName,
bool  value 
)
static

◆ UnregisterLuaFunctions()

void PixelCrushers.DialogueSystem.DeftlySupport.DeftlyLuaFunctions.UnregisterLuaFunctions ( )

Member Data Documentation

◆ weaponDatabase

GameObject [] PixelCrushers.DialogueSystem.DeftlySupport.DeftlyLuaFunctions.weaponDatabase = new GameObject[0]

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