Pol  Revision:cb584c9
Pol::Items::ResourceComponent Struct Reference

#include <itemdesc.h>

Public Member Functions

 ResourceComponent (const std::string &rname, unsigned amount)

Public Attributes

unsigned amount

Detailed Description

Definition at line 47 of file itemdesc.h.

Constructor & Destructor Documentation

Pol::Items::ResourceComponent::ResourceComponent ( const std::string &  rname,
unsigned  amount 

Definition at line 86 of file itemdesc.cpp.

References ERROR_PRINT, and rd.

Member Data Documentation

unsigned Pol::Items::ResourceComponent::amount

Definition at line 50 of file itemdesc.h.

Core::ResourceDef* Pol::Items::ResourceComponent::rd

Definition at line 49 of file itemdesc.h.

Referenced by ResourceComponent().

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