OpenGothic
Open source reimplementation of Gothic I and II
Loading...
Searching...
No Matches
Inventory::Iterator Class Reference

#include <inventory.h>

Public Member Functions

const Itemoperator* () const
 
const Itemoperator-> () const
 
size_t count () const
 
bool isEquipped () const
 
uint8_t slot () const
 
Iteratoroperator++ ()
 
bool isValid () const
 

Friends

class Inventory
 

Detailed Description

Definition at line 36 of file inventory.h.

Member Function Documentation

◆ count()

size_t Inventory::Iterator::count ( ) const

Definition at line 33 of file inventory.cpp.

◆ isEquipped()

bool Inventory::Iterator::isEquipped ( ) const

Definition at line 23 of file inventory.cpp.

◆ isValid()

bool Inventory::Iterator::isValid ( ) const

Definition at line 60 of file inventory.cpp.

◆ operator*()

const Item & Inventory::Iterator::operator* ( ) const

Definition at line 15 of file inventory.cpp.

◆ operator++()

Inventory::Iterator & Inventory::Iterator::operator++ ( )

Definition at line 45 of file inventory.cpp.

◆ operator->()

const Item * Inventory::Iterator::operator-> ( ) const

Definition at line 19 of file inventory.cpp.

◆ slot()

uint8_t Inventory::Iterator::slot ( ) const

Definition at line 28 of file inventory.cpp.

Friends And Related Symbol Documentation

◆ Inventory

friend class Inventory
friend

Definition at line 57 of file inventory.h.


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