Zappy Server
C++ game server: world, rules, scheduler, network
Loading...
Searching...
No Matches
Resources.hpp File Reference
#include <optional>
#include <ostream>
#include <stdexcept>
#include <string>
#include <string_view>
+ Include dependency graph for Resources.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Resources
 Represents the resources available in the game, including food and various minerals. More...
 

Enumerations

enum class  ResourceType {
  FOOD = 0 , LINEMATE , DERAUMERE , SIBUR ,
  MENDIANE , PHIRAS , THYSTAME , COUNT
}
 Enumerate the different types of resources in the game. More...
 

Functions

std::ostream & operator<< (std::ostream &os, const Resources &res)
 

Enumeration Type Documentation

◆ ResourceType

enum class ResourceType
strong

Enumerate the different types of resources in the game.

Enumerator
FOOD 
LINEMATE 
DERAUMERE 
SIBUR 
MENDIANE 
PHIRAS 
THYSTAME 
COUNT 

Definition at line 12 of file Resources.hpp.

Function Documentation

◆ operator<<()

std::ostream & operator<< ( std::ostream &  os,
const Resources res 
)
inline

Definition at line 141 of file Resources.hpp.

References res().

+ Here is the call graph for this function: