Pol  Revision:3cfda13
uomod2.cpp File Reference
#include "pol_global_config.h"
#include <ctype.h>
#include <stddef.h>
#include <string>
#include "../../bscript/berror.h"
#include "../../bscript/bobject.h"
#include "../../bscript/bstruct.h"
#include "../../bscript/eprog.h"
#include "../../bscript/executor.h"
#include "../../bscript/impstr.h"
#include "../../clib/Program/ProgramConfig.h"
#include "../../clib/clib.h"
#include "../../clib/clib_endian.h"
#include "../../clib/compilerspecifics.h"
#include "../../clib/logfacility.h"
#include "../../clib/passert.h"
#include "../../clib/rawtypes.h"
#include "../../clib/refptr.h"
#include "../../plib/pkg.h"
#include "../../plib/systemstate.h"
#include "../accounts/account.h"
#include "../accounts/accounts.h"
#include "../accounts/acscrobj.h"
#include "../containr.h"
#include "../core.h"
#include "../exscrobj.h"
#include "../globals/memoryusage.h"
#include "../globals/script_internals.h"
#include "../globals/state.h"
#include "../globals/uvars.h"
#include "../item/item.h"
#include "../item/itemdesc.h"
#include "../layers.h"
#include "../mobile/charactr.h"
#include "../mobile/npc.h"
#include "../multi/customhouses.h"
#include "../multi/house.h"
#include "../multi/multi.h"
#include "../multi/multidef.h"
#include "../network/cgdata.h"
#include "../network/client.h"
#include "../network/packethelper.h"
#include "../network/packetinterface.h"
#include "../network/packets.h"
#include "../objtype.h"
#include "../pktboth.h"
#include "../pktdef.h"
#include "../pktin.h"
#include "../polclass.h"
#include "../profile.h"
#include "../realms/realm.h"
#include "../reftypes.h"
#include "../scrstore.h"
#include "../sngclick.h"
#include "../statmsg.h"
#include "../tooltips.h"
#include "../uconst.h"
#include "../ufunc.h"
#include "../uobject.h"
#include "../uoexec.h"
#include "../uoscrobj.h"
#include "../uworld.h"
#include "osmod.h"
#include "uomod.h"
#include "../../../lib/zlib/zlib.h"

Go to the source code of this file.

Classes

class  Pol::Module::BIntHash
 
class  Pol::Module::PolCore
 

Namespaces

 Pol
 
 Pol::Core
 
 Pol::Module
 

Macros

#define LONG_COREVAR(name, expr)
 

Functions

BObjectImp * Pol::Module::_create_item_in_container (UContainer *cont, const ItemDesc *descriptor, unsigned short amount, bool force_stacking, UOExecutorModule *uoemod)
 
void Pol::Module::add_script (ObjArray *arr, UOExecutor *uoexec, const char *)
 
void Pol::Module::buyhandler (Client *client, PKTBI_3B *msg)
 
unsigned int Pol::Module::calculate_cost (Character *, UContainer *for_sale, UContainer *bought, PKTBI_3B *msg)
 
void Pol::Module::character_race_changer_handler (Network::Client *client, Core::PKTBI_BF *msg)
 
void Pol::Module::clear_gumphandler (Client *client, UOExecutorModule *uoemod)
 
BObjectImp * Pol::Module::GetAllScriptList ()
 
BObjectImp * Pol::Module::GetCoreVariable (const char *corevar)
 
BObjectImp * Pol::Module::GetIoStats ()
 
BObjectImp * Pol::Module::GetIoStatsObj (const IOStats &stats)
 
BObjectImp * Pol::Module::GetPackageList ()
 
BObjectImp * Pol::Module::GetPktStatusObj ()
 
BObjectImp * Pol::Module::GetQueuedIoStats ()
 
BObjectImp * Pol::Module::GetRunningScriptList ()
 
BObjectImp * Pol::Module::GetScriptProfiles ()
 
void Pol::Module::gumpbutton_handler (Client *client, PKTIN_B1 *msg)
 
void Pol::Module::handle_resurrect_menu (Client *client, PKTBI_2C *msg)
 
void Pol::Module::handle_selcolor (Client *client, PKTBI_95 *msg)
 
void Pol::Module::handle_textentry (Client *client, PKTIN_AC *msg)
 
BObjectImp * Pol::Module::MakeMapCacheImp ()
 
void Pol::Module::oldBuyHandler (Client *client, PKTBI_3B *msg)
 
void Pol::Module::oldSellHandler (Client *client, PKTIN_9F *msg)
 
void Pol::Module::open_book_handler (Client *client, PKTBI_93 *msg)
 
void Pol::Module::popup_menu_selection_made (Network::Client *client, u32 serial, u16 id)
 
void Pol::Module::read_book_page_handler (Client *client, PKTBI_66 *msg)
 
void Pol::Module::sellhandler (Client *client, PKTIN_9F *msg)
 
void Pol::Module::send_clear_vendorwindow (Client *client, Character *vendor)
 
bool Pol::Module::send_vendorsell (Client *client, NPC *merchant, UContainer *sellfrom, UContainer *buyable, bool send_aos_tooltip)
 
bool Pol::Module::send_vendorwindow_contents (Network::Client *client, Core::UContainer *for_sale, bool send_aos_tooltip)
 
char Pol::Module::strip_ctrl_chars (char c)
 
bool Pol::Core::validbeard (u16 BeardStyle)
 
bool Pol::Core::validhair (u16 HairStyle)
 

Detailed Description

History
  • 2005/03/02 Shinigami: mf_MoveObjectToRealm - fixed item detection and added container handling
  • 2005/06/11 Shinigami: added polcore().internal - just for internal Development (not documented)
  • 2005/06/20 Shinigami: added memory log to polcore().internal (needs defined MEMORYLEAK)
  • 2005/07/25 Shinigami: doubled Msg size in mf_SendGumpMenu to use larger Gumps
  • 2005/10/16 Shinigami: added x- and y-offset to mf_SendGumpMenu
  • 2005/11/26 Shinigami: changed "strcmp" into "stricmp" to suppress Script Errors
  • 2006/05/07 Shinigami: mf_SendBuyWindow & mf_SendSellWindow - added Flags to send Item Description using AoS Tooltips
  • 2006/05/24 Shinigami: added mf_SendCharacterRaceChanger - change Hair, Beard and Color added character_race_changer_handler()
  • 2006/05/30 Shinigami: Changed params of character_race_changer_handler() Fixed Bug with detection of Gump-Cancel in uo::SendCharacterRaceChanger()
  • 2006/09/23 Shinigami: Script_Cycles, Sleep_Cycles and Script_passes uses 64bit now
  • 2007/04/28 Shinigami: polcore().internal information will be logged in excel-friendly format too (leak.log)
  • 2009/07/23 MuadDib: updates for new Enum::Packet Out ID
  • 2009/08/06 MuadDib: Removed PasswordOnlyHash support
  • 2009/09/03 MuadDib: Relocation of account related cpp/h Relocation of multi related cpp/h
  • 2009/09/10 Turley: CompressedGump support (Grin)
  • 2009/09/06 Turley: Changed Version checks to bitfield client->ClientType
  • 2009/12/17 Turley: CloseWindow( character, type, object ) - Tomi

Definition in file uomod2.cpp.

Macro Definition Documentation

#define LONG_COREVAR (   name,
  expr 
)
Value:
if ( stricmp( corevar, #name ) == 0 ) \
return new BLong( static_cast<int>( expr ) );
std::string name
Definition: osmod.cpp:943

Referenced by Pol::Module::GetCoreVariable().