Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

cMakeItem Class Reference

Class MakeItem. More...

#include <addmenu.h>

List of all members.

Public Methods

 cMakeItem ()
 ~cMakeItem ()
bool checkReq (P_CHAR pc, bool inMenu=false, cRawItem *def=NULL)
 Check if the player is skilled enough and have requested items.


Public Attributes

cScriptCommandcommand
SI32 skillToCheck
SI32 minskill
SI32 maxskill
cRawItem reqitems [2]


Detailed Description

Class MakeItem.


Constructor & Destructor Documentation

cMakeItem::cMakeItem  
 

cMakeItem::~cMakeItem  
 


Member Function Documentation

bool cMakeItem::checkReq P_CHAR    pc,
bool    inMenu = false,
cRawItem   def = NULL
 

Check if the player is skilled enough and have requested items.

Returns:
bool can or can't
Parameters:
pc  the player
inMenu  if write a sysmessage on error
Todo:
Add message if haven't enough item..


Member Data Documentation

cScriptCommand* cMakeItem::command
 

SI32 cMakeItem::maxskill
 

SI32 cMakeItem::minskill
 

cRawItem cMakeItem::reqitems[2]
 

SI32 cMakeItem::skillToCheck
 


The documentation for this class was generated from the following files: SourceForge.net Logo