Pol  Revision:cb584c9
Pol::Module::GuildExecutorModule Class Reference

#include <guildmod.h>

+ Inheritance diagram for Pol::Module::GuildExecutorModule:

Public Member Functions

 GuildExecutorModule (Bscript::Executor &exec)
 
Bscript::BObjectImpmf_CreateGuild ()
 CreateGuild returns a new Guild object. More...
 
Bscript::BObjectImpmf_DestroyGuild ()
 
Bscript::BObjectImpmf_FindGuild ()
 FindGuild( guildid );. More...
 
Bscript::BObjectImpmf_ListGuilds ()
 ListGuilds returns an array of Guild objects. More...
 
- Public Member Functions inherited from Pol::Bscript::ExecutorModule
virtual ~ExecutorModule ()=default
 
BApplicObjBasegetApplicObjParam (unsigned param, const BApplicObjType *object_type)
 
void * getApplicPtrParam (unsigned param, const BApplicObjType *pointer_type)
 
bool getObjArrayParam (unsigned param, ObjArray *&pobjarr)
 
bool getParam (unsigned param, int &value)
 
bool getParam (unsigned param, int &value, int maxval)
 
bool getParam (unsigned param, int &value, int minval, int maxval)
 
bool getParam (unsigned param, unsigned &value)
 
bool getParam (unsigned param, short &value)
 
bool getParam (unsigned param, short &value, short maxval)
 
bool getParam (unsigned param, short &value, short minval, short maxval)
 
bool getParam (unsigned param, unsigned short &value)
 
bool getParam (unsigned param, unsigned short &value, unsigned short maxval)
 
bool getParam (unsigned param, unsigned short &value, unsigned short minval, unsigned short maxval)
 
BObjectImpgetParamImp (unsigned param)
 
BObjectImpgetParamImp (unsigned param, BObjectImp::BObjectType type)
 
bool getParamImp (unsigned param, BObjectImp *&imp)
 
bool getRealParam (unsigned param, double &value)
 
const StringgetStringParam (unsigned param)
 
bool getStringParam (unsigned param, const String *&pstr)
 
const std::string & scriptname () const
 

Static Public Member Functions

static Bscript::BObjectImpCreateGuildRefObjImp (Core::Guild *guild)
 

Additional Inherited Members

- Public Attributes inherited from Pol::Bscript::ExecutorModule
Executorexec
 
- Protected Member Functions inherited from Pol::Bscript::TmplExecutorModule< GuildExecutorModule >
 TmplExecutorModule (const char *modname, Executor &exec)
 
virtual BObjectImpexecFunc (unsigned idx) POL_OVERRIDE
 
virtual int functionIndex (const std::string &funcname) POL_OVERRIDE
 
virtual std::string functionName (unsigned idx) POL_OVERRIDE
 
- Protected Member Functions inherited from Pol::Bscript::ExecutorModule
 ExecutorModule (const char *moduleName, Executor &iExec)
 
- Protected Attributes inherited from Pol::Bscript::ExecutorModule
boost_utils::function_name_flystring moduleName
 

Detailed Description

Definition at line 29 of file guildmod.h.

Constructor & Destructor Documentation

Pol::Module::GuildExecutorModule::GuildExecutorModule ( Bscript::Executor exec)

Definition at line 470 of file guildmod.cpp.

Member Function Documentation

BObjectImp * Pol::Module::GuildExecutorModule::CreateGuildRefObjImp ( Core::Guild guild)
static
BObjectImp * Pol::Module::GuildExecutorModule::mf_CreateGuild ( )

CreateGuild returns a new Guild object.

Definition at line 490 of file guildmod.cpp.

References Pol::Core::gamestate, Pol::Core::Guild::guildid(), and Pol::Core::GameState::guilds.

Referenced by Pol::Bscript::TmplExecutorModule< T >::function_table().

BObjectImp * Pol::Module::GuildExecutorModule::mf_FindGuild ( )
BObjectImp * Pol::Module::GuildExecutorModule::mf_ListGuilds ( )

ListGuilds returns an array of Guild objects.

Definition at line 476 of file guildmod.cpp.

References Pol::Core::gamestate, and Pol::Core::GameState::guilds.

Referenced by Pol::Bscript::TmplExecutorModule< T >::function_table().


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