Cuberite
A lightweight, fast and extensible game server for Minecraft
Public Member Functions | List of all members
cItemGrid::cListener Class Referenceabstract

This class is used as a callback for when a slot changes. More...

#include <ItemGrid.h>

Inheritance diagram for cItemGrid::cListener:
Inheritance graph
[legend]

Public Member Functions

virtual void OnSlotChanged (cItemGrid *a_ItemGrid, int a_SlotNum)=0
 Called whenever a slot changes. More...
 
virtual ~cListener ()
 

Detailed Description

This class is used as a callback for when a slot changes.

Definition at line 25 of file ItemGrid.h.

Constructor & Destructor Documentation

◆ ~cListener()

virtual cItemGrid::cListener::~cListener ( )
inlinevirtual

Definition at line 28 of file ItemGrid.h.

Member Function Documentation

◆ OnSlotChanged()

virtual void cItemGrid::cListener::OnSlotChanged ( cItemGrid a_ItemGrid,
int  a_SlotNum 
)
pure virtual

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