Adventure Creator  1.79.1
An adventure game toolkit for Unity, by Chris Burton, ICEBOX Studios 2013-2022
AC.InvBin Class Reference

Public Member Functions

 InvBin (int[] idArray)
 The default Constructor. More...
 

Public Attributes

string label
 
int id
 
bool forObjectives
 
bool forDocuments
 

Properties

string? EditorLabel [get]
 
bool forItems [get, set]
 

Detailed Description

A data container for an inventory item category.

Constructor & Destructor Documentation

◆ InvBin()

AC.InvBin.InvBin ( int[]  idArray)

The default Constructor.

Parameters
idArrayAn array of already-used ID numbers, so that a unique one can be generated

Member Data Documentation

◆ forDocuments

bool AC.InvBin.forDocuments

If True, the category is avaiable for Documents to use

◆ forObjectives

bool AC.InvBin.forObjectives

If True, the category is avaiable for Objectives to use

◆ id

int AC.InvBin.id

A unique identifier

◆ label

string AC.InvBin.label

The category's editor name

Property Documentation

◆ forItems

bool AC.InvBin.forItems
getset

If True, the category is avaiable for Inventory items to use