This provides a data bridge between ARPG and the Dialogue System. More...
Public Member Functions | |
void | OnConversationStart (Transform actor) |
Prepares to run a conversation by freezing the player (if ticked), syncing data to Lua, and setting the NPC to "talking" mode. | |
void | OnConversationEnd (Transform actor) |
At the end of a conversation, unfreezes the player, syncs data back from Lua, and turns off the NPC's "talking" mode. | |
void | SyncToLua () |
Syncs data to Lua. | |
void | SyncFromLua () |
Syncs back from Lua. | |
Static Public Member Functions | |
static void | SetPlayerLevel (double value) |
static void | SetPlayerAtk (double value) |
static void | SetPlayerDef (double value) |
static void | SetPlayerMAtk (double value) |
static void | SetPlayerMDef (double value) |
static void | SetPlayerExp (double value) |
static void | AdjustPlayerExp (double amount) |
static void | SetPlayerMaxExp (double value) |
static void | SetPlayerHealth (double value) |
static void | AdjustPlayerHealth (double amount, double element) |
static void | SetPlayerMaxHealth (double value) |
static void | SetPlayerMana (double value) |
static void | SetPlayerMaxMana (double value) |
static void | SetPlayerStatusPoint (double value) |
static int | GetItemCount (double itemID) |
static void | AddItem (double itemID, double quantity) |
static void | RemoveItem (double itemID, double quantity) |
static bool | HasEquipment (double itemID) |
static void | AddEquipment (double itemID) |
static void | RemoveEquipment (double itemID) |
Public Attributes | |
string | playerNameInDatabase = "Player" |
bool | includeSimStatus = false |
If ticked, save data will include dialogue entry status (offered and/or spoken). | |
bool | debug = false |
Properties | |
static ARPGBridge | instance [get] |
GameObject | player [get] |
StatusC | status [get] |
InventoryC | inventory [get] |
SkillWindowC | skillWindow [get] |
bool | showDebug [get] |
This provides a data bridge between ARPG and the Dialogue System.
Add it to your Dialogue Manager object.
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inline |
At the end of a conversation, unfreezes the player, syncs data back from Lua, and turns off the NPC's "talking" mode.
actor | Actor. |
|
inline |
Prepares to run a conversation by freezing the player (if ticked), syncing data to Lua, and setting the NPC to "talking" mode.
actor | The other actor. |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inline |
Syncs back from Lua.
|
inline |
Syncs data to Lua.
bool PixelCrushers.DialogueSystem.ARPGSupport.ARPGBridge.debug = false |
bool PixelCrushers.DialogueSystem.ARPGSupport.ARPGBridge.includeSimStatus = false |
If ticked, save data will include dialogue entry status (offered and/or spoken).
string PixelCrushers.DialogueSystem.ARPGSupport.ARPGBridge.playerNameInDatabase = "Player" |
|
staticget |
|
get |
|
get |
|
get |
|
get |
|
get |