Wrath of Zeus
Made by Torchlight Games for CSE 125 SP24
Loading...
Searching...
No Matches
Public Member Functions | Data Fields
SharedTrapInventory 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::unordered_map< CellType, std::time_t > trapsInCooldown
 
std::unordered_map< CellType, int > trapsCooldown
 
int trapsPlaced
 

Member Function Documentation

◆ DEF_SERIALIZE()

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

Field Documentation

◆ inventory

std::vector<ModelType> SharedTrapInventory::inventory

◆ inventory_size

int SharedTrapInventory::inventory_size

◆ selected

int SharedTrapInventory::selected

◆ trapsCooldown

std::unordered_map<CellType, int> SharedTrapInventory::trapsCooldown

◆ trapsInCooldown

std::unordered_map<CellType, std::time_t> SharedTrapInventory::trapsInCooldown

◆ trapsPlaced

int SharedTrapInventory::trapsPlaced

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