Crossfire Server, Trunk
CREWrapperTreasureList Class Reference

#include <CREWrapperTreasure.h>

+ Inheritance diagram for CREWrapperTreasureList:
+ Collaboration diagram for CREWrapperTreasureList:

Public Member Functions

 CREWrapperTreasureList (const treasurelist *list)
 
int itemCount () const
 
QString name () const
 
int totalChance () const
 

Properties

int item_count
 
QString name
 
int total_chance
 

Private Attributes

const treasurelistmyList
 

Detailed Description

Definition at line 11 of file CREWrapperTreasure.h.

Constructor & Destructor Documentation

◆ CREWrapperTreasureList()

CREWrapperTreasureList::CREWrapperTreasureList ( const treasurelist list)

Definition at line 3 of file CREWrapperTreasure.cpp.

Member Function Documentation

◆ itemCount()

int CREWrapperTreasureList::itemCount ( ) const

Definition at line 7 of file CREWrapperTreasure.cpp.

References disinfect::count, treasureliststruct::items, and myList.

◆ name()

QString CREWrapperTreasureList::name ( ) const
inline

Definition at line 22 of file CREWrapperTreasure.h.

References myList, and treasureliststruct::name.

◆ totalChance()

int CREWrapperTreasureList::totalChance ( ) const
inline

Definition at line 23 of file CREWrapperTreasure.h.

References myList, and treasureliststruct::total_chance.

Field Documentation

◆ myList

const treasurelist* CREWrapperTreasureList::myList
private

Definition at line 27 of file CREWrapperTreasure.h.

Referenced by itemCount(), name(), and totalChance().

Property Documentation

◆ item_count

int CREWrapperTreasureList::item_count
read

Definition at line 17 of file CREWrapperTreasure.h.

◆ name

QString CREWrapperTreasureList::name
read

Definition at line 15 of file CREWrapperTreasure.h.

◆ total_chance

int CREWrapperTreasureList::total_chance
read

Definition at line 16 of file CREWrapperTreasure.h.


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