|
Pol
Revision:cb584c9
|
#include <partymod.h>
Inheritance diagram for Pol::Module::PartyExecutorModule:Public Member Functions | |
| PartyExecutorModule (Bscript::Executor &exec) | |
| Bscript::BObjectImp * | mf_CreateParty () |
| Bscript::BObjectImp * | mf_DisbandParty () |
| Bscript::BObjectImp * | mf_SendPartyMsg () |
| Bscript::BObjectImp * | mf_SendPrivatePartyMsg () |
Public Member Functions inherited from Pol::Bscript::ExecutorModule | |
| virtual | ~ExecutorModule ()=default |
| BApplicObjBase * | getApplicObjParam (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) |
| BObjectImp * | getParamImp (unsigned param) |
| BObjectImp * | getParamImp (unsigned param, BObjectImp::BObjectType type) |
| bool | getParamImp (unsigned param, BObjectImp *&imp) |
| bool | getRealParam (unsigned param, double &value) |
| const String * | getStringParam (unsigned param) |
| bool | getStringParam (unsigned param, const String *&pstr) |
| const std::string & | scriptname () const |
Additional Inherited Members | |
Public Attributes inherited from Pol::Bscript::ExecutorModule | |
| Executor & | exec |
Protected Member Functions inherited from Pol::Bscript::TmplExecutorModule< PartyExecutorModule > | |
| TmplExecutorModule (const char *modname, Executor &exec) | |
| virtual BObjectImp * | execFunc (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 |
Definition at line 29 of file partymod.h.
| Pol::Module::PartyExecutorModule::PartyExecutorModule | ( | Bscript::Executor & | exec | ) |
Definition at line 52 of file partymod.cpp.
| BObjectImp * Pol::Module::PartyExecutorModule::mf_CreateParty | ( | ) |
Definition at line 381 of file partymod.cpp.
References Pol::Core::Party::add_member(), Pol::Core::ExportedFunction::call(), Pol::Mobile::Character::client, Pol::Core::CLP_Added, Pol::Core::CLP_Joined, Pol::Module::CreatePartyRefObjImp(), Pol::Core::gamestate, Pol::Core::getCharacterParam(), Pol::Mobile::Character::has_active_client(), Pol::Core::Party_Cfg::Hooks, Pol::Core::UObject::name(), Pol::Core::Party_Cfg::OnPartyCreate, Pol::Core::GameState::parties, Pol::Core::SettingsManager::party_cfg, Pol::Core::Party::send_member_list(), Pol::Core::Party::send_msg_to_all(), Pol::Core::Party::send_stats_on_add(), Pol::Core::send_sysmessage_cl_affix(), Pol::Core::ULWObject::serial, and Pol::Core::settingsManager.
Referenced by Pol::Bscript::TmplExecutorModule< T >::function_table().
| BObjectImp * Pol::Module::PartyExecutorModule::mf_DisbandParty | ( | ) |
Definition at line 428 of file partymod.cpp.
References Pol::Core::disband_party(), Pol::Module::getPartyParam(), and Pol::Core::Party::leader().
Referenced by Pol::Bscript::TmplExecutorModule< T >::function_table().
| BObjectImp * Pol::Module::PartyExecutorModule::mf_SendPartyMsg | ( | ) |
Definition at line 441 of file partymod.cpp.
References Pol::Core::ExportedFunction::call(), Pol::Core::convertArrayToUC(), Pol::Core::getCharacterParam(), Pol::Module::getPartyParam(), Pol::Module::gwtext, Pol::Core::Party_Cfg::Hooks, Pol::Mobile::Character::make_ref(), Pol::Core::Party_Cfg::OnPublicChat, Pol::Core::SettingsManager::party_cfg, Pol::Bscript::ObjArray::ref_arr, Pol::Core::Party::send_member_msg_public(), Pol::Core::settingsManager, and SPEECH_MAX_LEN.
Referenced by Pol::Bscript::TmplExecutorModule< T >::function_table().
| BObjectImp * Pol::Module::PartyExecutorModule::mf_SendPrivatePartyMsg | ( | ) |
Definition at line 471 of file partymod.cpp.
References Pol::Core::ExportedFunction::call(), Pol::Core::convertArrayToUC(), Pol::Core::getCharacterParam(), Pol::Module::getPartyParam(), Pol::Module::gwtext, Pol::Core::Party_Cfg::Hooks, Pol::Mobile::Character::make_ref(), Pol::Core::Party_Cfg::OnPrivateChat, Pol::Core::SettingsManager::party_cfg, Pol::Bscript::ObjArray::ref_arr, Pol::Core::Party::send_member_msg_private(), Pol::Core::settingsManager, and SPEECH_MAX_LEN.
Referenced by Pol::Bscript::TmplExecutorModule< T >::function_table().