Pol  Revision:cb584c9
uobject.h File Reference
#include "../clib/rawtypes.h"
#include <atomic>
#include <boost/any.hpp>
#include <boost/flyweight.hpp>
#include <iosfwd>
#include <map>
#include <set>
#include <string>
#include <type_traits>
#include "../clib/boostutils.h"
#include "../clib/refptr.h"
#include "baseobject.h"
#include "dynproperties.h"
#include "proplist.h"

Go to the source code of this file.

Classes

struct  Pol::Core::AttributeFlags< ENUM, std::enable_if< std::is_enum< ENUM >::value &&!std::is_convertible< ENUM, int >::value, int >::type >
 
struct  Pol::Core::ElementDamages
 
struct  Pol::Core::Resistances
 
class  Pol::Core::UObject
 

Namespaces

 Pol
 
 Pol::Bscript
 
 Pol::Clib
 
 Pol::Core
 
 Pol::Items
 
 Pol::Mobile
 
 Pol::Multi
 

Macros

#define pf_endl   '\n'
 

Enumerations

enum  Pol::Core::ElementalType {
  Pol::Core::ELEMENTAL_TYPE_MAX = 0x4, Pol::Core::ELEMENTAL_FIRE = 0x0, Pol::Core::ELEMENTAL_COLD = 0x1, Pol::Core::ELEMENTAL_ENERGY = 0x2,
  Pol::Core::ELEMENTAL_POISON = 0x3, Pol::Core::ELEMENTAL_PHYSICAL = 0x4
}
 
enum  Pol::Core::OBJ_FLAGS : u16 {
  Pol::Core::OBJ_FLAGS::DIRTY = 1 << 0, Pol::Core::OBJ_FLAGS::SAVE_ON_EXIT = 1 << 1, Pol::Core::OBJ_FLAGS::NEWBIE = 1 << 2, Pol::Core::OBJ_FLAGS::INSURED = 1 << 3,
  Pol::Core::OBJ_FLAGS::MOVABLE = 1 << 4, Pol::Core::OBJ_FLAGS::IN_USE = 1 << 5, Pol::Core::OBJ_FLAGS::INVISIBLE = 1 << 6, Pol::Core::OBJ_FLAGS::LOCKED = 1 << 7,
  Pol::Core::OBJ_FLAGS::CONTENT_TO_GRAVE = 1 << 8, Pol::Core::OBJ_FLAGS::NO_DROP = 1 << 9, Pol::Core::OBJ_FLAGS::NO_DROP_EXCEPTION = 1 << 10
}
 

Functions

bool Pol::Core::IsCharacter (u32 serial)
 
bool Pol::Core::IsItem (u32 serial)
 
Clib::StreamWriter & Pol::Core::operator<< (Clib::StreamWriter &writer, const UObject &obj)
 

Detailed Description

History
  • 2009/02/01 MuadDib: Resistance storage added.
Note
ATTENTION This header is part of the PCH Remove the include in all StdAfx.h files or live with the consequences :)

Definition in file uobject.h.

Macro Definition Documentation

#define pf_endl   '\n'

Definition at line 34 of file uobject.h.