Pol  Revision:3cfda13
charactr.h File Reference
#include <ctime>
#include <map>
#include <set>
#include <string>
#include <vector>
#include "../../bscript/bobject.h"
#include "../../clib/compilerspecifics.h"
#include "../../clib/passert.h"
#include "../../clib/rawtypes.h"
#include "../../clib/refptr.h"
#include "../../clib/strset.h"
#include "../../clib/weakptr.h"
#include "../action.h"
#include "../baseobject.h"
#include "../dynproperties.h"
#include "../gameclck.h"
#include "../polclock.h"
#include "../reftypes.h"
#include "../skillid.h"
#include "../uconst.h"
#include "../uobject.h"
#include "../utype.h"
#include "attribute.h"

Go to the source code of this file.

Classes

class  Pol::Mobile::AttributeValue
 
struct  Pol::Mobile::Buff
 
class  Pol::Mobile::Character
 
struct  Pol::Mobile::reportable_t
 
class  Pol::Mobile::VitalValue
 

Namespaces

 Pol
 
 Pol::Accounts
 
 Pol::Bscript
 
 Pol::Clib
 
 Pol::Core
 
 Pol::Items
 
 Pol::Mobile
 
 Pol::Module
 
 Pol::Network
 

Enumerations

enum  Pol::Mobile::MOB_FLAGS : u16 {
  Pol::Mobile::MOB_FLAGS::READY_TO_SWING = 1 << 0, Pol::Mobile::MOB_FLAGS::MURDERER = 1 << 1, Pol::Mobile::MOB_FLAGS::PARTY_CAN_LOOT = 1 << 2, Pol::Mobile::MOB_FLAGS::TRADE_ACCEPTED = 1 << 3,
  Pol::Mobile::MOB_FLAGS::DEAD = 1 << 4, Pol::Mobile::MOB_FLAGS::HIDDEN = 1 << 5, Pol::Mobile::MOB_FLAGS::FROZEN = 1 << 6, Pol::Mobile::MOB_FLAGS::PARALYZED = 1 << 7,
  Pol::Mobile::MOB_FLAGS::WARMODE = 1 << 8, Pol::Mobile::MOB_FLAGS::POISONED = 1 << 9, Pol::Mobile::MOB_FLAGS::LOGGED_IN = 1 << 10, Pol::Mobile::MOB_FLAGS::CONNECTED = 1 << 11,
  Pol::Mobile::MOB_FLAGS::USE_ADJUSTMENTS = 1 << 12
}
 
enum  Pol::Mobile::PRIV_FLAGS : u32 {
  Pol::Mobile::PRIV_FLAGS::MOVE_ANY = 1 << 0, Pol::Mobile::PRIV_FLAGS::MOVE_ANY_DIST = 1 << 1, Pol::Mobile::PRIV_FLAGS::RENAME_ANY = 1 << 2, Pol::Mobile::PRIV_FLAGS::CLOTHE_ANY = 1 << 3,
  Pol::Mobile::PRIV_FLAGS::INVUL = 1 << 4, Pol::Mobile::PRIV_FLAGS::SEE_HIDDEN = 1 << 5, Pol::Mobile::PRIV_FLAGS::SEE_GHOSTS = 1 << 6, Pol::Mobile::PRIV_FLAGS::HEAR_GHOSTS = 1 << 7,
  Pol::Mobile::PRIV_FLAGS::SEE_INVIS_ITEMS = 1 << 8, Pol::Mobile::PRIV_FLAGS::DBLCLICK_ANY = 1 << 9, Pol::Mobile::PRIV_FLAGS::LOS_ANY = 1 << 19, Pol::Mobile::PRIV_FLAGS::IGNORE_DOORS = 1 << 11,
  Pol::Mobile::PRIV_FLAGS::FREEMOVE = 1 << 12, Pol::Mobile::PRIV_FLAGS::FIRE_WHILE_MOVING = 1 << 13, Pol::Mobile::PRIV_FLAGS::ATTACK_HIDDEN = 1 << 14, Pol::Mobile::PRIV_FLAGS::HIDDEN_ATTACK = 1 << 15,
  Pol::Mobile::PRIV_FLAGS::PLOG_ANY = 1 << 16, Pol::Mobile::PRIV_FLAGS::CAN_BE_HEARD_AS_GHOST = 1 << 17, Pol::Mobile::PRIV_FLAGS::RUN_WHILE_STEALTH = 1 << 18, Pol::Mobile::PRIV_FLAGS::SPEEDHACK = 1 << 19,
  Pol::Mobile::PRIV_FLAGS::ALL = ~0u
}
 

Functions

void Pol::Core::ClientCreateChar (Network::Client *client, PKTIN_00 *msg)
 
void Pol::Core::ClientCreateChar70160 (Network::Client *client, PKTIN_F8 *msg)
 
void Pol::Core::ClientCreateCharKR (Network::Client *client, PKTIN_8D *msg)
 
void Pol::Core::createchar2 (Accounts::Account *acct, unsigned index)
 
void Pol::Mobile::NpcPropagateCriminal (Character *chr, Character *thecriminal)
 
void Pol::Mobile::NpcPropagateEnteredArea (Character *chr, Character *whoentered)
 
void Pol::Mobile::NpcPropagateLeftArea (Character *chr, Character *wholeft)
 
void Pol::Mobile::NpcPropagateMove (Character *chr, Character *moved)
 
bool Pol::Mobile::operator< (const reportable_t &lhs, const reportable_t &rhs)
 
void Pol::Core::undo_get_item (Mobile::Character *chr, Items::Item *item)
 
void Pol::Core::write_characters (SaveContext &sc)
 
void Pol::Core::write_npcs (SaveContext &sc)
 

Detailed Description

History
  • 2005/03/09 Shinigami: Added Prop Delay_Mod [ms] for WeaponDelay
  • 2005/11/23 MuadDib: Added warmode_wait for changing war mode.
  • 2005/12/06 MuadDib: Added uclang member for storing UC language from client.
  • 2006/05/04 MuadDib: Removed get_legal_item for no use.
  • 2006/05/16 Shinigami: added Prop Race (RACE_* Constants) to support Elfs
  • 2008/07/08 Turley: get_flag1() changed to show WarMode of other player again get_flag1_aos() removed
  • 2009/02/01 MuadDib: Resistance storage added.
  • 2009/09/15 MuadDib: Cleanup from registered houses on destroy u32 registered_house added to store serial of registered multi.
  • 2009/09/22 MuadDib: Rewrite for Character/NPC to use ar(), ar_mod(), ar_mod(newvalue) virtuals.
  • 2009/09/22 Turley: repsys param to applydamage
  • 2009/10/14 Turley: new priv canbeheardasghost
  • 2009/10/14 Turley: Added char.deaf() methods & char.deafened member
  • 2009/10/17 Turley: PrivUpdater for "seehidden", "seeghosts", "seeinvisitems" and "invul" - Tomi fixed "all" priv
  • 2009/11/16 Turley: added NpcPropagateEnteredArea()/inform_enteredarea() for event on resurrection
  • 2009/11/20 Turley: RecalcVitals can update single Attributes/Vitals - based on Tomi
  • 2010/01/15 Turley: (Tomi) priv runwhilestealth
  • 2010/01/22 Turley: Speedhack Prevention System
  • 2010/02/03 Turley: MethodScript support for mobiles
  • 2011/11/28 MuadDib: Removed last of uox referencing code.

Definition in file charactr.h.