Adventure Creator 1.84.3
An adventure game toolkit for Unity, by Chris Burton, ICEBOX Studios 2013-2024
Loading...
Searching...
No Matches
AC.SetInventoryInteractionParameters Class Reference
Inheritance diagram for AC.SetInventoryInteractionParameters:
AC.SetParametersBase AC.iActionListAssetReferencer

Public Member Functions

void ShowGUI ()
Public Member Functions inherited from AC.SetParametersBase
virtual List< ActionListAssetGetReferencedActionListAssets ()
 Gets a List of all ActionList assets referenced by the component.
virtual bool ReferencesAsset (ActionListAsset actionListAsset)
bool ReferencesObjectOrID (GameObject _gameObject, int id)

Protected Types

enum  InteractionType { Use , Examine }

Protected Member Functions

void OnEnable ()
void OnDisable ()
void OnInventoryInteract (InvInstance invInstance, int iconID)
int GetIconSlot (int _id, CursorIcon[] cursorIcons)
void ShowParametersGUI (ActionListAsset actionListAsset)
void ShowActionListReference (ActionListAsset actionListAsset)
Protected Member Functions inherited from AC.SetParametersBase
void AssignParameterValues (ActionList _actionList, int runIndex=0)
 Updates an ActionLists's parameter values with its own.
void AssignParameterValues (ActionListAsset _actionListAsset, int runIndex=0)
 Updates an ActionList asset's parameter values with its own.
List< ActionParameterGetFromParameters (int index)
List< ActionListAssetGetAssetsFromParameterGUIData (SetParametersBase.GUIData guiData, List< ActionListAsset > existingList)
void ShowParametersGUI (List< ActionParameter > externalParameters, bool isAssetFile, bool runMultipleTimes=false)

Protected Attributes

int itemID = 0
int cursorIndex = 0
InteractionType interactionType = InteractionType.Use
Protected Attributes inherited from AC.SetParametersBase
GUIData initialGUIData = new GUIData (new List<ActionParameter>(), new List<int>())
GUIData[] successiveGUIData = new GUIData[0]

Additional Inherited Members

Static Public Member Functions inherited from AC.SetParametersBase
static void BulkAssignParameterValues (List< ActionParameter > externalParameters, List< ActionParameter > fromParameters, bool sendingToAsset, bool _isAssetFile)
 Transfers values from one list of parameters to another.
static GUIData SyncLists (List< ActionParameter > externalParameters, GUIData originalGUIData)
 Syncronises two lists of parameters so that their sizes and IDs match.
static GUIData SetParametersGUI (List< ActionParameter > externalParameters, bool isAssetFile, GUIData guiData, List< ActionParameter > ownParameters=null)
Static Protected Member Functions inherited from AC.SetParametersBase
static int FieldToID< T > (bool isAssetFile, T field, int _constantID, bool alwaysAssign=false)
static T IDToField< T > (bool isAssetFile, T field, int _constantID, bool moreInfo)

Detailed Description

A component used to set all of an Inventory interaction's parameters at the moment it is interacted with by the player.