Wrath of Zeus
Made by Torchlight Games for CSE 125 SP24
Loading...
Searching...
No Matches
Public Member Functions | Data Fields
SharedInventory Struct Reference

#include <sharedobject.hpp>

Public Member Functions

 DEF_SERIALIZE (Archive &ar, const unsigned int version)
 

Data Fields

int selected
 
int inventory_size
 
std::vector< ModelTypeinventory
 
std::vector< int > usesRemaining
 
UsedItemsMap usedItems
 
bool hasOrb
 Denotes whether this player is carrying the Orb in their inventory. More...
 

Member Function Documentation

◆ DEF_SERIALIZE()

SharedInventory::DEF_SERIALIZE ( Archive &  ar,
const unsigned int  version 
)
inline

Field Documentation

◆ hasOrb

bool SharedInventory::hasOrb

Denotes whether this player is carrying the Orb in their inventory.

◆ inventory

std::vector<ModelType> SharedInventory::inventory

◆ inventory_size

int SharedInventory::inventory_size

◆ selected

int SharedInventory::selected

◆ usedItems

UsedItemsMap SharedInventory::usedItems

◆ usesRemaining

std::vector<int> SharedInventory::usesRemaining

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