PixelCrushers.DialogueSystem.SInventory.SInventoryDialogueActor Class Reference

This class provides a data bridge between S-Inventory and the Dialogue System. More...

Inheritance diagram for PixelCrushers.DialogueSystem.SInventory.SInventoryDialogueActor:
Collaboration diagram for PixelCrushers.DialogueSystem.SInventory.SInventoryDialogueActor:

Public Member Functions

virtual void Awake ()
 
void OnConversationStart (Transform actor)
 
void OnConversationEnd (Transform actor)
 
void SetInvGUI (bool show)
 Sets the inventory GUI on or off. More...
 
void OnRecordPersistentData ()
 
void OnApplyPersistentData ()
 
bool DoesActorHaveSaveData ()
 
void SaveCurrencies ()
 
void LoadCurrencies ()
 
void SaveItems ()
 
void LoadItems ()
 
void SaveEquipment ()
 
void LoadEquipment ()
 
void SaveSkillBar ()
 
void LoadSkillBar ()
 
virtual void Awake ()
 
void OnConversationStart (Transform actor)
 
void OnConversationEnd (Transform actor)
 
void SetInvGUI (bool show)
 Sets the inventory GUI on or off. More...
 
void OnRecordPersistentData ()
 
void OnApplyPersistentData ()
 
bool DoesActorHaveSaveData ()
 
void SaveCurrencies ()
 
void LoadCurrencies ()
 
void SaveItems ()
 
void LoadItems ()
 
void SaveEquipment ()
 
void LoadEquipment ()
 
void SaveSkillBar ()
 
void LoadSkillBar ()
 

Public Attributes

bool saveInventory = true
 Set true to hook the actor's S-Inventory data into the Dialogue System's Save/Load/PersistentData system. More...
 
bool hideInventoryInConversations = true
 Set true to automatically hide the inventory GUI when this actor is involved in conversations. More...
 
bool debug = false
 
InventoryManager invManager = null
 
Equipment equipment = null
 
SkillBar skillBar = null
 
InventoryUI invUI = null
 
EquipmentUI equipUI = null
 
SkillBarUI skillBarUI = null
 
CraftUI craftUI = null
 
VendorUI vendorUI = null
 
ItemGroupUI itemGroupUI = null
 

Protected Member Functions

virtual void OnEnable ()
 
virtual void OnDisable ()
 
virtual void OnEnable ()
 
virtual void OnDisable ()
 

Properties

string internalName [get, set]
 

Detailed Description

This class provides a data bridge between S-Inventory and the Dialogue System.

Add it to your actor(s).

Member Function Documentation

◆ Awake() [1/2]

virtual void PixelCrushers.DialogueSystem.SInventory.SInventoryDialogueActor.Awake ( )
virtual

◆ Awake() [2/2]

virtual void PixelCrushers.DialogueSystem.SInventory.SInventoryDialogueActor.Awake ( )
virtual

◆ DoesActorHaveSaveData() [1/2]

bool PixelCrushers.DialogueSystem.SInventory.SInventoryDialogueActor.DoesActorHaveSaveData ( )

◆ DoesActorHaveSaveData() [2/2]

bool PixelCrushers.DialogueSystem.SInventory.SInventoryDialogueActor.DoesActorHaveSaveData ( )

◆ LoadCurrencies() [1/2]

void PixelCrushers.DialogueSystem.SInventory.SInventoryDialogueActor.LoadCurrencies ( )

◆ LoadCurrencies() [2/2]

void PixelCrushers.DialogueSystem.SInventory.SInventoryDialogueActor.LoadCurrencies ( )

◆ LoadEquipment() [1/2]

void PixelCrushers.DialogueSystem.SInventory.SInventoryDialogueActor.LoadEquipment ( )

◆ LoadEquipment() [2/2]

void PixelCrushers.DialogueSystem.SInventory.SInventoryDialogueActor.LoadEquipment ( )

◆ LoadItems() [1/2]

void PixelCrushers.DialogueSystem.SInventory.SInventoryDialogueActor.LoadItems ( )

◆ LoadItems() [2/2]

void PixelCrushers.DialogueSystem.SInventory.SInventoryDialogueActor.LoadItems ( )

◆ LoadSkillBar() [1/2]

void PixelCrushers.DialogueSystem.SInventory.SInventoryDialogueActor.LoadSkillBar ( )

◆ LoadSkillBar() [2/2]

void PixelCrushers.DialogueSystem.SInventory.SInventoryDialogueActor.LoadSkillBar ( )

◆ OnApplyPersistentData() [1/2]

void PixelCrushers.DialogueSystem.SInventory.SInventoryDialogueActor.OnApplyPersistentData ( )

◆ OnApplyPersistentData() [2/2]

void PixelCrushers.DialogueSystem.SInventory.SInventoryDialogueActor.OnApplyPersistentData ( )

◆ OnConversationEnd() [1/2]

void PixelCrushers.DialogueSystem.SInventory.SInventoryDialogueActor.OnConversationEnd ( Transform  actor)

◆ OnConversationEnd() [2/2]

void PixelCrushers.DialogueSystem.SInventory.SInventoryDialogueActor.OnConversationEnd ( Transform  actor)

