Corgi Engine  v8.8
MoreMountains.InventoryEngine.InventoryTester Class Reference

This test class lets you play with the Inventory API. You can see it in action in the PixelRogueRoom2 demo scene More...

Inheritance diagram for MoreMountains.InventoryEngine.InventoryTester:

Public Attributes

InventoryItem AddItem
 an item to add when pressing the AddItemTest button More...
 
int AddItemQuantity
 the quantity of the item to add More...
 
Inventory AddItemInventory
 the inventory to which to add the item More...
 
bool AddItemTestButton
 a test button More...
 
InventoryItem AddItemAtItem
 the inventory item to add at a specific index More...
 
int AddItemAtQuantity
 the quantity of item to add More...
 
int AddItemAtIndex
 the index at which the item should be added More...
 
Inventory AddItemAtInventory
 the inventory to add items to More...
 
bool AddItemAtTestButton
 a test button More...
 
int MoveItemOrigin
 the index from which to move items More...
 
int MoveItemDestination
 the index to which we want to move the origin index's item More...
 
Inventory MoveItemInventory
 the inventory in which to move items More...
 
bool MoveItemTestButton
 a test button More...
 
int MoveItemToInventoryOriginIndex
 the index from which to move items More...
 
int MoveItemToInventoryDestinationIndex = -1
 the index to which we want to move the origin index's item More...
 
Inventory MoveItemToOriginInventory
 the inventory in which to move an item from More...
 
Inventory MoveItemToDestinationInventory
 the inventory in which to move an item to More...
 
bool MoveItemToInventoryTestButton
 a test button More...
 
int RemoveItemIndex
 the index at which to remove items More...
 
int RemoveItemQuantity
 the quantity to remove at the specified index More...
 
Inventory RemoveItemInventory
 the inventory from which to remove an item More...
 
bool RemoveItemTestButton
 a test button More...
 
Inventory EmptyTargetInventory
 the inventory to empty More...
 
bool EmptyInventoryTestButton
 a test button More...
 

Protected Member Functions

virtual void AddItemTest ()
 Test method to add an item More...
 
virtual void AddItemAtTest ()
 Test method to add an item at the specified index More...
 
virtual void MoveItemTest ()
 Test method to move an item from index A to B More...
 
virtual void MoveItemToInventory ()
 Test method to move an item from index A to B More...
 
virtual void RemoveItemTest ()
 Test method to remove an item at the specified index More...
 
virtual void EmptyInventoryTest ()
 Test method to empty the target inventory More...
 

Detailed Description

This test class lets you play with the Inventory API. You can see it in action in the PixelRogueRoom2 demo scene

Member Function Documentation

◆ AddItemAtTest()

virtual void MoreMountains.InventoryEngine.InventoryTester.AddItemAtTest ( )
protectedvirtual

Test method to add an item at the specified index

◆ AddItemTest()

virtual void MoreMountains.InventoryEngine.InventoryTester.AddItemTest ( )
protectedvirtual

Test method to add an item

◆ EmptyInventoryTest()

virtual void MoreMountains.InventoryEngine.InventoryTester.EmptyInventoryTest ( )
protectedvirtual

Test method to empty the target inventory

◆ MoveItemTest()

virtual void MoreMountains.InventoryEngine.InventoryTester.MoveItemTest ( )
protectedvirtual

Test method to move an item from index A to B

◆ MoveItemToInventory()

virtual void MoreMountains.InventoryEngine.InventoryTester.MoveItemToInventory ( )
protectedvirtual

Test method to move an item from index A to B

◆ RemoveItemTest()

virtual void MoreMountains.InventoryEngine.InventoryTester.RemoveItemTest ( )
protectedvirtual

Test method to remove an item at the specified index

Member Data Documentation

◆ AddItem

InventoryItem MoreMountains.InventoryEngine.InventoryTester.AddItem

an item to add when pressing the AddItemTest button

◆ AddItemAtIndex

int MoreMountains.InventoryEngine.InventoryTester.AddItemAtIndex

the index at which the item should be added

◆ AddItemAtInventory

Inventory MoreMountains.InventoryEngine.InventoryTester.AddItemAtInventory

the inventory to add items to

◆ AddItemAtItem

InventoryItem MoreMountains.InventoryEngine.InventoryTester.AddItemAtItem

the inventory item to add at a specific index

◆ AddItemAtQuantity

int MoreMountains.InventoryEngine.InventoryTester.AddItemAtQuantity

the quantity of item to add

◆ AddItemAtTestButton

bool MoreMountains.InventoryEngine.InventoryTester.AddItemAtTestButton

a test button

◆ AddItemInventory

Inventory MoreMountains.InventoryEngine.InventoryTester.AddItemInventory

the inventory to which to add the item

◆ AddItemQuantity

int MoreMountains.InventoryEngine.InventoryTester.AddItemQuantity

the quantity of the item to add

◆ AddItemTestButton

bool MoreMountains.InventoryEngine.InventoryTester.AddItemTestButton

a test button

◆ EmptyInventoryTestButton

bool MoreMountains.InventoryEngine.InventoryTester.EmptyInventoryTestButton

a test button

◆ EmptyTargetInventory

Inventory MoreMountains.InventoryEngine.InventoryTester.EmptyTargetInventory

the inventory to empty

◆ MoveItemDestination

int MoreMountains.InventoryEngine.InventoryTester.MoveItemDestination

the index to which we want to move the origin index's item

◆ MoveItemInventory

Inventory MoreMountains.InventoryEngine.InventoryTester.MoveItemInventory

the inventory in which to move items

◆ MoveItemOrigin

int MoreMountains.InventoryEngine.InventoryTester.MoveItemOrigin

the index from which to move items

◆ MoveItemTestButton

bool MoreMountains.InventoryEngine.InventoryTester.MoveItemTestButton

a test button

◆ MoveItemToDestinationInventory

Inventory MoreMountains.InventoryEngine.InventoryTester.MoveItemToDestinationInventory

the inventory in which to move an item to

◆ MoveItemToInventoryDestinationIndex

int MoreMountains.InventoryEngine.InventoryTester.MoveItemToInventoryDestinationIndex = -1

the index to which we want to move the origin index's item

◆ MoveItemToInventoryOriginIndex

int MoreMountains.InventoryEngine.InventoryTester.MoveItemToInventoryOriginIndex

the index from which to move items

◆ MoveItemToInventoryTestButton

bool MoreMountains.InventoryEngine.InventoryTester.MoveItemToInventoryTestButton

a test button

◆ MoveItemToOriginInventory

Inventory MoreMountains.InventoryEngine.InventoryTester.MoveItemToOriginInventory

the inventory in which to move an item from

◆ RemoveItemIndex

int MoreMountains.InventoryEngine.InventoryTester.RemoveItemIndex

the index at which to remove items

◆ RemoveItemInventory

Inventory MoreMountains.InventoryEngine.InventoryTester.RemoveItemInventory

the inventory from which to remove an item

◆ RemoveItemQuantity

int MoreMountains.InventoryEngine.InventoryTester.RemoveItemQuantity

the quantity to remove at the specified index

◆ RemoveItemTestButton

bool MoreMountains.InventoryEngine.InventoryTester.RemoveItemTestButton

a test button


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