Rehti MMORPG  1.0.0
Rehti MMORPG is a free and open source MMORPG game.
ItemStats Struct Reference

#include <ItemReader.hpp>

Collaboration diagram for ItemStats:
Collaboration graph

Public Member Functions

 ItemStats (int acc=0, int dam=0, int aspd=0, int rng=0, int arm=0, int dod=0)
 
ItemStats operator+ (ItemStats other)
 

Public Attributes

int accuracy
 
int damage
 
int attackSpeed
 
int range
 
int armor
 
int dodge
 

Friends

std::ostream & operator<< (std::ostream &os, const ItemStats &stats)
 

Constructor & Destructor Documentation

◆ ItemStats()

ItemStats::ItemStats ( int  acc = 0,
int  dam = 0,
int  aspd = 0,
int  rng = 0,
int  arm = 0,
int  dod = 0 
)
inline
Here is the caller graph for this function:

Member Function Documentation

◆ operator+()

ItemStats ItemStats::operator+ ( ItemStats  other)
inline
Here is the call graph for this function:

Friends And Related Function Documentation

◆ operator<<

std::ostream& operator<< ( std::ostream &  os,
const ItemStats stats 
)
friend

Member Data Documentation

◆ accuracy

int ItemStats::accuracy

◆ armor

int ItemStats::armor

◆ attackSpeed

int ItemStats::attackSpeed

◆ damage

int ItemStats::damage

◆ dodge

int ItemStats::dodge

◆ range

int ItemStats::range

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