◆ OnConversationStart() [1/2]

void PixelCrushers.DialogueSystem.SInventory.SInventoryDialogueActor.OnConversationStart ( Transform  actor)

◆ OnConversationStart() [2/2]

void PixelCrushers.DialogueSystem.SInventory.SInventoryDialogueActor.OnConversationStart ( Transform  actor)

◆ OnDisable() [1/2]

virtual void PixelCrushers.DialogueSystem.SInventory.SInventoryDialogueActor.OnDisable ( )
protectedvirtual

◆ OnDisable() [2/2]

virtual void PixelCrushers.DialogueSystem.SInventory.SInventoryDialogueActor.OnDisable ( )
protectedvirtual

◆ OnEnable() [1/2]

virtual void PixelCrushers.DialogueSystem.SInventory.SInventoryDialogueActor.OnEnable ( )
protectedvirtual

◆ OnEnable() [2/2]

virtual void PixelCrushers.DialogueSystem.SInventory.SInventoryDialogueActor.OnEnable ( )
protectedvirtual

◆ OnRecordPersistentData() [1/2]

void PixelCrushers.DialogueSystem.SInventory.SInventoryDialogueActor.OnRecordPersistentData ( )

◆ OnRecordPersistentData() [2/2]

void PixelCrushers.DialogueSystem.SInventory.SInventoryDialogueActor.OnRecordPersistentData ( )

◆ SaveCurrencies() [1/2]

void PixelCrushers.DialogueSystem.SInventory.SInventoryDialogueActor.SaveCurrencies ( )

◆ SaveCurrencies() [2/2]

void PixelCrushers.DialogueSystem.SInventory.SInventoryDialogueActor.SaveCurrencies ( )

◆ SaveEquipment() [1/2]

void PixelCrushers.DialogueSystem.SInventory.SInventoryDialogueActor.SaveEquipment ( )

◆ SaveEquipment() [2/2]

void PixelCrushers.DialogueSystem.SInventory.SInventoryDialogueActor.SaveEquipment ( )

◆ SaveItems() [1/2]

void PixelCrushers.DialogueSystem.SInventory.SInventoryDialogueActor.SaveItems ( )

◆ SaveItems() [2/2]

void PixelCrushers.DialogueSystem.SInventory.SInventoryDialogueActor.SaveItems ( )

◆ SaveSkillBar() [1/2]

void PixelCrushers.DialogueSystem.SInventory.SInventoryDialogueActor.SaveSkillBar ( )

◆ SaveSkillBar() [2/2]

void PixelCrushers.DialogueSystem.SInventory.SInventoryDialogueActor.SaveSkillBar ( )

◆ SetInvGUI() [1/2]

void PixelCrushers.DialogueSystem.SInventory.SInventoryDialogueActor.SetInvGUI ( bool  show)

Sets the inventory GUI on or off.

Parameters
showShow if true; otherwise hide.

◆ SetInvGUI() [2/2]

void PixelCrushers.DialogueSystem.SInventory.SInventoryDialogueActor.SetInvGUI ( bool  show)

Sets the inventory GUI on or off.

Parameters
showShow if true; otherwise hide.

Member Data Documentation

◆ craftUI

CraftUI PixelCrushers.DialogueSystem.SInventory.SInventoryDialogueActor.craftUI = null

◆ debug

bool PixelCrushers.DialogueSystem.SInventory.SInventoryDialogueActor.debug = false

◆ equipment

Equipment PixelCrushers.DialogueSystem.SInventory.SInventoryDialogueActor.equipment = null

◆ equipUI

EquipmentUI PixelCrushers.DialogueSystem.SInventory.SInventoryDialogueActor.equipUI = null

◆ hideInventoryInConversations

bool PixelCrushers.DialogueSystem.SInventory.SInventoryDialogueActor.hideInventoryInConversations = true

Set true to automatically hide the inventory GUI when this actor is involved in conversations.

◆ invManager

InventoryManager PixelCrushers.DialogueSystem.SInventory.SInventoryDialogueActor.invManager = null

◆ invUI

InventoryUI PixelCrushers.DialogueSystem.SInventory.SInventoryDialogueActor.invUI = null

◆ itemGroupUI

ItemGroupUI PixelCrushers.DialogueSystem.SInventory.SInventoryDialogueActor.itemGroupUI = null

◆ saveInventory

bool PixelCrushers.DialogueSystem.SInventory.SInventoryDialogueActor.saveInventory = true

Set true to hook the actor's S-Inventory data into the Dialogue System's Save/Load/PersistentData system.

◆ skillBar

SkillBar PixelCrushers.DialogueSystem.SInventory.SInventoryDialogueActor.skillBar = null

◆ skillBarUI

SkillBarUI PixelCrushers.DialogueSystem.SInventory.SInventoryDialogueActor.skillBarUI = null

◆ vendorUI

VendorUI PixelCrushers.DialogueSystem.SInventory.SInventoryDialogueActor.vendorUI = null

Property Documentation

◆ internalName

string PixelCrushers.DialogueSystem.SInventory.SInventoryDialogueActor.internalName
getset

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