Pol  Revision:e50bd96
Pol::Core Namespace Reference

Classes

struct  ArmorZone
 
class  AStarBlockers
 
struct  AttributeFlags
 
class  BBinaryfile
 
class  BinFile
 
class  BPacket
 
class  BSQLConnection
 
class  BSQLResultSet
 
class  BSQLRow
 
class  BXmlAttribute
 
class  BXMLAttributeIterator
 
class  BXMLfile
 
class  BXmlNode
 
class  BXMLNodeIterator
 
struct  can_be_used_in_variant
 
struct  CH_ADD
 
struct  CH_ADD_MULTI
 
struct  CH_DELETE_ROOF
 
struct  CH_ERASE
 
struct  CH_SELECT_FLOOR
 
struct  CH_SELECT_ROOF
 
class  Checkpoint
 
class  CmdLevel
 
struct  CombatConfig
 
class  ConfigurationBuffer
 
class  ConsoleCommand
 
class  Coordinate
 
class  CPropProfiler
 
struct  Cursors
 
struct  CUSTOM_HOUSE_DATA_TYPE0
 
struct  CUSTOM_HOUSE_DATA_TYPE1
 
struct  CUSTOM_HOUSE_DATA_TYPE2
 
struct  CUSTOM_HOUSE_PLANE
 
struct  CUSTOM_HOUSE_PLANE_BUFFER
 
class  DebugClientThread
 
class  DebugContext
 
class  DebugContextObjImp
 
class  delete_ob
 
class  Dice
 
class  DynamicPropsHolder
 
class  DynProps
 
struct  ElementDamages
 
class  EquipDesc
 
class  ExportedFunction
 
class  ExportScript
 
struct  ExternalObject
 
struct  ExtStatBarFollowers
 
struct  FIGHT_BOOK_ABILITY
 
struct  FilterImp
 
class  FullMsgTargetCursor
 
class  GameState
 
class  Guild
 
class  ItemsVector
 
class  JusticeRegion
 
struct  LandTile
 
class  LightRegion
 
class  ListenPoint
 
class  LosCheckedCoordCursor
 
class  LosCheckedTargetCursor
 
class  LosObj
 
class  Map
 
class  MemoryUsage
 
class  Menu
 
class  MenuItem
 
class  MessageTypeFilter
 
struct  MobileTranslate
 
struct  MoveDelta
 
struct  MovementCost
 
struct  MovementCostMod
 
class  MultiPlacementCursor
 
class  MusicRegion
 
class  NetworkManager
 
class  NoCastRegion
 
class  NoLosCharacterCursor
 
class  NoLosCheckedTargetCursor
 
class  NoLosUObjectCursor
 
class  NpcTemplate
 
class  NpcTemplateConfigSource
 
class  NpcTemplateElem
 
class  ObjectHash
 
class  ObjectStorageManager
 
class  OneShotTask
 
class  OneShotTaskInst
 
class  Party
 
struct  Party_Cfg
 
class  PeriodicTask
 
struct  PinPoint
 
struct  PKTBI_22_APPROVED
 
struct  PKTBI_22_SYNC
 
struct  PKTBI_2C
 
struct  PKTBI_3A_LOCKS
 
struct  PKTBI_3A_VALUES
 
struct  PKTBI_3B
 
struct  PKTBI_56
 
struct  PKTBI_66
 
struct  PKTBI_6C
 
struct  PKTBI_6F
 
struct  PKTBI_71
 
struct  PKTBI_72
 
struct  PKTBI_73
 
struct  PKTBI_93
 
struct  PKTBI_95
 
struct  PKTBI_98_IN
 
struct  PKTBI_99
 
struct  PKTBI_9A
 
struct  PKTBI_B8_IN
 
struct  PKTBI_B8_IN_REQUEST
 
struct  PKTBI_B8_IN_UPDATE
 
struct  PKTBI_BB
 
struct  PKTBI_BD
 
struct  PKTBI_BF
 
struct  PKTBI_BF_04
 
struct  PKTBI_BF_05
 
struct  PKTBI_BF_06
 
struct  PKTBI_BF_06_01_IN
 
struct  PKTBI_BF_06_02_IN
 
struct  PKTBI_BF_06_03
 
struct  PKTBI_BF_06_04_IN
 
struct  PKTBI_BF_06_06
 
struct  PKTBI_BF_06_08
 
struct  PKTBI_BF_06_09
 
struct  PKTBI_BF_0F
 
struct  PKTBI_BF_10
 
struct  PKTBI_BF_14
 
struct  PKTBI_BF_14_ENTRIES
 
struct  PKTBI_BF_15
 
struct  PKTBI_BF_16
 
struct  PKTBI_BF_17
 
struct  PKTBI_BF_19
 
struct  PKTBI_BF_1A
 
struct  PKTBI_BF_1C
 
struct  PKTBI_BF_1E
 
struct  PKTBI_BF_24_UNKNOWN
 
struct  PKTBI_BF_2A_RESULT
 
struct  PKTBI_BF_32
 
struct  PKTBI_BF_RACE_CHANGER_RESULT
 
struct  PKTBI_C2
 
struct  PKTBI_C8
 
struct  PKTBI_D1
 
struct  PKTBI_D6_IN
 
struct  PKTBI_D7
 
struct  PKTIN_00
 
struct  PKTIN_01
 
struct  PKTIN_02
 
struct  PKTIN_03
 
struct  PKTIN_04
 
struct  PKTIN_05
 
struct  PKTIN_06
 
struct  PKTIN_07
 
struct  PKTIN_08_V1
 
struct  PKTIN_08_V2
 
struct  PKTIN_09
 
struct  PKTIN_12
 
struct  PKTIN_13
 
struct  PKTIN_1E
 
struct  PKTIN_34
 
struct  PKTIN_5D
 
struct  PKTIN_75
 
struct  PKTIN_7D
 
struct  PKTIN_80
 
struct  PKTIN_83
 
struct  PKTIN_8D
 
struct  PKTIN_91
 
struct  PKTIN_9B
 
struct  PKTIN_9F
 
struct  PKTIN_A0
 
struct  PKTIN_A4
 
struct  PKTIN_A7
 
struct  PKTIN_AC
 
struct  PKTIN_AD
 
struct  PKTIN_B1
 
struct  PKTIN_B5
 
struct  PKTIN_B6
 
struct  PKTIN_D9
 
struct  PKTIN_E1
 
struct  PKTIN_E4
 
struct  PKTIN_EF
 
struct  PKTIN_F8
 
struct  PKTNI_3D
 
struct  PKTNI_40
 
struct  PKTNI_45
 
struct  PKTNI_46
 
struct  PKTNI_47
 
struct  PKTNI_48
 
struct  PKTNI_49
 
struct  PKTNI_4A
 
struct  PKTNI_4B
 
struct  PKTNI_4C
 
struct  PKTNI_4D
 
struct  PKTNI_50
 
struct  PKTNI_51
 
struct  PKTNI_52
 
struct  PKTNI_57
 
struct  PKTNI_58
 
struct  PKTNI_59
 
struct  PKTNI_5A
 
struct  PKTNI_5C
 
struct  PKTNI_5E
 
struct  PKTNI_5F
 
struct  PKTNI_60
 
struct  PKTNI_61
 
struct  PKTNI_62
 
struct  PKTNI_63
 
struct  PKTNI_64
 
struct  PKTOUT_1A_D
 
struct  PKTOUT_1F
 
struct  PKTOUT_23
 
struct  PKTOUT_26
 
struct  PKTOUT_28
 
struct  PKTOUT_2A
 
struct  PKTOUT_2B
 
struct  PKTOUT_30
 
struct  PKTOUT_31
 
struct  PKTOUT_32
 
struct  PKTOUT_33
 
struct  PKTOUT_36
 
struct  PKTOUT_3E
 
struct  PKTOUT_3F
 
struct  PKTOUT_41
 
struct  PKTOUT_42
 
struct  PKTOUT_43
 
struct  PKTOUT_44
 
struct  PKTOUT_4E
 
struct  PKTOUT_5B
 
struct  PKTOUT_86
 
struct  PKTOUT_86_CHARACTERS
 
struct  PKTOUT_97
 
struct  PKTOUT_9C
 
struct  PKTOUT_A9
 
struct  PKTOUT_BC
 
struct  PKTOUT_C0
 
struct  PKTOUT_C4
 
struct  PKTOUT_D8
 
class  PolClockPauser
 
struct  PolConfig
 
class  PolLock
 
class  PolLock2
 
class  PolService
 
struct  PolSig
 
class  PolStats
 
class  PolTimer
 
class  PolVar
 
struct  ProfileVars
 
class  PropertyList
 
class  PropHolder
 
class  PropHolderContainer
 
class  Region
 
class  RegionGroup
 
class  RegionGroupBase
 
struct  RepSys_Cfg
 
class  RepSystem
 
struct  Resistances
 
class  ResourceDef
 
class  ResourceRegion
 
class  ResultWrapper
 
class  SaveContext
 
class  SchComparer
 
class  ScheduledTask
 
class  ScriptDef
 
class  ScriptExObjImp
 
class  ScriptScheduler
 
class  SerialSet
 
class  ServerDescription
 
struct  ServSpecOpt
 
class  SettingsManager
 
struct  SkillStatCap
 
class  Spellbook
 
class  SpellCircle
 
class  SpellTask
 
class  SQLService
 
class  StartingLocation
 
class  StateManager
 
struct  StaticRec
 
class  Storage
 
class  StorageArea
 
class  StorageAreaImp
 
class  StorageAreaIterator
 
class  StorageAreasImp
 
class  StorageAreasIterator
 
class  StoredConfigElem
 
class  StoredConfigFile
 
struct  SVR_KEYDESC
 
class  SystemHooks
 
class  TargetCursor
 
class  TaskScheduler
 
class  Tile
 
struct  TileData
 
struct  TRANSLATION
 
class  UContainer
 
class  UCorpse
 
class  UDoor
 
class  ULockable
 
class  ULWObject
 
struct  UObjCount
 
class  UObject
 
class  UoClientGeneral
 
class  UoClientListener
 
class  UoClientProtocol
 
class  UoClientThread
 
class  UOExecutor
 
class  UOPathState
 
class  UOSkill
 
class  USpell
 
class  USpellParams
 
class  USpellScroll
 
struct  USTRUCT_IDX
 
struct  USTRUCT_LAND_TILE
 
struct  USTRUCT_LAND_TILE_HSA
 
struct  USTRUCT_MAPINFO
 
struct  USTRUCT_MAPINFO_BLOCK
 
struct  USTRUCT_MULTI_ELEMENT
 
struct  USTRUCT_MULTI_ELEMENT_HSA
 
struct  USTRUCT_MULTI_HEADER
 
struct  USTRUCT_POL_MAPINFO_BLOCK
 
struct  USTRUCT_STATIC
 
struct  USTRUCT_STATIC_BUFFER
 
struct  USTRUCT_TILE
 
struct  USTRUCT_TILE_HSA
 
struct  USTRUCT_VERSION
 
struct  ValueModPack
 
struct  VerdataIndexes
 
class  Vital
 
struct  Watch
 
class  WeatherDef
 
class  WeatherRegion
 
class  wordicmp
 
struct  WorldIterator
 
class  WornItemsContainer
 
struct  XmitBuffer
 
struct  Zone
 

Typedefs

typedef ref_ptr< Accounts::AccountAccountRef
 
typedef std::vector< AccountRefAccountsVector
 
typedef std::vector< ArmorZoneArmorZones
 
typedef std::map< std::string, Mobile::Attribute *, Clib::ci_cmp_predAttributesByName
 
typedef std::map< u16, Multi::BoatShape * > BoatShapes
 
typedef std::map< std::string, ConfigFileRefCfgFiles
 
typedef ref_ptr< Mobile::CharacterCharacterRef
 
typedef std::vector< Network::Client * > Clients
 
typedef std::vector< Core::CmdLevelCmdLevels
 
typedef ref_ptr< StoredConfigFileConfigFileRef
 
typedef std::stack< UContainer * > ContStack
 
typedef std::map< std::string, Module::DataStoreFile *, Clib::ci_cmp_predDataStore
 
typedef BApplicObj< ref_ptr< DebugContext > > DebugContextObjImpBase
 
typedef std::multimap< pol_serial_t, UObject * > DeferList
 
typedef std::deque< UOExecutor * > ExecList
 
typedef unsigned int gameclock_t
 
typedef ref_ptr< GuildGuildRef
 
typedef std::map< unsigned int, GuildRefGuilds
 
typedef std::multimap< Core::polclock_t, Core::UOExecutor * > HoldList
 
typedef std::map< NameAndLayer, Items::Equipment * > IntrinsicEquipments
 
typedef FilterImp< FilterType::ItemItemFilter
 
typedef ref_ptr< Items::ItemItemRef
 
typedef RegionGroup< JusticeRegionJusticeDef
 
typedef RegionGroup< LightRegionLightDef
 
typedef std::map< UOExecutor *, ListenPoint * > ListenPoints
 
typedef std::map< unsigned int, unsigned int > MapBlockIndex
 
typedef FilterImp< FilterType::MobileMobileFilter
 
typedef FilterImp< FilterType::MultiMultiFilter
 
typedef RegionGroup< MusicRegionMusicDef
 
typedef std::pair< std::string, u8NameAndLayer
 
typedef RegionGroup< NoCastRegionNoCastDef
 
typedef std::set< UOExecutor * > NoTimeoutHoldList
 
typedef FilterImp< FilterType::NPCNPCFilter
 
typedef ref_ptr< Mobile::NPCNpcRef
 
typedef std::map< std::string, NpcTemplate * > NpcTemplates
 
typedef std::map< std::string, NpcTemplateElem, Clib::ci_cmp_predNpcTemplatesElems
 
typedef std::map< std::string, u32, Clib::ci_cmp_predObjtypeByNameMap
 
typedef std::vector< std::string > OldCfgFiles
 
typedef std::map< unsigned int, unsigned int > OldObjtypeConversions
 
typedef FilterImp< FilterType::OnlinePlayerOnlinePlayerFilter
 
typedef void(* ParamTextCmdFunc) (Network::Client *, const char *)
 
typedef std::map< std::string, ParamTextCmdFunc, wordicmpParamTextCmds
 
typedef std::vector< PartyRefParties
 
typedef ref_ptr< PartyPartyRef
 
typedef std::map< unsigned int, UOExecutor * > PidList
 
typedef FilterImp< FilterType::PlayerPlayerFilter
 
typedef u16 pol_objtype_t
 
typedef u32 pol_serial_t
 
typedef int polclock_base_type
 
typedef int polclock_t
 
typedef int polticks_t
 
typedef std::set< std::string > PropSet
 
typedef std::vector< std::string > QueryParam
 
typedef std::shared_ptr< QueryParamQueryParams
 
typedef unsigned short RegionId
 
typedef std::shared_ptr< ResultWrapperRES_WRAPPER
 
typedef std::map< std::string, ResourceDef * > ResourceDefs
 
typedef weak_ptr< UOExecutorScriptExPtr
 
typedef std::map< std::string, ref_ptr< Bscript::EScriptProgram >, Clib::ci_cmp_predScriptStorage
 
typedef std::unordered_map< pol_serial_t, unsigned > SerialIndexMap
 
typedef std::vector< ServerDescription * > Servers
 
typedef std::vector< StartingLocation * > StartingLocations
 
typedef std::map< unsigned int, unsigned int > StaticDifBlockIndex
 
typedef std::vector< StaticRecStaticList
 
typedef std::priority_queue< ScheduledTask *, std::vector< ScheduledTask * >, SchComparerTaskQueue
 
typedef void(* TextCmdFunc) (Network::Client *)
 
typedef std::map< std::string, TextCmdFunc, Clib::ci_cmp_predTextCmds
 
typedef HoldList::iterator TimeoutHandle
 
typedef ref_ptr< UObjectUObjectRef
 
typedef boost::variant< u8, u16, u32, s8, s16, s32, ValueModPack, SkillStatCap, ExtStatBarFollowers, gameclock_tvariant_storage
 
typedef std::map< std::string, Vital *, Clib::ci_cmp_predVitalsByName
 
typedef unsigned short xcoord
 
typedef unsigned short ycoord
 
typedef short zcoord
 
typedef std::vector< Mobile::Character * > ZoneCharacters
 
typedef std::vector< Items::Item * > ZoneItems
 
typedef std::vector< Multi::UMulti * > ZoneMultis
 

Enumerations

enum  DIRECTION_FLAG_OLD { BACKWARD = 1, FORWARD = 0 }
 
enum  DynPropTypes : u8 {
  PROP_AR_MOD = 0, PROP_MAX_ITEMS_MOD = 1, PROP_MAX_SLOTS_MOD = 2, PROP_MAX_WEIGHT_MOD = 3,
  PROP_SELLPRICE = 4, PROP_BUYPRICE = 5, PROP_MAXHP_MOD = 6, PROP_NAME_SUFFIX = 7,
  PROP_RESIST_FIRE = 8, PROP_RESIST_COLD = 9, PROP_RESIST_ENERGY = 10, PROP_RESIST_POISON = 11,
  PROP_RESIST_PHYSICAL = 12, PROP_DAMAGE_FIRE = 13, PROP_DAMAGE_COLD = 14, PROP_DAMAGE_ENERGY = 15,
  PROP_DAMAGE_POISON = 16, PROP_DAMAGE_PHYSICAL = 17, PROP_DMG_MOD = 18, PROP_SPEED_MOD = 19,
  PROP_ORIG_RESIST_FIRE = 20, PROP_ORIG_RESIST_COLD = 21, PROP_ORIG_RESIST_ENERGY = 22, PROP_ORIG_RESIST_POISON = 23,
  PROP_ORIG_RESIST_PHYSICAL = 24, PROP_ORIG_DAMAGE_FIRE = 25, PROP_ORIG_DAMAGE_COLD = 26, PROP_ORIG_DAMAGE_ENERGY = 27,
  PROP_ORIG_DAMAGE_POISON = 28, PROP_ORIG_DAMAGE_PHYSICAL = 29, PROP_STATCAP_SKILLCAP = 30, PROP_EXT_STATBAR_LUCK = 31,
  PROP_EXT_STATBAR_FOLLOWERS = 32, PROP_EXT_STATBAR_TITHING = 33, PROP_MOVEMENTCOST_MOD = 34, PROP_QUALITY = 35,
  PROP_DOUBLECLICK_WAIT = 36, PROP_DISABLE_SKILLS_UNTIL = 37, PROP_SQUELCHED_UNTIL = 38, PROP_DEAFENED_UNTIL = 39,
  PROP_LIGHTOVERRIDE_UNTIL = 40, PROP_LIGHTOVERRIDE = 41, PROP_TITLE_PREFIX = 42, PROP_TITLE_SUFFIX = 43,
  PROP_TITLE_GUILD = 44, PROP_TITLE_RACE = 45, PROP_SPEECH_COLOR = 46, PROP_SPEECH_FONT = 47,
  PROP_CARRY_CAPACITY_MOD = 48, PROP_DELAY_MOD = 49, PROP_HITCHANCE_MOD = 50, PROP_EVASIONCHANCE_MOD = 51,
  PROP_PARTY = 52, PROP_PARTY_CANDIDATE = 53, PROP_PARTY_OFFLINE = 54, PROP_GUILD = 55,
  PROP_GOTTEN_BY = 56, PROP_GOTTEN_ITEM = 57, PROP_PROCESS = 58, PROP_HOUSE = 59,
  PROP_FLAG_SIZE
}
 
enum  ElementalType {
  ELEMENTAL_TYPE_MAX = 0x4, ELEMENTAL_FIRE = 0x0, ELEMENTAL_COLD = 0x1, ELEMENTAL_ENERGY = 0x2,
  ELEMENTAL_POISON = 0x3, ELEMENTAL_PHYSICAL = 0x4
}
 
enum  EVENTID {
  EVID_SPOKE = 0x0001, EVID_ENGAGED = 0x0002, EVID_DISENGAGED = 0x0004, EVID_DAMAGED = 0x0008,
  EVID_ENTEREDAREA = 0x0010, EVID_LEFTAREA = 0x0020, EVID_OPPONENT_MOVED = 0x0040, EVID_HOSTILE_MOVED = 0x0080,
  EVID_MERCHANT_BOUGHT = 0x0100, EVID_MERCHANT_SOLD = 0x0200, EVID_ITEM_GIVEN = 0x0400, EVID_DOUBLECLICKED = 0x0800,
  EVID_GHOST_SPEECH = 0x1000, EVID_GONE_CRIMINAL = 0x2000, EVID_TOKEN_SPOKE = 0x4000, EVID_TOKEN_GHOST_SPOKE = 0x8000
}
 
enum  FilterType {
  FilterType::Mobile, FilterType::Player, FilterType::OnlinePlayer, FilterType::NPC,
  FilterType::Item, FilterType::Multi
}
 
enum  LAYER_DETAILED {
  LAYER_HAND1 = 1, LAYER_HAND2 = 2, LAYER_SHOES = 3, LAYER_PANTS = 4,
  LAYER_SHIRT = 5, LAYER_HAT = 6, LAYER_GLOVES = 7, LAYER_RING = 8,
  LAYER_TALISMAN = 9, LAYER_GORGET = 10, LAYER_HAIR = 11, LAYER_HALFAPRON = 12,
  LAYER_CHEST_ARMOR = 13, LAYER_BRACELET = 14, LAYER_FACE = 15, LAYER_BEARD = 16,
  LAYER_TUNIC = 17, LAYER_EARRINGS = 18, LAYER_ARM_ARMOR = 19, LAYER_CLOAK = 20,
  LAYER_BACKPACK = 21, LAYER_ROBE_DRESS = 22, LAYER_SKIRT = 23, LAYER_LEG_ARMOR = 24,
  LAYER_MOUNT = 25
}
 
enum  LAYER_INFO {
  LOWEST_LAYER = 1, LAYER_EQUIP__LOWEST = 1, HIGHEST_LAYER = 25, NUM_LAYERS = 25,
  LAYER_EQUIP__HIGHEST = 25, LAYER_BANKBOX = 29
}
 
enum  MOVEMODE : u8 {
  MOVEMODE_NONE = 0, MOVEMODE_LAND = 1, MOVEMODE_SEA = 2, MOVEMODE_AIR = 4,
  MOVEMODE_FLY = 8
}
 
enum  OBJ_FLAGS : u16 {
  OBJ_FLAGS::DIRTY = 1 << 0, OBJ_FLAGS::SAVE_ON_EXIT = 1 << 1, OBJ_FLAGS::NEWBIE = 1 << 2, OBJ_FLAGS::INSURED = 1 << 3,
  OBJ_FLAGS::MOVABLE = 1 << 4, OBJ_FLAGS::IN_USE = 1 << 5, OBJ_FLAGS::INVISIBLE = 1 << 6, OBJ_FLAGS::LOCKED = 1 << 7,
  OBJ_FLAGS::CONTENT_TO_GRAVE = 1 << 8, OBJ_FLAGS::NO_DROP = 1 << 9, OBJ_FLAGS::NO_DROP_EXCEPTION = 1 << 10
}
 
enum  PKTBOTHID : unsigned char {
  PKTBI_22_APPROVED_ID = 0x22, PKTBI_22_SYNC_ID = 0x22, PKTBI_2C_ID = 0x2C, PKTBI_3A_ID = 0x3A,
  PKTBI_3A_VALUES_ID = 0x3A, PKTBI_3A_LOCKS_ID = 0x3A, PKTBI_3A_CAPS_ID = 0x3A, PKTBI_3B_ID = 0x3B,
  PKTBI_56_ID = 0x56, PKTBI_66_ID = 0x66, PKTBI_6C_ID = 0x6C, PKTBI_6F_ID = 0x6F,
  PKTBI_71_ID = 0x71, PKTBI_72_ID = 0x72, PKTBI_73_ID = 0x73, PKTBI_93_ID = 0x93,
  PKTBI_95_ID = 0x95, PKTBI_98_IN_ID = 0x98, PKTBI_98_OUT_ID = 0x98, PKTBI_99_ID = 0x99,
  PKTBI_9A_ID = 0x9A, PKTBI_B8_IN_ID = 0xB8, PKTBI_B8_OUT_ID = 0xB8, PKTBI_BB_ID = 0xBB,
  PKTBI_BD_ID = 0xBD, PKTBI_BF_ID = 0xBF, PKTBI_C2_ID = 0xC2, PKTBI_C8_ID = 0xC8,
  PKTBI_D1_ID = 0xD1, PKTBI_D6_OUT_ID = 0xD6, PKTBI_D6_IN_ID = 0xD6, PKTBI_D7_ID = 0xD7
}
 
enum  PKTINID {
  PKTIN_00_ID = 0x00, PKTIN_01_ID = 0x01, PKTIN_02_ID = 0x02, PKTIN_03_ID = 0x03,
  PKTIN_04_ID = 0x04, PKTIN_05_ID = 0x05, PKTIN_06_ID = 0x06, PKTIN_07_ID = 0x07,
  PKTIN_08_V1_ID = 0x08, PKTIN_08_V2_ID = 0x08, PKTIN_09_ID = 0x09, PKTIN_12_ID = 0x12,
  PKTIN_13_ID = 0x13, PKTIN_1E_ID = 0x1E, PKTIN_34_ID = 0x34, PKTIN_5D_ID = 0x5D,
  PKTIN_75_ID = 0x75, PKTIN_7D_ID = 0x7D, PKTIN_80_ID = 0x80, PKTIN_83_ID = 0x83,
  PKTIN_8D_ID = 0x8D, PKTIN_91_ID = 0x91, PKTIN_9B_ID = 0x9B, PKTIN_9F_ID = 0x9F,
  PKTIN_A0_ID = 0xA0, PKTIN_A4_ID = 0xA4, PKTIN_A7_ID = 0xA7, PKTIN_AC_ID = 0xAC,
  PKTIN_AD_ID = 0xAD, PKTIN_B1_ID = 0xB1, PKTIN_B5_ID = 0xB5, PKTIN_B6_ID = 0xB6,
  PKTIN_D9_ID = 0xD9, PKTIN_E1_ID = 0xE1, PKTIN_E4_ID = 0xE4, PKTIN_EF_ID = 0xEF,
  PKTIN_F8_ID = 0xF8
}
 
enum  PKTOUTID : unsigned char {
  PKTOUT_0B_ID = 0x0B, PKTOUT_11_ID = 0x11, PKTOUT_17_ID = 0x17, PKTOUT_1A_ID = 0x1A,
  PKTOUT_1B_ID = 0x1B, PKTOUT_1C_ID = 0x1C, PKTOUT_1D_ID = 0x1D, PKTOUT_1F_ID = 0x1F,
  PKTOUT_20_ID = 0x20, PKTOUT_21_ID = 0x21, PKTOUT_23_ID = 0x23, PKTOUT_24_ID = 0x24,
  PKTOUT_25_ID = 0x25, PKTOUT_26_ID = 0x26, PKTOUT_27_ID = 0x27, PKTOUT_28_ID = 0x28,
  PKTOUT_29_ID = 0x29, PKTOUT_2A_ID = 0x2A, PKTOUT_2B_ID = 0x2B, PKTOUT_2D_ID = 0x2D,
  PKTOUT_2E_ID = 0x2E, PKTOUT_2F_ID = 0x2F, PKTOUT_30_ID = 0x30, PKTOUT_31_ID = 0x31,
  PKTOUT_32_ID = 0x32, PKTOUT_33_ID = 0x33, PKTOUT_36_ID = 0x36, PKTOUT_3C_ID = 0x3C,
  PKTOUT_3E_ID = 0x3E, PKTOUT_3F_ID = 0x3F, PKTOUT_41_ID = 0x41, PKTOUT_42_ID = 0x42,
  PKTOUT_43_ID = 0x43, PKTOUT_44_ID = 0x44, PKTOUT_4E_ID = 0x4E, PKTOUT_4F_ID = 0x4F,
  PKTOUT_53_ID = 0x53, PKTOUT_54_ID = 0x54, PKTOUT_55_ID = 0x55, PKTOUT_5B_ID = 0x5B,
  PKTOUT_65_ID = 0x65, PKTOUT_6D_ID = 0x6D, PKTOUT_6E_ID = 0x6E, PKTOUT_70_ID = 0x70,
  PKTOUT_74_ID = 0x74, PKTOUT_76_ID = 0x76, PKTOUT_77_ID = 0x77, PKTOUT_78_ID = 0x78,
  PKTOUT_7C_ID = 0x7C, PKTOUT_82_ID = 0x82, PKTOUT_86_ID = 0X86, PKTOUT_88_ID = 0x88,
  PKTOUT_89_ID = 0x89, PKTOUT_8C_ID = 0x8C, PKTOUT_90_ID = 0x90, PKTOUT_97_ID = 0x97,
  PKTOUT_9C_ID = 0x9C, PKTOUT_9E_ID = 0x9E, PKTOUT_A1_ID = 0xA1, PKTOUT_A2_ID = 0xA2,
  PKTOUT_A3_ID = 0xA3, PKTOUT_A5_ID = 0xA5, PKTOUT_A6_ID = 0xA6, PKTOUT_A8_ID = 0xA8,
  PKTOUT_A9_ID = 0xA9, PKTOUT_AA_ID = 0xAA, PKTOUT_AB_ID = 0xAB, PKTOUT_AE_ID = 0xAE,
  PKTOUT_AF_ID = 0xAF, PKTOUT_B0_ID = 0xB0, PKTOUT_B7_ID = 0xB7, PKTOUT_B9_ID = 0xB9,
  PKTOUT_B9_V2_ID = 0xB9, PKTOUT_BA_ID = 0xBA, PKTOUT_BC_ID = 0xBC, PKTOUT_C0_ID = 0xC0,
  PKTOUT_C1_ID = 0xC1, PKTOUT_C4_ID = 0xC4, PKTOUT_C7_ID = 0xC7, PKTOUT_CC_ID = 0xCC,
  PKTOUT_D8_ID = 0xD8, PKTOUT_DC_ID = 0xDC, PKTOUT_DD_ID = 0xDD, PKTOUT_DF_ID = 0xDF,
  PKTOUT_E2_ID = 0xE2, PKTOUT_E3_ID = 0xE3, PKTOUT_F3_ID = 0xF3, PKTOUT_F5_ID = 0xF5,
  PKTOUT_F6_ID = 0xF6, PKTOUT_F7_ID = 0xF7
}
 
enum  Priority { ToolTipPriorityNone = 0, ToolTipPrioritySystem = 1, ToolTipPriorityScript = 2, ToolTipPriorityShutdown = 3 }
 
enum  REPEAT_FLAG_OLD { REPEAT = 1, NOREPEAT = 0 }
 
enum  UACTION {
  ACTION__LOWEST = 0x00, ACTION_WALK_UNARMED = 0x00, ACTION_WALK_ARMED = 0x01, ACTION_RUN1 = 0x02,
  ACTION_RUN2 = 0x03, ACTION_LOOK_AROUND = 0x05, ACTION_LOOK_DOWN = 0x06, ACTION_WARMODE1 = 0x07,
  ACTION_WARMODE2 = 0x08, ACTION_HUMAN_ATTACK = 0x9, ACTION_HUMAN_ATACK_THRUST = 0x0A, ACTION_HUMAN_ATTACK_BIGSWING = 0x0B,
  ACTION_ATTACK4 = 0x0C, ACTION_ATTACK5 = 0x0D, ACTION_ATTACK6 = 0x0E, ACTION_READY2 = 0x0F,
  ACTION_CAST_SPELL1 = 0x10, ACTION_CAST_SPELL2 = 0x11, ACTION_HUMAN_SHOOT_BOW = 0x12, ACTION_SHOOT_CROSSBOW = 0x13,
  ACTION_GOT_HIT = 0x14, ACTION_STRUCK_DOWN_BACKWARD = 0x15, ACTION_STRUCK_DOWN_FORWARD = 0x16, ACTION_RIDINGHORSE1 = 0x17,
  ACTION_RIDINGHORSE2 = 0x18, ACTION_RIDINGHORSE3 = 0x19, ACTION_RIDINGHORSE4 = 0x1A, ACTION_RIDINGHORSE5 = 0x1B,
  ACTION_RIDINGHORSE6 = 0x1C, ACTION_RIDINGHORSE7 = 0x1D, ACTION_DODGE1 = 0x1E, ACTION_UNKNOWN1 = 0x1F,
  ACTION_BOW = 0x20, ACTION_SALUTE = 0x21, ACTION_EAT = 0x22, ACTION__HIGHEST = 0x22
}
 
enum  UFACING : u8 {
  FACING_N = 0, FACING_NE = 1, FACING_E = 2, FACING_SE = 3,
  FACING_S = 4, FACING_SW = 5, FACING_W = 6, FACING_NW = 7
}
 
enum  UGENDER : u8 { GENDER_MALE = 0, GENDER_FEMALE = 1 }
 
enum  UOBJ_CLASS : u8 {
  UOBJ_CLASS::CLASS_ITEM, UOBJ_CLASS::CLASS_CONTAINER, UOBJ_CLASS::CLASS_CHARACTER, UOBJ_CLASS::CLASS_NPC,
  UOBJ_CLASS::CLASS_WEAPON, UOBJ_CLASS::CLASS_ARMOR, UOBJ_CLASS::CLASS_MULTI, UOBJ_CLASS::INVALID = 0xff
}
 
enum  URACE : u8 { RACE_HUMAN = 0, RACE_ELF = 1, RACE_GARGOYLE = 2 }
 
enum  USKILLID {
  SKILLID__LOWEST = 0, SKILLID__CLIENT_LOWEST = 0, SKILLID_ALCHEMY = 0, SKILLID_ANATOMY = 1,
  SKILLID_ANIMALLORE = 2, SKILLID_ITEMID = 3, SKILLID_ARMSLORE = 4, SKILLID_BATTLE_DEFENSE = 5,
  SKILLID_BEGGING = 6, SKILLID_BLACKSMITHY = 7, SKILLID_BOWCRAFT = 8, SKILLID_PEACEMAKING = 9,
  SKILLID_CAMPING = 10, SKILLID_CARPENTRY = 11, SKILLID_CARTOGRAPHY = 12, SKILLID_COOKING = 13,
  SKILLID_DETECTINGHIDDEN = 14, SKILLID_ENTICEMENT = 15, SKILLID_EVALUATINGINTEL = 16, SKILLID_HEALING = 17,
  SKILLID_FISHING = 18, SKILLID_FORENSICS = 19, SKILLID_HERDING = 20, SKILLID_HIDING = 21,
  SKILLID_PROVOCATION = 22, SKILLID_INSCRIPTION = 23, SKILLID_LOCKPICKING = 24, SKILLID_MAGERY = 25,
  SKILLID_MAGICRESISTANCE = 26, SKILLID_TACTICS = 27, SKILLID_SNOOPING = 28, SKILLID_MUSICIANSHIP = 29,
  SKILLID_POISONING = 30, SKILLID_ARCHERY = 31, SKILLID_SPIRITSPEAK = 32, SKILLID_STEALING = 33,
  SKILLID_TAILORING = 34, SKILLID_TAMING = 35, SKILLID_TASTEID = 36, SKILLID_TINKERING = 37,
  SKILLID_TRACKING = 38, SKILLID_VETERINARY = 39, SKILLID_SWORDSMANSHIP = 40, SKILLID_MACEFIGHTING = 41,
  SKILLID_FENCING = 42, SKILLID_WRESTLING = 43, SKILLID_LUMBERJACKING = 44, SKILLID_MINING = 45,
  SKILLID_MEDITATION = 46, SKILLID_STEALTH = 47, SKILLID_REMOVE_TRAP = 48, SKILLID_NECROMANCY = 49,
  SKILLID_BATTLE_FOCUS = 50, SKILLID_CHIVALRY = 51, SKILLID_BUSHIDO = 52, SKILLID_NINJITSU = 53,
  SKILLID_SPELLWEAVING = 54, SKILLID_MYSTICISM = 55, SKILLID_IMBUING = 56, SKILLID_THROWING = 57,
  SKILLID__CLIENT_HIGHEST = 57, SKILLID__HIGHEST = 57, SKILLID__COUNT
}
 
enum  UTEXTTYPE : u8 {
  TEXTTYPE_NORMAL = 0x00, TEXTTYPE_SYS_BROADCAST = 0x01, TEXTTYPE_EMOTE = 0x02, TEXTTYPE_YOU_SEE = 0x06,
  TEXTTYPE_WHISPER = 0x08, TEXTTYPE_YELL = 0x09
}
 

Functions

bool acct_check (Network::Client *client, int i)
 
void add_candidate (Mobile::Character *member, Mobile::Character *leader)
 
void add_common_exmods (Core::UOExecutor &ex)
 
bool add_item_to_stack (Network::Client *client, Items::Item *item, Items::Item *target_item)
 
void add_item_to_world (Items::Item *item)
 
void add_loaded_item (Items::Item *cont_item, Items::Item *item)
 
void add_multi_to_world (Multi::UMulti *multi)
 
void add_realm (const std::string &name, Realms::Realm *base)
 
static void add_task (ScheduledTask *task)
 
unsigned int base_to_raw (unsigned short base)
 
void broadcast (const char *text, unsigned short font, unsigned short color, unsigned short requiredCmdLevel)
 
void broadcast (const u16 *wtext, const char lang[4], unsigned short font, unsigned short color, unsigned short requiredCmdLevel)
 
void build_owncreate (const Character *chr, PktOut_78 *owncreate)
 
void build_sysmessage_cl (PktOut_C1 *msg, unsigned int cliloc_num, const u16 *arguments, unsigned short font, unsigned short color)
 
void build_sysmessage_cl_affix (PktOut_CC *msg, unsigned int cliloc_num, const char *affix, bool prepend, const u16 *arguments, unsigned short font, unsigned short color)
 
void calc_abs_timeout (struct timespec *ptimeout, unsigned int millis)
 
polclock_t calc_scheduler_clocksleft (polclock_t now)
 
polclock_t calc_script_clocksleft (polclock_t now)
 
void call_chr_scripts (Mobile::Character *chr, const std::string &root_script_ecl, const std::string &pkg_script_ecl, bool offline=false)
 
void call_ondelete_scripts (Mobile::Character *chr)
 
bool call_script (const ScriptDef &script, Bscript::BObjectImp *param0)
 
bool call_script (const ScriptDef &script, Bscript::BObjectImp *param0, Bscript::BObjectImp *param1)
 
bool call_script (const ScriptDef &script, Bscript::BObjectImp *param0, Bscript::BObjectImp *param1, Bscript::BObjectImp *param2)
 
bool call_script (const ScriptDef &script, Bscript::BObjectImp *param0, Bscript::BObjectImp *param1, Bscript::BObjectImp *param2, Bscript::BObjectImp *param3)
 
bool call_script (const ScriptDef &script, Bscript::BObjectImp *param0, Bscript::BObjectImp *param1, Bscript::BObjectImp *param2, Bscript::BObjectImp *param3, Bscript::BObjectImp *param4)
 
bool call_script (const ScriptDef &script, Bscript::BObjectImp *param0, Bscript::BObjectImp *param1, Bscript::BObjectImp *param2, Bscript::BObjectImp *param3, Bscript::BObjectImp *param4, Bscript::BObjectImp *param5)
 
bool call_script (const ScriptDef &script, Bscript::BObjectImp *param0, Bscript::BObjectImp *param1, Bscript::BObjectImp *param2, Bscript::BObjectImp *param3, Bscript::BObjectImp *param4, Bscript::BObjectImp *param5, Bscript::BObjectImp *param6)
 
Bscript::BObjectImpCallPropertyListMethod (PropertyList &proplist, const char *methodname, Bscript::Executor &ex, bool &changed)
 
Bscript::BObjectImpCallPropertyListMethod_id (PropertyList &proplist, const int id, Bscript::Executor &ex, bool &changed)
 
bool can_delete_character (Mobile::Character *chr, int delete_by)
 
bool can_see_on_corpse (const Client *client, const Item *item)
 
void cancel_all_trades ()
 
void cancel_trade (Mobile::Character *chr1)
 
bool CanUseSkill (Network::Client *client)
 
void catch_signals_thread (void)
 
void change_trade_status (Mobile::Character *chr, bool set)
 
void char_select (Network::Client *client, PKTIN_5D *msg)
 
void check_blocked (polclock_t *pclocksleft)
 
void check_character_integrity ()
 
void check_config ()
 
bool check_inactivity (Network::Client *client)
 
void check_incoming_data (void)
 
bool check_item_integrity ()
 
void check_scheduled_tasks (polclock_t *clocksleft, bool *pactivity)
 
void check_scheduled_tasks2 (void)
 
bool check_single_zone_item_integrity (int, int, Realms::Realm *)
 
bool check_verdata (unsigned int file, unsigned int block, const Core::USTRUCT_VERSION *&vrec)
 
void checka (Clib::ConfigElem &elem, UoClientGeneral::Mapping &mapping, const char *tag)
 
void checkpoint (const char *msg, unsigned short minlvl)
 
void checkv (Clib::ConfigElem &elem, UoClientGeneral::Mapping &mapping, const char *tag)
 
Characterchr_from_wornitems (UContainer *wornitems)
 
void clean_resources ()
 
void clean_skills ()
 
void clean_spells ()
 
void clean_vitals ()
 
void clear_listen_points ()
 
void clear_save_index ()
 
void clear_script_profile_counters ()
 
void clear_tiledata ()
 
bool client_io_thread (Network::Client *client, bool login)
 
void ClientCreateChar (Network::Client *client, PKTIN_00 *msg)
 
void ClientCreateChar70160 (Network::Client *client, PKTIN_F8 *msg)
 
void ClientCreateCharKR (Network::Client *client, PKTIN_8D *msg)
 
bool clientHasCharacter (Client *c)
 
void ClrCharacterWorldPosition (Mobile::Character *chr, Realms::WorldChangeReason reason)
 
void ClrItemWorldPosition (Items::Item *item)
 
void combined_thread (void)
 
bool commit (const std::string &basename)
 
bool commit_incremental (const std::string &basename)
 
void commit_incremental_saves ()
 
void config_web_server ()
 
void console_thread (void)
 
BOOL WINAPI control_handler_SystemTray (DWORD dwCtrlType)
 
u16 convert_objtype_to_spellnum (u32 objtype, int school)
 
bool convertArrayToUC (Bscript::ObjArray *&in_text, u16 *out_wtext, size_t textlen, bool ConvToBE, bool nullterm)
 
bool convertUCtoArray (const u16 *in_wtext, Bscript::ObjArray *&out_text, size_t textlen, bool ConvFromBE)
 
Items::Itemcopy_item (const Items::Item *src_item)
 
void CoreSetSysTrayToolTip (const std::string &text, Priority priority)
 
void count_resource_tiles ()
 
BObjectImpcreate_debug_context ()
 
void create_dummy_data ()
 
UOExecutorcreate_full_script_executor ()
 
std::string create_nametags (Mobile::Character *chr)
 
const NpcTemplatecreate_npc_template (const Clib::ConfigElem &elem, const Plib::Package *pkg)
 
UOExecutorcreate_script_executor ()
 
void create_servers ()
 
void create_starting_locations ()
 
void create_stub_accounts ()
 
void createchar2 (Accounts::Account *acct, unsigned index)
 
void CreateEmptyStoredConfigFile (const std::string &filename)
 
Bscript::BObjectImpCreateStorageAreasImp ()
 
unsigned char cvt_8to6 (char ch)
 
void debug_listen_thread (void)
 
void decay_items ()
 
void decay_single_thread (void *arg)
 
void decay_single_zone ()
 
void decay_single_zone (Realms::Realm *realm, unsigned gridx, unsigned gridy, unsigned &wx, unsigned &wy)
 [3] Decay Sweep Each 64x64 tile World Zone is checked for decay approximately once every 10 minutes More...
 
void decay_thread (void *arg)
 
void decay_thread_shadow (void *arg)
 
void decay_worldzone (unsigned wx, unsigned wy, Realms::Realm *realm)
 [1] Item Decay Criteria An Item is allowed to decay if ALL of the following are true: More...
 
std::string decode_base64 (const std::string &b64s)
 
bool decode_page (const std::string &ipage, Plib::Package **ppkg, std::string *pfilename, std::string *ppagetype, std::string *redirect_to)
 
void defer_item_insertion (Items::Item *item, pol_serial_t container_serial)
 
bool defined_realm (const std::string &name)
 
void deinit_ipc_vars ()
 
template<class T >
void Delete (T *p)
 
void delete_character (Accounts::Account *acct, Mobile::Character *chr, int charidx)
 
void deregister_from_speech_events (UOExecutor *uoexec)
 
void deschedule_executor (UOExecutor *ex)
 
void destroy_item (Item *item)
 
BOOL CALLBACK DialogProc (HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
 
void disband_party (u32 leader)
 
void display_leftover_objects ()
 
int display_orphan (UObject *o)
 
void display_reftypes ()
 
void display_unreaped_orphan_instances ()
 
void do_cast (Network::Client *client, u16 spellid)
 
bool do_open_trade_window (Network::Client *client, Items::Item *item, Mobile::Character *dropon)
 
bool do_place_item_in_secure_trade_container (Network::Client *client, Items::Item *item, UContainer *cont, Mobile::Character *dropon, u16 x, u16 y, u8 move_type)
 
void doubleclick (Network::Client *client, PKTIN_06 *msg)
 
void drop_item (Network::Client *client, PKTIN_08_V1 *msg)
 
bool drop_item_on_ground (Network::Client *client, Items::Item *item, u16 x, u16 y, s8 z)
 
bool drop_item_on_mobile (Network::Client *client, Items::Item *item, u32 target_serial, u8 slotIndex)
 
bool drop_item_on_object (Network::Client *client, Items::Item *item, u32 target_serial, u8 slotIndex)
 
void drop_item_v2 (Network::Client *client, PKTIN_08_V2 *msg)
 
polclock_t earliest_timer (polclock_t timer1_until, polclock_t timer2_until)
 
std::string elapsed (clock_t start, clock_t end)
 
Bscript::BObjectImpequip_from_template (Mobile::Character *chr, const char *template_name)
 
void equip_item (Network::Client *client, PKTIN_13 *msg)
 
void equip_loaded_item (Mobile::Character *chr, Items::Item *item)
 
void ext_stats_in (Client *client, PKTBI_BF *msg)
 
std::string extractkey (const std::string &istr)
 
Mobile::Characterfind_character (u32 serial)
 
CmdLevelfind_cmdlevel (const char *name)
 
Items::Itemfind_existing_item (u32 objtype, u16 x, u16 y, s8 z, Realms::Realm *realm)
 
UContainerfind_giveitem_container (Items::Item *item_to_add, u8 slotIndex)
 
UContainerfind_legal_container (const Character *chr, u32 serial)
 
Itemfind_legal_item (const Character *chr, u32 serial, bool *additlegal, bool *isRemoteContainer)
 
Items::Itemfind_legal_singleclick_item (Mobile::Character *chr, u32 serial)
 
static void find_missing_char_in_zone (Mobile::Character *chr, Realms::WorldChangeReason reason)
 
const NpcTemplatefind_npc_template (const Clib::ConfigElem &elem)
 
Realms::Realmfind_realm (const std::string &name)
 
ResourceDeffind_resource_def (const std::string &rname)
 
ref_ptr< Bscript::EScriptProgramfind_script (const std::string &name, bool complain_if_not_found, bool cache_script)
 
ref_ptr< Bscript::EScriptProgramfind_script2 (const ScriptDef &script, bool complain_if_not_found, bool cache_script)
 
Items::Itemfind_toplevel_item (u32 serial)
 
UObjectfind_toplevel_object (u32 serial)
 
bool find_uoexec (unsigned int pid, UOExecutor **pp_uoexec)
 
Items::Itemfind_walkon_item (ItemsVector &ivec, short z)
 
CmdLevelFindCmdLevelByAlias (const std::string &str)
 
ConfigFileRef FindConfigFile (const std::string &filename, const std::string &allpkgbase)
 
bool FindEquipTemplate (const char *template_name, Clib::ConfigElem &elem)
 
ExportedFunctionFindExportedFunction (Clib::ConfigElem &elem, const Plib::Package *pkg, const std::string &descriptor, unsigned nargs, bool complain_if_missing)
 
ExportScriptFindExportScript (const ScriptDef &sd)
 
bool FindNpcTemplate (const char *template_name, Clib::ConfigElem &elem)
 
bool FindNpcTemplate (const char *template_name, Clib::ConfigFile &cf, Clib::ConfigElem &elem)
 
bool findstatic (unsigned short x, unsigned short y, unsigned short graphic)
 
VitalFindVital (const std::string &str)
 
VitalFindVital (unsigned vitalid)
 
unsigned char flags_from_tileflags (unsigned int uoflags)
 
bool flags_standable (unsigned int flags)
 
bool flags_swimmable (unsigned int flags)
 
std::string format_description (unsigned int polflags, const std::string &descdef, unsigned short amount, const std::string suffix)
 
std::string full_scriptname (const std::string &spec, const Plib::Package *pkg, const char *mainpfx)
 
u16 Get12BitNumber (u8 *thearray, u16 theindex)
 
std::string get_fileline (EScriptProgram *prog, int filenum, int linenum)
 
Bscript::BObjectImpget_harvest_difficulty (const char *resource, xcoord x, ycoord y, Realms::Realm *realm, unsigned short marker)
 
void get_item (Network::Client *client, PKTIN_07 *msg)
 
int get_mobile_count ()
 
std::string get_page_filename (const std::string &page)
 
std::string get_pagetype (const std::string &page)
 
Bscript::BObjectImpget_region_string (const char *resource, xcoord x, ycoord y, Realms::Realm *realm, const std::string &propname)
 
unsigned get_save_index (pol_serial_t serial)
 
bool get_script_page_filename (const std::string &page, ScriptDef &sd)
 
std::string get_textcmd_help (Mobile::Character *chr, const char *cmd)
 
int get_toplevel_item_count ()
 
bool getAttributeParam (Executor &exec, unsigned param, const Mobile::Attribute *&attr)
 
bool getCharacterOrClientParam (Executor &exec, unsigned param, Mobile::Character *&chrptr, Network::Client *&clientptr)
 
bool getCharacterParam (Bscript::Executor &exec, unsigned param, Mobile::Character *&chrptr)
 
std::string getcmdstr (char ch)
 
Bscript::ObjArrayGetCommandsInPackage (Plib::Package *m_pkg, int cmdlvl_num)
 
u32 GetCurrentCharSerialNumber (void)
 
u32 GetCurrentItemSerialNumber (void)
 
polclock_base_type getCurrentPolClockSeconds ()
 
BObjectImpGetGlobals (const UOExecutor *uoexec)
 
bool getItemParam (Executor &exec, unsigned param, Items::Item *&itemptr)
 
Bscript::BObjectImpGetListenPoints ()
 
void getmapinfo (unsigned short x, unsigned short y, short *z, USTRUCT_MAPINFO *mi)
 
bool getMultiParam (Executor &exec, unsigned param, Multi::UMulti *&multiptr)
 
u32 GetNewItemSerialNumber (void)
 
u32 GetNextSerialNumber (void)
 
int GetNextUTF8 (u8 *bytemsg, int i, u16 &unicodeChar)
 
bool getObjtypeParam (Executor &exec, unsigned param, unsigned int &objtype)
 
bool getObjtypeParam (Executor &exec, unsigned param, const Items::ItemDesc *&itemdesc_out)
 
bool getSkillIdParam (Executor &exec, unsigned param, USKILLID &skillid)
 
bool getUBoatParam (Executor &exec, unsigned param, Multi::UBoat *&boatptr)
 
bool getUObjectParam (Executor &exec, unsigned param, UObject *&objptr)
 
const UOSkillGetUOSkill (unsigned skillid)
 
bool getVitalParam (Executor &exec, unsigned param, const Vital *&vital)
 
Zonegetzone (unsigned short x, unsigned short y, Realms::Realm *realm)
 
bool groundheight (unsigned short x, unsigned short y, short *z)
 
void handle_A4 (Network::Client *, PKTIN_A4 *)
 
void handle_accept_invite (Network::Client *client, PKTBI_BF *msg)
 
void handle_action (Network::Client *client, PKTIN_12 *cmd)
 
void handle_add (Network::Client *client, PKTBI_BF *msg)
 
void handle_add_member_cursor (Mobile::Character *chr, PKTBI_6C *msgin)
 
void handle_allnames (Client *client, PKTBI_98_IN *msg)
 
void handle_aos_commands (Client *client, PKTBI_D7 *msg)
 
void handle_bulletin_boards (Client *client, PKTBI_71 *)
 
void handle_cast_spell (Network::Client *client, PKTIN_12 *msg)
 
void handle_char_profile_request (Client *client, PKTBI_B8_IN *msg)
 
void handle_client_version (Client *client, PKTBI_BD *msg)
 
void handle_D9 (Network::Client *client, PKTIN_D9 *msg)
 
void handle_decline_invite (Network::Client *client, PKTBI_BF *msg)
 
void handle_delete_character (Network::Client *client, PKTIN_83 *msg)
 
void handle_e1_clienttype (Client *client, PKTIN_E1 *msg)
 
void handle_ef_seed (Client *client, PKTIN_EF *msg)
 
void handle_get_tip (Network::Client *client, PKTIN_A7 *msg)
 
void handle_help (Network::Client *client, PKTIN_9B *)
 
void handle_humongous_packet (Network::Client *client, unsigned int reported_size)
 
void handle_HUP (int)
 
void handle_ident_cursor (Mobile::Character *chr, PKTBI_6C *msgin)
 
void handle_keep_alive (Network::Client *client, PKTBI_73 *msg)
 
void handle_loot_perm (Network::Client *client, PKTBI_BF *msg)
 
void handle_map_pin (Network::Client *client, PKTBI_56 *msg)
 
void handle_member_msg (Network::Client *client, PKTBI_BF *msg)
 
void handle_menu_selection (Network::Client *client, PKTIN_7D *msg)
 
void handle_mode_set (Client *client, PKTBI_72 *msg)
 
void handle_msg_B5 (Client *client, PKTIN_B5 *)
 
void handle_msg_BB (Client *client, PKTBI_BB *)
 
void handle_msg_BF (Client *client, PKTBI_BF *msg)
 
void handle_open_spellbook (Network::Client *client, PKTIN_12 *msg)
 
void handle_party_msg (Network::Client *client, PKTBI_BF *msg)
 
void handle_processed_speech (Network::Client *client, char *textbuf, int textbuflen, char firstchar, u8 type, u16 color, u16 font)
 
void handle_prompt (Network::Client *client, PKTBI_9A *msg)
 
void handle_remove (Network::Client *client, PKTBI_BF *msg)
 
void handle_remove_member_cursor (Mobile::Character *chr, PKTBI_6C *msgin)
 
void handle_rename_char (Client *client, PKTIN_75 *msg)
 
void handle_request_tooltip (Network::Client *client, PKTIN_B6 *msgin)
 
void handle_resync_request (Network::Client *client, PKTBI_22_SYNC *msg)
 
void handle_se_object_list (Client *client, PKTBI_D6_IN *msgin)
 
void handle_secure_trade_msg (Network::Client *client, PKTBI_6F *msg)
 
void handle_SIGUSR1 (int)
 
void handle_singleclick (Network::Client *client, PKTIN_09 *msg)
 
void handle_skill_lock (Network::Client *client, PKTBI_3A_LOCKS *msg)
 
void handle_target_cursor (Network::Client *client, PKTBI_6C *msg)
 
void handle_undefined_packet (Network::Client *client)
 
void handle_unicode_prompt (Client *client, Core::PKTBI_C2 *msg)
 
void handle_unknown_C4 (Client *client, PKTOUT_C4 *)
 
void handle_unknown_packet (Client *client)
 
void handle_update_range_change (Client *client, PKTBI_C8 *)
 
void handle_use_skill (Network::Client *client, PKTIN_12 *msg)
 
void handle_walk (Network::Client *client, PKTIN_02 *msg02)
 
bool hands_are_free (Mobile::Character *chr)
 
Bscript::BObjectImpharvest_resource (const char *resource, xcoord x, ycoord y, Realms::Realm *realm, int b, int n)
 
void hook (ExportScript *shs, const std::string &hookname, const std::string &exfuncname)
 
std::string http_decodestr (const std::string &s)
 
void http_forbidden (Clib::Socket &sck)
 
void http_forbidden (Clib::Socket &sck, const std::string &filename)
 
void http_func (SOCKET client_socket)
 
void http_not_authorized (Clib::Socket &sck, const std::string &)
 
void http_not_found (Clib::Socket &sck, const std::string &filename)
 
bool http_readline (Clib::Socket &sck, std::string &s)
 
void http_redirect (Clib::Socket &sck, const std::string &new_url)
 
void http_thread (void)
 
void http_writeline (Clib::Socket &sck, const std::string &s)
 
void implicit_package_cmds_cfg (Plib::Package *pkg)
 
void import (Clib::ConfigElem &elem)
 
void import_new_data ()
 
bool in_say_range (const Character *c1, const Character *c2)
 
bool in_whisper_range (const Character *c1, const Character *c2)
 
bool in_yell_range (const Character *c1, const Character *c2)
 
void init_http_thread_support ()
 
void init_ipc_vars ()
 
void InitializeSystemTrayHandling ()
 
bool inrange (const UObject *c1, unsigned short x, unsigned short y)
 
bool inrange (const Mobile::Character *c1, const Mobile::Character *c2)
 
bool inrange (const Mobile::Character *c1, const UObject *obj)
 
bool inrange (unsigned short x1, unsigned short y1, unsigned short x2, unsigned short y2)
 
bool inrangex (const Character *c1, const Character *c2, int maxdist)
 
bool inrangex (const UObject *c1, unsigned short x, unsigned short y, int maxdist)
 
bool inrangex_inline (const Mobile::Character *c1, const Mobile::Character *c2, int maxdist)
 
bool inrangex_inline (const UObject *c1, unsigned short x, unsigned short y, int maxdist)
 
void insert_deferred_items ()
 
void install_null_handler (int sig)
 
void install_signal_handlers ()
 
void invite_timeout (Mobile::Character *mem)
 
void invoke (Network::Client *client, const char *spellidstr)
 
void invoke (Network::Client *client, const u16 *wspellidstr)
 
bool is_a_parent (const Item *item, u32 serial)
 
bool IsCharacter (u32 serial)
 
bool IsItem (u32 serial)
 
bool iswater (u16 objtype)
 
bool knows_spell (Mobile::Character *chr, u16 spellid)
 
void KR_Verifier_Response (Network::Client *, PKTIN_E4 *)
 
unsigned int landtile_flags (unsigned short landtile)
 
unsigned int landtile_uoflags (unsigned short landtile)
 
bool legal_pagename (const std::string &page)
 
int lightlevel (unsigned short x, unsigned short y)
 
void list_crit_script (UOExecutor *uoexec)
 
void list_crit_scripts (const char *desc, const ExecList &ls)
 
void list_crit_scripts ()
 
void list_script (UOExecutor *uoexec)
 
void list_scripts (const char *desc, const ExecList &ls)
 
void list_scripts ()
 
void load_anim_xlate_cfg (bool)
 
void load_circle_data ()
 
void load_cmdlevels ()
 
void load_config (bool reload)
 
void load_data ()
 
void load_general_entry (const Plib::Package *pkg, Clib::ConfigElem &elem)
 
void load_incremental_indexes ()
 
void load_intrinsic_weapons ()
 Creates the intrinsic wrestling weapon for PCs must be called at startup. More...
 
void load_landtile_cfg ()
 
void load_landtile_entry (const Plib::Package *, Clib::ConfigElem &elem)
 
void load_listener_entry (const Plib::Package *, Clib::ConfigElem &elem)
 
void load_mime_config (void)
 
void load_movecost (bool reload)
 
void load_npc_templates ()
 
void load_package_cmdlevels ()
 
void load_party_cfg (bool reload)
 
void load_party_cfg_general (Clib::ConfigElem &elem)
 
void load_party_cfg_hooks (Clib::ConfigElem &elem)
 
void load_pol_static_files ()
 
void load_protocol_entry (const Plib::Package *, Clib::ConfigElem &elem)
 
bool load_realms ()
 
void load_repsys_cfg (bool reload)
 
void load_repsys_cfg_general (Clib::ConfigElem &elem)
 
void load_repsys_cfg_hooks (Clib::ConfigElem &elem)
 
void load_repsys_cfg_namecoloring (Clib::ConfigElem &elem)
 Reputation System. More...
 
void load_resource_cfg ()
 
void load_skill_entry (const Plib::Package *pkg, Clib::ConfigElem &elem)
 
void load_skill_scripts ()
 
void load_spell_data ()
 
void load_spells_cfg (const char *path, Plib::Package *pkg)
 
void load_stacking_cfg ()
 
void load_system_hooks ()
 
void load_tile_entry (const Plib::Package *, Clib::ConfigElem &elem)
 
void load_tiles_cfg ()
 
void load_tips ()
 
void load_uoclient_cfg ()
 
void load_uoclient_entry (const Plib::Package *pkg, Clib::ConfigElem &elem)
 
void load_uoskills_cfg ()
 
void load_vital_entry (const Plib::Package *pkg, Clib::ConfigElem &elem)
 
void load_vitals_cfg ()
 
ConfigFileRef LoadTusScpFile (const std::string &filename)
 
void log_all_script_cycle_counts (bool clear_counters)
 
void login2 (Network::Client *client, PKTIN_91 *msg)
 
void login_complete (Client *c)
 
void loginserver_login (Network::Client *client, PKTIN_80 *msg)
 
Bscript::BObjectImpmake_boatref (Multi::UBoat *boat)
 
Bscript::BObjectImpmake_itemref (Items::Item *item)
 
Bscript::BObjectImpmake_mobileref (Mobile::Character *chr)
 
bool move_character_to (Mobile::Character *chr, unsigned short x, unsigned short y, short z, int flags, Realms::Realm *oldrealm)
 
void move_item (Item *item, UFACING facing)
 
void move_item (Item *item, unsigned short newx, unsigned short newy, signed char newz, Realms::Realm *oldrealm)
 
void move_multi_in_world (unsigned short oldx, unsigned short oldy, unsigned short newx, unsigned short newy, Multi::UMulti *multi, Realms::Realm *oldrealm)
 
void MoveCharacterWorldPosition (unsigned short oldx, unsigned short oldy, unsigned short newx, unsigned short newy, Mobile::Character *chr, Realms::Realm *oldrealm)
 
unsigned short movecost (const Mobile::Character *chr, int carry_perc, bool running, bool mounted)
 
void MoveItemWorldPosition (unsigned short oldx, unsigned short oldy, Items::Item *item, Realms::Realm *oldrealm)
 
bool multi_inrange (const Mobile::Character *c1, const Multi::UMulti *obj)
 
bool multi_inrange (unsigned short x1, unsigned short y1, unsigned short x2, unsigned short y2)
 
bool newstat_dont_add (std::vector< Plib::STATIC_ENTRY > &vec, USTRUCT_STATIC *pstat)
 
static bool nocast_here (Mobile::Character *chr)
 
void null_handler (int)
 
void on_loggoff_party (Mobile::Character *chr)
 
void on_loggon_party (Mobile::Character *chr)
 
void OnChatButton (Client *client)
 
void onetime_create_stubdata ()
 
void OnGuildButton (Client *client)
 
void OnQuestButton (Client *client)
 
FILE * open_map_file (std::string name, int map_id)
 
bool open_trade_window (Network::Client *client, Items::Item *item, Mobile::Character *dropon)
 
Bscript::BObjectImpopen_trade_window (Network::Client *client, Mobile::Character *dropon)
 
void open_uo_data_files (void)
 
FILE * open_uo_file (const std::string &filename_part)
 
Clib::StreamWriteroperator<< (Clib::StreamWriter &writer, const UObject &obj)
 
void optimize_zones ()
 
std::ofstream orphans_txt ("orphans.txt", std::ios::out|std::ios::trunc)
 
void party_cmd_handler (Client *client, PKTBI_BF *msg)
 
void pause_pol_clocks ()
 
void pause_polclock ()
 
void pause_poltime ()
 
bool place_item (Network::Client *client, Items::Item *item, u32 target_serial, u16 x, u16 y, u8 slotIndex)
 
bool place_item_in_container (Network::Client *client, Items::Item *item, UContainer *cont, u16 x, u16 y, u8 slotIndex)
 
bool place_item_in_secure_trade_container (Network::Client *client, Items::Item *item, u16 x, u16 y)
 
Bscript::BObjectImpplace_item_in_secure_trade_container (Network::Client *client, Items::Item *item)
 
void play_lightning_bolt_effect (const UObject *center)
 
void play_moving_effect (const UObject *src, const UObject *dst, u16 effect, u8 speed, u8 loop, u8 explode)
 
void play_moving_effect2 (u16 xs, u16 ys, s8 zs, u16 xd, u16 yd, s8 zd, u16 effect, u8 speed, u8 loop, u8 explode, Realms::Realm *realm)
 
void play_moving_effect2_ex (u16 xs, u16 ys, s8 zs, u16 xd, u16 yd, s8 zd, Realms::Realm *realm, u16 effect, u8 speed, u8 duration, u32 hue, u32 render, u8 direction, u8 explode, u16 effect3d, u16 effect3dexplode, u16 effect3dsound)
 
void play_moving_effect_ex (const UObject *src, const UObject *dst, u16 effect, u8 speed, u8 duration, u32 hue, u32 render, u8 direction, u8 explode, u16 effect3d, u16 effect3dexplode, u16 effect3dsound)
 
void play_object_centered_effect (const UObject *center, u16 effect, u8 speed, u8 loop)
 
void play_object_centered_effect_ex (const UObject *center, u16 effect, u8 speed, u8 duration, u32 hue, u32 render, u8 layer, u16 effect3d)
 
void play_sound_effect (const UObject *center, u16 effect)
 
void play_sound_effect_private (const UObject *center, u16 effect, Character *forchr)
 
void play_sound_effect_xyz (u16 cx, u16 cy, s8 cz, u16 effect, Realms::Realm *realm)
 
void play_stationary_effect (u16 x, u16 y, s8 z, u16 effect, u8 speed, u8 loop, u8 explode, Realms::Realm *realm)
 
void play_stationary_effect_ex (u16 x, u16 y, s8 z, Realms::Realm *realm, u16 effect, u8 speed, u8 duration, u32 hue, u32 render, u16 effect3d)
 
unsigned short pol_distance (unsigned short x1, unsigned short y1, unsigned short x2, unsigned short y2)
 
unsigned short pol_distance (const Mobile::Character *c1, const UObject *obj)
 
void pol_sleep_ms (unsigned int millis)
 
polclock_t polclock ()
 
static std::atomic< polclock_base_typepolclock_base (0)
 
void polclock_checkin ()
 
void polsem_lock ()
 
void polsem_unlock ()
 
polticks_t polticks_t_to_ms (polticks_t ticks)
 
time_t poltime ()
 
static std::atomic< time_t > poltime_base (0)
 
static std::atomic< time_t > poltime_paused_at (0)
 
void PrintAllocationData ()
 
bool private_say_above (Character *chr, const UObject *obj, const char *text, unsigned short font, unsigned short color, unsigned int journal_print)
 
bool private_say_above (Character *chr, const UObject *obj, const u16 *wtext, const char lang[4], unsigned short font, unsigned short color, unsigned int journal_print)
 
void private_say_above_cl (Mobile::Character *chr, const UObject *obj, unsigned int cliloc_num, const u16 *arguments, unsigned short font, unsigned short color)
 
void private_say_above_cl_affix (Mobile::Character *chr, const UObject *obj, unsigned int cliloc_num, const char *affix, bool prepend, const u16 *arguments, unsigned short font, unsigned short color)
 
bool private_say_above_ex (Mobile::Character *chr, const UObject *obj, const char *text, unsigned short color)
 
bool process_command (Network::Client *client, const char *text, const u16 *wtext, const char *lang)
 
bool process_data (Network::Client *client)
 
void process_package_cmds_cfg (Plib::Package *pkg)
 
bool process_tildecommand (Network::Client *client, const char *textbuf)
 
bool process_tildecommand (Network::Client *client, const u16 *wtextbuf)
 
unsigned short raw_to_base (unsigned int raw)
 
void rawmapfullread ()
 
signed char rawmapinfo (unsigned short x, unsigned short y, struct USTRUCT_MAPINFO *gi)
 
void rawstaticfullread ()
 
void read_character (Clib::ConfigElem &elem)
 
int read_data ()
 
void read_extobj ()
 
gameclock_t read_gameclock ()
 Reads the current value of the game clock. More...
 
void read_gameservers ()
 
void read_global_data (Clib::ConfigElem &elem)
 
void read_global_item (Clib::ConfigElem &elem, int)
 
void read_guilds_dat ()
 
void read_incremental_saves ()
 
Items::Itemread_item (Clib::ConfigElem &elem)
 
void read_items_dat ()
 
void read_justice_zones ()
 
static void read_landtiledata ()
 
void read_light_zones ()
 
void read_map_difs ()
 
void read_movecost (Clib::ConfigElem &elem, MovementCost &movecost)
 
void read_multi (Clib::ConfigElem &elem)
 
void read_multis_dat ()
 
void read_music_zones ()
 
void read_nocast_zones ()
 
void read_npc (Clib::ConfigElem &elem)
 
void read_npc_templates ()
 
void read_npc_templates (Plib::Package *pkg)
 
void read_npcequip_dat ()
 
void read_npcs_dat ()
 
void read_objects_dat ()
 
void read_objinfo (u16 graphic, struct USTRUCT_TILE &objinfo)
 
void read_objinfo (u16 graphic, struct USTRUCT_TILE_HSA &objinfo)
 
void read_party_dat ()
 
void read_pcequip_dat ()
 
void read_pcs_dat ()
 
void read_pol_dat ()
 
void read_region_data (RegionGroupBase &grp, const char *preferred_filename, const char *other_filename, const char *tags_expected)
 
void read_region_data (Clib::ConfigElem &elem)
 
void read_resource_cfg (const char *resource)
 
void read_resources_dat ()
 
void read_shadow_realms (Clib::ConfigElem &elem)
 
void read_stacking_cfg (Clib::ConfigFile &cf)
 
void read_starting_locations ()
 
void read_static_diffs ()
 
void read_storage_dat ()
 
void read_system_vars (Clib::ConfigElem &elem)
 
static void read_tiledata ()
 
void read_uo_data (void)
 
static void read_veridx ()
 
void read_weather_zones ()
 
void readallstatics (StaticList &vec, unsigned short x, unsigned short y)
 
void readlandtile (unsigned short tilenum, USTRUCT_LAND_TILE *landtile)
 
void readlandtile (unsigned short tilenum, USTRUCT_LAND_TILE_HSA *landtile)
 
void readstaticblock (std::vector< USTRUCT_STATIC > *ppst, int *pnum, unsigned short x, unsigned short y)
 
void readstatics (StaticList &vec, unsigned short x, unsigned short y)
 
void readstatics (StaticList &vec, unsigned short x, unsigned short y, unsigned int flags)
 
void readstatics2 (StaticList &vec, unsigned short x, unsigned short y)
 
void readtile (unsigned short tilenum, USTRUCT_TILE *tile)
 
void readtile (unsigned short tilenum, USTRUCT_TILE_HSA *tile)
 
void readwater ()
 
void reap_thread (void)
 
void regen_resources ()
 
void regen_stats ()
 
void register_command (const char *cmd, TextCmdFunc f)
 
void register_command (const char *cmd, ParamTextCmdFunc f)
 
void register_deleted_serials ()
 
void register_for_speech_events (UObject *obj, UOExecutor *uoexec, int range, int flags)
 
void register_guilds ()
 
void register_party_members ()
 
void register_spell (USpell *spell, unsigned short spellid)
 
void register_with_supporting_multi (Item *item)
 
void reload_configuration ()
 
void remove_item_from_world (Items::Item *item)
 
void remove_multi_from_world (Multi::UMulti *multi)
 
void remove_objects_inrange (Network::Client *client)
 
void remove_realm (const std::string &name)
 
void rename_dat_files ()
 
void report_weird_packet (Network::Client *client, const std::string &why)
 
void restart_all_clients ()
 
void restart_pol_clocks ()
 
void restart_polclock ()
 
void restart_poltime ()
 
void return_traded_items (Mobile::Character *chr)
 
void rndat (const std::string &basename)
 
BObjectImprun_executor_to_completion (UOExecutor &ex, const ScriptDef &script)
 
void run_logon_script (Mobile::Character *chr)
 
void run_ready (void)
 
void run_reconnect_script (Mobile::Character *chr)
 
bool run_script_to_completion (const char *filename, Bscript::BObjectImp *parameter)
 
bool run_script_to_completion (const char *filename)
 
Bscript::BObjectImprun_script_to_completion (const ScriptDef &script)
 
Bscript::BObjectImprun_script_to_completion (const ScriptDef &script, Bscript::BObjectImp *param1)
 
Bscript::BObjectImprun_script_to_completion (const ScriptDef &script, Bscript::BObjectImp *param1, Bscript::BObjectImp *param2)
 
Bscript::BObjectImprun_script_to_completion (const ScriptDef &script, Bscript::BObjectImp *param1, Bscript::BObjectImp *param2, Bscript::BObjectImp *param3)
 
Bscript::BObjectImprun_script_to_completion (const ScriptDef &script, Bscript::BObjectImp *param1, Bscript::BObjectImp *param2, Bscript::BObjectImp *param3, Bscript::BObjectImp *param4)
 
Bscript::BObjectImprun_script_to_completion (const ScriptDef &script, Bscript::BObjectImp *param1, Bscript::BObjectImp *param2, Bscript::BObjectImp *param3, Bscript::BObjectImp *param4, Bscript::BObjectImp *param5)
 
Bscript::BObjectImprun_script_to_completion (const ScriptDef &script, Bscript::BObjectImp *param1, Bscript::BObjectImp *param2, Bscript::BObjectImp *param3, Bscript::BObjectImp *param4, Bscript::BObjectImp *param5, Bscript::BObjectImp *param6)
 
Bscript::BObjectImprun_script_to_completion (const ScriptDef &script, Bscript::BObjectImp *param1, Bscript::BObjectImp *param2, Bscript::BObjectImp *param3, Bscript::BObjectImp *param4, Bscript::BObjectImp *param5, Bscript::BObjectImp *param6, Bscript::BObjectImp *param7)
 
bool run_script_to_completion_worker (UOExecutor &ex, Bscript::EScriptProgram *prog)
 
void run_start_scripts ()
 
int RunWindowsService (int argc, char **argv)
 
void safe_getmapinfo (unsigned short x, unsigned short y, short *z, USTRUCT_MAPINFO *mi)
 
int save_incremental (unsigned int &dirty, unsigned int &clean, long long &elapsed_ms)
 
bool say_above (const UObject *obj, const char *text, unsigned short font, unsigned short color, unsigned int journal_print)
 
bool say_above (const UObject *obj, const u16 *wtext, const char lang[4], unsigned short font, unsigned short color, unsigned int journal_print)
 
void say_above_cl (UObject *obj, unsigned int cliloc_num, const u16 *arguments, unsigned short font, unsigned short color)
 
void say_above_cl_affix (UObject *obj, unsigned int cliloc_num, const char *affix, bool prepend, const u16 *arguments, unsigned short font, unsigned short color)
 
void sayto_listening_points (Mobile::Character *speaker, const char *p_text, int, u8 texttype, const u16 *p_wtext, const char *p_lang, int p_wtextlen, Bscript::ObjArray *speechtokens)
 
void schedule_executor (UOExecutor *ex)
 
bool script_loaded (ScriptDef &sd)
 
void scripts_thread (void)
 
static bool seekto_newer_version (unsigned int file, unsigned int block)
 
void select_server (Network::Client *client, PKTIN_A0 *msg)
 
void send_action_to_inrange (const Mobile::Character *obj, UACTION action, unsigned short framecount=0x05, unsigned short repeatcount=0x01, DIRECTION_FLAG_OLD backward=FORWARD, REPEAT_FLAG_OLD repeatflag=NOREPEAT, unsigned char delay=0x01)
 
void send_attributes_normalized (Mobile::Character *chr, Mobile::Character *bob)
 
void send_binary (Clib::Socket &sck, const std::string &page, const std::string &filename, const std::string &content_type)
 
void send_buff_message (Character *chr, u16 icon, bool show, u16 duration, u32 cl_name, u32 cl_descr, std::vector< u32 > arguments)
 
void send_char_data (Client *client, Character *chr)
 
void send_char_if_newly_inrange (Mobile::Character *chr, Network::Client *client)
 
void send_client_char_data (Mobile::Character *chr, Network::Client *client)
 
void send_ClientTransmit_pulse ()
 
void send_container_contents (Network::Client *client, const UContainer &cont)
 
void send_corpse (Client *client, const Item *item)
 
void send_corpse_contents (Client *client, const UCorpse *corpse)
 
void send_corpse_equip (Client *client, const UCorpse *corpse)
 
void send_corpse_equip_inrange (const Item *item)
 
void send_create_mobile_if_nearby_cansee (Client *client, const Character *chr)
 
void send_create_mobile_to_nearby_cansee (const Character *chr)
 
void send_damage (Character *attacker, Character *defender, u16 damage)
 
void send_death_message (Character *chr_died, Item *corpse)
 
void send_empty_party (Mobile::Character *chr)
 
void send_feature_enable (Client *client)
 
void send_fight_occuring (Client *client, Character *opponent)
 
void send_full_corpse (Client *client, const Item *item)
 
void send_full_statmsg (Network::Client *client, Mobile::Character *chr)
 
void send_goxyz (Client *client, const Character *chr)
 
void send_html (Clib::Socket &sck, const std::string &page, const std::string &filename)
 
void send_inrange_items (Network::Client *client)
 
void send_inrange_multis (Network::Client *client)
 
void send_invite (Mobile::Character *member, Mobile::Character *leader)
 
void send_invulhealthbar (Client *client, const Character *chr)
 
void send_item (Client *client, const Item *item)
 
void send_item_if_newly_inrange (Items::Item *item, Network::Client *client)
 
void send_item_move_failure (Network::Client *client, u8 reason)
 
void send_item_to_inrange (const Item *item)
 
void send_light (Client *client, int lightlevel)
 
void send_login_error (Network::Client *client, unsigned char reason)
 
void send_mana_level (Client *client)
 
void send_map_difs (Client *client)
 Sends number of maps used and number of map/static patches for each map. More...
 
bool send_menu (Network::Client *client, Menu *menu)
 
void send_midi (Client *client, u16 midi)
 
void send_mode (Network::Client *client)
 
void send_move (Network::Client *client, const Mobile::Character *chr, Network::PktOut_77 *movebuffer)
 
void send_move (Client *client, const Character *chr)
 
void send_move_if_inrange2 (Mobile::Character *chr, Network::Client *client)
 
void send_move_mobile_to_nearby_cansee (const Character *chr)
 
void send_multi (Network::Client *client, const Multi::UMulti *multi)
 
void send_multi_if_newly_inrange (Multi::UMulti *multi, Network::Client *client)
 
void send_multi_to_inrange (const Multi::UMulti *multi)
 
void send_multis_newly_inrange (Multi::UMulti *multi, Network::Client *client)
 
void send_nametext (Client *client, const Character *chr, const std::string &str)
 
void send_new_subserver (Client *client)
 
void send_objdesc (Client *client, Item *item)
 
void send_object_cache (Network::Client *client, const UObject *obj)
 
void send_object_cache_to_inrange (const UObject *obj)
 
void send_objects_newly_inrange (Network::Client *client)
 
void send_objects_newly_inrange_on_boat (Network::Client *client, u32 serial)
 
void send_open_gump (Network::Client *client, const UContainer &cont)
 
void send_owncreate (Client *client, const Character *chr)
 
void send_owncreate (Client *client, const Character *chr, PktOut_78 *owncreate)
 
void send_paperdoll (Network::Client *client, Mobile::Character *chr)
 
void send_poisonhealthbar (Client *client, const Character *chr)
 
void send_prompt (Network::Client *client, u32 serial)
 
void send_pulse ()
 
void send_put_in_container (Client *client, const Item *item)
 
void send_put_in_container_to_inrange (const Item *item)
 
void send_realm_change (Client *client, Realms::Realm *realm)
 
void send_remove (Network::Client &client, UObject &to_remove)
 
void send_remove_character (Client *client, const Character *chr)
 
void send_remove_character (Network::Client *client, const Mobile::Character *chr, Network::RemoveObjectPkt &pkt)
 
void send_remove_character_to_nearby (const Character *chr)
 
void send_remove_character_to_nearby_cansee (const Character *chr)
 
void send_remove_character_to_nearby_cantsee (const Character *chr)
 
void send_remove_object (Client *client, const UObject *object)
 
void send_remove_object (Client *client, const UObject *item, RemoveObjectPkt &pkt)
 
void send_remove_object_if_inrange (Client *client, const Item *item)
 
void send_remove_object_to_inrange (const UObject *centerObject)
 
void send_season_info (Client *client)
 
void send_short_statmsg (Network::Client *client, Mobile::Character *chr)
 
void send_skillmsg (Network::Client *client, const Mobile::Character *chr)
 
void send_spellbook_contents (Network::Client *client, Spellbook &spellbook)
 
void send_stamina_level (Client *client)
 
void send_start (Network::Client *client)
 
void send_startup (Network::Client *client)
 
void send_stat_locks (Network::Client *client, Mobile::Character *chr)
 
void send_sysmessage (Network::Client *client, const char *text, unsigned short font, unsigned short color)
 
void send_sysmessage (Network::Client *client, const u16 *wtext, const char lang[4], unsigned short font, unsigned short color)
 
void send_sysmessage (Network::Client *client, const std::string &text, unsigned short font, unsigned short color)
 
void send_sysmessage (Network::Client *client, const std::wstring &wtext, const char lang[4], unsigned short font, unsigned short color)
 
void send_sysmessage_cl (Client *client, unsigned int cliloc_num, const u16 *arguments, unsigned short font, unsigned short color)
 
void send_sysmessage_cl_affix (Client *client, unsigned int cliloc_num, const char *affix, bool prepend, const u16 *arguments, unsigned short font, unsigned short color)
 
bool send_tip (Network::Client *client, const char *tipname)
 
bool send_tip (Network::Client *client, const char *tipname, unsigned short tipnum)
 
void send_tip (Network::Client *client, const std::string &tiptext)
 
void send_trade_container (Network::Client *client, Mobile::Character *whos, UContainer *cont)
 
void send_trade_statuses (Mobile::Character *chr)
 
void send_unicode_prompt (Client *client, u32 serial)
 
void send_update_hits_to_inrange (Mobile::Character *chr)
 
void send_weather (Client *client, u8 type, u8 severity, u8 aux)
 
void send_wornitem (Client *client, const Character *chr, const Item *item)
 
void send_wornitem_to_inrange (const Character *chr, const Item *item)
 
void SendAOSTooltip (Network::Client *client, UObject *obj, bool vendor_content)
 
void sendCharProfile (Character *chr, Character *of_who, const char *title, const u16 *utext, const u16 *etext)
 
void SendUnicodeSpeech (Network::Client *client, PKTIN_AD *msgin, u16 *wtext, size_t wtextlen, char *ntext, size_t ntextlen, Bscript::ObjArray *speechtokens)
 
bool server_applies (Network::Client *client, int i)
 
void set_watch_vars ()
 
void SetCharacterWorldPosition (Mobile::Character *chr, Realms::WorldChangeReason reason)
 
void SetCurrentCharSerialNumber (u32 serial)
 
void SetCurrentItemSerialNumber (u32 serial)
 
void SetItemWorldPosition (Items::Item *item)
 
void setrealm (Item *item, void *arg)
 
void setrealmif (Item *item, void *arg)
 
void SetRegionLightLevel (LightRegion *lightregion, int lightlevel)
 
void SetRegionWeatherLevel (WeatherRegion *weatherregion, unsigned type, unsigned severity, unsigned aux, int lightoverride)
 
void SetSysTrayPopupText (const char *text)
 
void setup_update_rpm (void)
 
bool should_switch_realm (size_t index, unsigned x, unsigned y, unsigned *gridx, unsigned *gridy)
 
bool should_write_data ()
 
void show_repdata (Mobile::Character *looker, Mobile::Character *mob)
 
void ShutdownSystemTrayHandling ()
 
void signal_catch_thread ()
 
void sigpipe_handler (int x)
 
void singleclick (Network::Client *client, u32 serial)
 
void skillrequest (Network::Client *client, u32 serial)
 
void slurp (const char *filename, const char *tags, int sysfind_flags=0)
 
void SpeechHandler (Network::Client *client, PKTIN_03 *mymsg)
 
void sql_service_thread_stub ()
 
void srequest (Network::Client *client, PKTIN_34 *msg)
 
void standheight (MOVEMODE movemode, StaticList &statics, unsigned short x, unsigned short y, short oldz, bool *result_out, short *newz_out)
 
void start_client_char (Network::Client *client)
 
void start_gameclock ()
 The functions below deal with reading and updating the gameclock. The state is protected by a mutex. More...
 
bool start_http_script (Clib::Socket &sck, const std::string &page, Plib::Package *pkg, const std::string &file_ecl, const std::string &query_string)
 
void start_http_server ()
 
void start_packetlog (Mobile::Character *looker, Mobile::Character *mob)
 
void start_pol_clocks ()
 
void start_polclock ()
 
void start_poltime ()
 
void start_script (const char *filename, Bscript::BObjectImp *param0, Bscript::BObjectImp *param1)
 
Module::UOExecutorModulestart_script (const ScriptDef &script, Bscript::BObjectImp *param)
 
Module::UOExecutorModulestart_script (const ScriptDef &script, Bscript::BObjectImp *param0, Bscript::BObjectImp *param1, Bscript::BObjectImp *param2, Bscript::BObjectImp *param3)
 
Module::UOExecutorModulestart_script (ref_ptr< Bscript::EScriptProgram > program, Bscript::BObjectImp *param)
 
void start_sql_service ()
 
void start_tasks ()
 
bool start_textcmd_script (Network::Client *client, const char *text, const u16 *wtext=NULL, const char *lang=NULL)
 
void start_threads ()
 
void start_uo_client_listeners (void)
 
bool StartSkillScript (Network::Client *client, const Mobile::Attribute *attrib)
 
void staticsmax ()
 
void statrequest (Network::Client *client, u32 serial)
 
void step_scripts (polclock_t *clocksleft, bool *pactivity)
 
void stop_gameclock ()
 Stops the game clock and saves the current value into "gameclock". More...
 
void stop_packetlog (Mobile::Character *looker, Mobile::Character *mob)
 
UACTION str_to_action (Clib::ConfigElem &elem, const std::string &str)
 
void subtract_amount_from_item (Item *item, unsigned short amount)
 
Items::Itemsystem_find_item (u32 serial)
 
Mobile::Charactersystem_find_mobile (u32 serial)
 
Multi::UMultisystem_find_multi (u32 serial)
 
UObjectsystem_find_object (u32 serial)
 
void SystemTrayDialogThread (void *)
 
void tasks_thread (void)
 
void tasks_thread_sleep (unsigned int millis)
 
void test_decode (const char *page, bool result_expected, Plib::Package *pkg_expected, const char *filename_expected, const char *pagetype_expected, const char *redirect_to_expected)
 
void test_decode ()
 
void textcmd_constat (Network::Client *client)
 
void textcmd_flag1 (Network::Client *client, const char *text)
 
void textcmd_flag2 (Network::Client *client, const char *text)
 
void textcmd_heapcheck (Network::Client *)
 
void textcmd_ident (Network::Client *client)
 
void textcmd_integ_chr (Network::Client *)
 
void textcmd_integ_item (Network::Client *client)
 
void textcmd_list_crit_scripts (Network::Client *)
 
void textcmd_list_scripts (Network::Client *)
 
void textcmd_listarmor (Network::Client *client)
 
void textcmd_log_profile (Network::Client *client)
 
void textcmd_log_profile_clear (Network::Client *client)
 
void textcmd_orphans (Network::Client *client)
 
void textcmd_procs (Network::Client *client)
 
void textcmd_repdata (Network::Client *client)
 
void textcmd_resendchars (Network::Client *client)
 
void textcmd_shutdown (Network::Client *)
 
void textcmd_singlezone_integ_item (Network::Client *client)
 
void textcmd_startlog (Network::Client *client)
 
void textcmd_stoplog (Network::Client *client)
 
void textcmd_threads (Network::Client *client)
 
const char * TextTypeToString (u8 texttype)
 
void threadstatus_thread (void)
 
std::string tile_desc (unsigned short tilenum)
 
unsigned int tile_flags (unsigned short tilenum)
 
unsigned int tile_uoflags (unsigned short tilenum)
 
char tileheight (unsigned short tilenum)
 
unsigned char tilelayer (unsigned short tilenum)
 
unsigned short tileweight (unsigned short tilenum)
 
std::string timeoutstr (polclock_t at)
 
bool timer_expired (polclock_t timer_until, polclock_t now)
 
int translate (const std::string &name, TRANSLATION *table)
 
void transmit_to_inrange (const UObject *center, const void *msg, unsigned msglen)
 
void transmit_to_others_inrange (Character *center, const void *msg, unsigned msglen)
 
bool UACTION_IS_VALID (unsigned short action)
 
void undo_get_item (Mobile::Character *chr, Items::Item *item)
 
void UnicodeSpeechHandler (Network::Client *client, PKTIN_AD *msgin)
 
int unload_all_scripts ()
 
void unload_data ()
 
void unload_party ()
 
void unload_party_hooks ()
 
void unload_repsys_cfg ()
 
void unload_repsys_cfg_hooks ()
 
int unload_script (const std::string &name_in)
 
int UnloadConfigFile (const std::string &filename)
 
void uo_client_listener_thread (void *arg)
 
void update_all_weatherregions ()
 
void update_gameclock ()
 Saves the current value into the global cprop "gameclock". More...
 
void update_item_to_inrange (const Item *item)
 
void update_lightregion (Client *client, LightRegion *)
 
void update_rpm (void)
 
void update_sysload ()
 
void update_weatherregion (Client *client, WeatherRegion *weatherregion)
 
void update_wornitem_to_inrange (const Character *chr, const Item *item)
 
void UpdateCharacterOnDestroyItem (Item *item)
 
CharacterUpdateCharacterWeight (Item *item)
 
u32 UseCharSerialNumber (u32 serial)
 
u32 UseItemSerialNumber (u32 serial)
 
bool VALID_LIGHTLEVEL (int lightlevel)
 
bool valid_message_length (Network::Client *client, unsigned int length)
 
bool VALID_SPELL_ID (int spellid)
 
bool validbeard (u16 BeardStyle)
 
bool validface (u16 FaceStyle)
 
bool validhair (u16 HairStyle)
 
short validhaircolor (u16)
 
void wait_for_ClientTransmit_pulse (unsigned int millis)
 
void wait_for_pulse (unsigned int millis)
 
void wake_tasks_thread ()
 
void write_characters (SaveContext &sc)
 
int write_data (unsigned int &dirty_writes, unsigned int &clean_writes, long long &elapsed_ms)
 
void write_dirty_data (Clib::StreamWriter &sw_data)
 
void write_dirty_storage (Clib::StreamWriter &sw_data)
 
void write_global_properties (Clib::StreamWriter &sw)
 
void write_guilds (Clib::StreamWriter &sw)
 
void write_index (std::ostream &ofs)
 
void write_items (Clib::StreamWriter &sw_items)
 
void write_multis (Clib::StreamWriter &ofs)
 
void write_npcs (SaveContext &sc)
 
void write_object_dirty_owners (Clib::StreamWriter &sw_data, const UObject *obj, bool &has_nonsaved_owner)
 
void write_party (Clib::StreamWriter &sw)
 
int write_pol_static_files (const std::string &realm)
 
void write_resources_dat (Clib::StreamWriter &sw_resource)
 
void write_shadow_realms (Clib::StreamWriter &sw)
 
void write_system_data (Clib::StreamWriter &sw)
 
void WriteGottenItem (Mobile::Character *chr, Items::Item *item, Clib::StreamWriter &sw)
 
void XyToZone (xcoord x, ycoord y, unsigned *zonex, unsigned *zoney)
 
void zone_convert (unsigned short x, unsigned short y, unsigned short *wx, unsigned short *wy, const Realms::Realm *realm)
 
void zone_convert_clip (int x, int y, const Realms::Realm *realm, unsigned short *wx, unsigned short *wy)
 

Variables

static Clib::SpinLock _gameclock_lock
 
std::array< int, 7 > adjustments = {{0, +1, -1, +2, -2, +3, -3}}
 
UFACING away_cvt [8]
 
int cfg_max_statics_per_block = 1000
 
bool cfg_show_illegal_graphic_warning = 1
 
bool cfg_show_roof_and_platform_warning = 1
 
bool cfg_use_new_hsa_format = 0
 
int cfg_warning_statics_per_block = 1000
 
const u8 CHAR_FLAG1_CANALTER = 0x02
 
const u8 CHAR_FLAG1_FLYING = 0x04
 
const u8 CHAR_FLAG1_GENDER = 0x02
 
const u8 CHAR_FLAG1_INVISIBLE = 0x80
 
const u8 CHAR_FLAG1_NORMAL = 0x00
 
const u8 CHAR_FLAG1_POISONED = 0x04
 
const u8 CHAR_FLAG1_WARMODE = 0x40
 
const u8 CHAR_FLAG1_YELLOWHEALTH = 0x08
 
const u32 CHARACTERSERIAL_END = 0x3FFFFFFFLu
 
const u32 CHARACTERSERIAL_START = 0x00000001Lu
 
pthread_cond_t clienttransmit_pulse_cond = PTHREAD_COND_INITIALIZER
 
pthread_mutex_t clienttransmit_pulse_mut = PTHREAD_MUTEX_INITIALIZER
 
const int CLP_Add_Living = 1005442
 
const int CLP_Add_No_Leader
 
const int CLP_Add_Yourself = 1005439
 
const int CLP_Added = 1005445
 
const int CLP_Allow_Loot = 1005447
 
const int CLP_Already_in_a_Party = 1005441
 
const int CLP_Already_Your_Party = 1005440
 
const int CLP_Cannot_Remove_Self
 
const int CLP_Decline = 1008092
 
const int CLP_Disbanded = 1005449
 
const int CLP_Ignore_Offer = 1005444
 
const int CLP_Invite = 1008089
 
const int CLP_Invited = 1008090
 
const int CLP_Joined = 1008094
 
const int CLP_Last_Person = 1005450
 
const int CLP_Max_Size = 1008095
 
const int CLP_No_Invite = 3000222
 
const int CLP_No_Party = 3000211
 
const int CLP_Notify_Decline = 1008091
 
const int CLP_Player_Rejoined = 1008087
 
const int CLP_Player_Removed = 1005452
 
const int CLP_Prevent_Loot
 
const int CLP_Rejoined = 1005437
 
const int CLP_Removed = 1005451
 
const int CLP_Too_Late_Decline
 
const int CLP_Who_To_Add = 1005454
 
const int CLP_Who_to_Remove = 1005455
 
ConfigurationBuffer configurationbuffer
 
BApplicObjType debugcontextobjimp_type
 
const unsigned short DEFAULT_TEXT_COLOR = 0x3B2
 
const unsigned short DEFAULT_TEXT_FONT = 3
 
const unsigned short DEFAULT_TEXT_REQUIREDCMD = 0
 
const int DELETE_BY_PLAYER = 0x00
 
const int DELETE_BY_SCRIPT = 0x01
 
int dupe_count
 
const int ENUMERATE_IGNORE_LOCKED = 0x01
 
const int ENUMERATE_ROOT_ONLY = 0x02
 
const int FINDSUBSTANCE_FIND_ALL = 0x04
 
const int FINDSUBSTANCE_IGNORE_LOCKED = 0x01
 
const int FINDSUBSTANCE_ROOT_ONLY = 0x02
 
const int FP_IGNORE_DOORS = 0x02
 
const int FP_IGNORE_MOBILES = 0x01
 
boost_utils::flyweight_initializers fw_inits
 
static gameclock_t gameclock
 
GameState gamestate
 
pthread_attr_t http_attr
 
HWND hwnd
 
USTRUCT_IDX idxrec
 
int import_count
 
const int INSERT_ADD_ITEM = 0x01
 
const int INSERT_INCREASE_STACK = 0x02
 
const int ITEMS_IGNORE_MULTIS = 0x02
 
const int ITEMS_IGNORE_STATICS = 0x01
 
const u32 ITEMSERIAL_END = 0x7FffFFffLu
 
const u32 ITEMSERIAL_START = 0x40000000Lu
 
const int JOURNAL_PRINT_NAME = 0x00
 
const int JOURNAL_PRINT_YOU_SEE = 0x01
 
SVR_KEYDESC keydesc [257]
 
const unsigned LANDTILE_COUNT = 0x4000
 
unsigned int landtile_flags_arr [N_LANDTILEDATA]
 
unsigned int last_block = ~0u
 
size_t last_blocks_free = 0
 
size_t last_blocks_used = 0
 
size_t last_bytes_free = 0
 
size_t last_bytes_used = 0
 
static time_t last_read
 
const int LIST_IGNORE_Z = 0x40000000L
 
const int LISTENPT_HEAR_GHOSTS = 0x01
 
const int LISTENPT_HEAR_TOKENS = 0x02
 
const int LISTENPT_NO_SPEECH = 0x04
 
size_t locker
 
const int LOG_DATETIME = 0x01
 
pthread_t main_pthread
 
FILE * mapdif_file
 
MapBlockIndex mapdifl
 
FILE * mapdifl_file
 
FILE * mapfile
 
const unsigned MAX_LIGHTLEVEL = 30
 
const unsigned MIN_LIGHTLEVEL = 0
 
MoveDelta move_delta [8]
 
const int MOVEITEM_FORCELOCATION = 0x40000000L
 
const int MOVEITEM_IGNOREMOVABLE = 0x20000000L
 
const unsigned N_LANDTILEDATA = 0x4000
 
NOTIFYICONDATA ndata
 
NetworkManager networkManager
 
ObjectStorageManager objStorageManager
 
static ContStack parent_conts
 
const unsigned POLCLASS_ARMOR = 15
 
const unsigned POLCLASS_BOAT = 12
 
const unsigned POLCLASS_CONTAINER = 6
 
const unsigned POLCLASS_CORPSE = 7
 
const unsigned POLCLASS_DOOR = 8
 
const unsigned POLCLASS_EQUIPMENT = 14
 
const unsigned POLCLASS_HOUSE = 13
 
const unsigned POLCLASS_ITEM = 2
 
const unsigned POLCLASS_LOCKABLE = 5
 
const unsigned POLCLASS_MAP = 10
 
const unsigned POLCLASS_MOBILE = 3
 
const unsigned POLCLASS_MULTI = 11
 
const unsigned POLCLASS_NPC = 4
 
const unsigned POLCLASS_OBJECT = 1
 
const unsigned POLCLASS_SPELLBOOK = 9
 
const unsigned POLCLASS_WEAPON = 16
 
const unsigned POLCLOCK_DIV = ( CLOCKS_PER_SEC / POLCLOCKS_PER_SEC )
 
const polclock_t POLCLOCKS_PER_SEC = 100
 
const char * poldbg_base_members []
 
const char * poldbg_itemref_members []
 
const char * poldbg_mobileref_members []
 
pthread_mutex_t polsem
 
pthread_mutexattr_t polsem_attr
 
pthread_mutex_t polsemdbg_mut = PTHREAD_MUTEX_INITIALIZER
 
pthread_cond_t pulse_cond = PTHREAD_COND_INITIALIZER
 
pthread_mutex_t pulse_mut = PTHREAD_MUTEX_INITIALIZER
 
static std::vector< USTRUCT_MAPINFO_BLOCKrawmap_buffer_vec
 
static bool rawmap_init = false
 
static std::vector< USTRUCT_STATIC_BUFFERrawstatic_buffer_vec
 
static bool rawstatic_init = false
 
const int RESURRECT_FORCELOCATION = 0x01
 
const int SAVE_FULL = 0x00
 
const int SAVE_INCREMENTAL = 0x01
 
BApplicObjType scriptexobjimp_type
 
ScriptScheduler scriptScheduler
 
const int SENDDIALOGMENU_FORCE_OLD = 0x01
 
SettingsManager settingsManager
 
FILE * sidxfile
 
int srec_count
 
USTRUCT_STATIC srecs [MAX_STATICS_PER_BLOCK]
 
FILE * stadif_file
 
FILE * stadifi_file
 
StaticDifBlockIndex stadifl
 
FILE * stadifl_file
 
const unsigned STAIDX_CHUNK = 8
 
StateManager stateManager
 
FILE * statfile
 
bool static_debug_on = false
 
const unsigned SYSFIND_SEARCH_OFFLINE_MOBILES = 1
 
const unsigned SYSFIND_SKIP_WORLD = 4
 
pthread_cond_t task_pulse_cond = PTHREAD_COND_INITIALIZER
 
pthread_mutex_t task_pulse_mut = PTHREAD_MUTEX_INITIALIZER
 
pthread_attr_t thread_attr
 
bool thread_started
 
pthread_mutex_t threadstart_mut = PTHREAD_MUTEX_INITIALIZER
 
pthread_cond_t threadstart_pulse_cond = PTHREAD_COND_INITIALIZER
 
pthread_mutex_t threadstart_pulse_mut = PTHREAD_MUTEX_INITIALIZER
 
TileDatatiledata
 
FILE * tilefile
 
u8 tmp_flag1
 
u8 tmp_flag2
 
std::set< UObject * > unreaped_orphan_instances
 
unsigned short uo_map_height = 4096
 
unsigned short uo_map_width = 6144
 
int uo_mapid = 0
 
int uo_usedif = 0
 
const unsigned VALID_ITEM_COLOR_MASK = 0x0FFF
 
const int VENDOR_BUYABLE_CONTAINER_FILTER = 0x02
 
const int VENDOR_SEND_AOS_TOOLTIP = 0x01
 
FILE * verfile
 
VerdataIndexes vidx [32]
 
const unsigned int vidx_count = 32
 
const unsigned int VITAL_HIGHEST_MAX_HUNDREDTHS = 10000000L
 
const int VITAL_HIGHEST_REGENRATE = 30000
 
const unsigned int VITAL_LOWEST_MAX_HUNDREDTHS = 100L
 
const int VITAL_LOWEST_REGENRATE = -30000
 
const unsigned int VITAL_MAX_HUNDREDTHS = 10000000L
 
const unsigned VITAL_MAX_VALUE = 100000L
 
std::set< unsigned int > water
 
unsigned WM_TASKBARCREATED
 
TRANSLATION xlate_align []
 
const short ZCOORD_MAX = +127
 
const short ZCOORD_MIN = -128
 
const unsigned ZONE_SHIFT = 2
 
const unsigned ZONE_SIZE = 4
 

Typedef Documentation

Definition at line 45 of file reftypes.h.

typedef std::vector<AccountRef> Pol::Core::AccountsVector

Definition at line 82 of file uvars.h.

typedef std::vector<ArmorZone> Pol::Core::ArmorZones

Definition at line 103 of file uvars.h.

Definition at line 101 of file uvars.h.

Definition at line 110 of file uvars.h.

typedef std::map<std::string, ConfigFileRef> Pol::Core::CfgFiles

Definition at line 32 of file ucfg.h.

Definition at line 42 of file reftypes.h.

typedef std::vector<Network::Client*> Pol::Core::Clients

Definition at line 42 of file network.h.

typedef std::vector<Core::CmdLevel> Pol::Core::CmdLevels

Definition at line 78 of file uvars.h.

Definition at line 102 of file cfgrepos.h.

typedef std::stack<UContainer*> Pol::Core::ContStack

Definition at line 223 of file uimport.cpp.

Definition at line 35 of file ucfg.h.

typedef std::multimap<pol_serial_t, UObject*> Pol::Core::DeferList

Definition at line 22 of file object_storage.h.

typedef std::deque<UOExecutor*> Pol::Core::ExecList

Definition at line 19 of file script_internals.h.

typedef unsigned int Pol::Core::gameclock_t

Definition at line 14 of file gameclck.h.

Definition at line 98 of file uvars.h.

typedef std::map<unsigned int, GuildRef> Pol::Core::Guilds

Definition at line 99 of file uvars.h.

Definition at line 23 of file script_internals.h.

Definition at line 109 of file uvars.h.

Definition at line 172 of file uworld.h.

Definition at line 43 of file reftypes.h.

Definition at line 88 of file uvars.h.

Definition at line 90 of file uvars.h.

Definition at line 111 of file uvars.h.

typedef std::map<unsigned int, unsigned int> Pol::Core::MapBlockIndex

Definition at line 37 of file uofile08.cpp.

Definition at line 168 of file uworld.h.

Definition at line 173 of file uworld.h.

Definition at line 91 of file uvars.h.

typedef std::pair<std::string , u8 > Pol::Core::NameAndLayer

Definition at line 108 of file uvars.h.

Definition at line 89 of file uvars.h.

Definition at line 22 of file script_internals.h.

Definition at line 171 of file uworld.h.

Definition at line 44 of file reftypes.h.

typedef std::map<std::string, NpcTemplate*> Pol::Core::NpcTemplates

Definition at line 94 of file uvars.h.

Definition at line 93 of file uvars.h.

typedef std::map<std::string, u32, Clib::ci_cmp_pred> Pol::Core::ObjtypeByNameMap

Definition at line 106 of file uvars.h.

typedef std::vector<std::string> Pol::Core::OldCfgFiles

Definition at line 33 of file ucfg.h.

typedef std::map<unsigned int, unsigned int> Pol::Core::OldObjtypeConversions

Definition at line 105 of file uvars.h.

typedef void( * Pol::Core::ParamTextCmdFunc) (Network::Client *, const char *)

Definition at line 117 of file uvars.h.

typedef std::map<std::string, ParamTextCmdFunc, wordicmp> Pol::Core::ParamTextCmds

Definition at line 118 of file uvars.h.

typedef std::vector<PartyRef> Pol::Core::Parties

Definition at line 97 of file uvars.h.

Definition at line 96 of file uvars.h.

typedef std::map<unsigned int, UOExecutor*> Pol::Core::PidList

Definition at line 25 of file script_internals.h.

Definition at line 169 of file uworld.h.

Definition at line 24 of file poltype.h.

Definition at line 23 of file poltype.h.

Definition at line 27 of file polclock.cpp.

typedef int Pol::Core::polclock_t

Definition at line 25 of file polclock.h.

typedef int Pol::Core::polticks_t

Definition at line 26 of file polclock.h.

typedef std::set<std::string> Pol::Core::PropSet

Definition at line 113 of file uvars.h.

typedef std::vector<std::string> Pol::Core::QueryParam

Definition at line 111 of file sqlscrobj.h.

typedef std::shared_ptr<QueryParam> Pol::Core::QueryParams

Definition at line 114 of file sqlscrobj.h.

typedef unsigned short Pol::Core::RegionId

Definition at line 21 of file zone.h.

typedef std::shared_ptr<ResultWrapper> Pol::Core::RES_WRAPPER

Definition at line 49 of file sqlscrobj.h.

typedef std::map<std::string, ResourceDef*> Pol::Core::ResourceDefs

Definition at line 107 of file uvars.h.

Definition at line 24 of file exscrobj.h.

Definition at line 24 of file script_internals.h.

typedef std::unordered_map<pol_serial_t, unsigned> Pol::Core::SerialIndexMap

Definition at line 21 of file object_storage.h.

typedef std::vector<ServerDescription*> Pol::Core::Servers

Definition at line 45 of file network.h.

Definition at line 87 of file uvars.h.

typedef std::map<unsigned int, unsigned int> Pol::Core::StaticDifBlockIndex

Definition at line 48 of file uofile02.cpp.

typedef std::vector<StaticRec> Pol::Core::StaticList

Definition at line 38 of file udatfile.h.

typedef std::priority_queue<ScheduledTask*, std::vector<ScheduledTask*>, SchComparer> Pol::Core::TaskQueue

Definition at line 112 of file uvars.h.

typedef void( * Pol::Core::TextCmdFunc) (Network::Client *)

Definition at line 115 of file uvars.h.

typedef std::map<std::string, TextCmdFunc, Clib::ci_cmp_pred> Pol::Core::TextCmds

Definition at line 116 of file uvars.h.

typedef HoldList::iterator Pol::Core::TimeoutHandle

Definition at line 26 of file script_internals.h.

Definition at line 37 of file reftypes.h.

typedef std::map<std::string, Vital*, Clib::ci_cmp_pred> Pol::Core::VitalsByName

Definition at line 104 of file uvars.h.

typedef unsigned short Pol::Core::xcoord

Definition at line 19 of file poltype.h.

typedef unsigned short Pol::Core::ycoord

Definition at line 20 of file poltype.h.

typedef short Pol::Core::zcoord

Definition at line 21 of file poltype.h.

Definition at line 72 of file uworld.h.

typedef std::vector<Items::Item*> Pol::Core::ZoneItems

Definition at line 74 of file uworld.h.

typedef std::vector<Multi::UMulti*> Pol::Core::ZoneMultis

Definition at line 73 of file uworld.h.

Enumeration Type Documentation

Enumerator
BACKWARD 
FORWARD 

Definition at line 73 of file action.h.

Enumerator
PROP_AR_MOD 
PROP_MAX_ITEMS_MOD 
PROP_MAX_SLOTS_MOD 
PROP_MAX_WEIGHT_MOD 
PROP_SELLPRICE 
PROP_BUYPRICE 
PROP_MAXHP_MOD 
PROP_NAME_SUFFIX 
PROP_RESIST_FIRE 
PROP_RESIST_COLD 
PROP_RESIST_ENERGY 
PROP_RESIST_POISON 
PROP_RESIST_PHYSICAL 
PROP_DAMAGE_FIRE 
PROP_DAMAGE_COLD 
PROP_DAMAGE_ENERGY 
PROP_DAMAGE_POISON 
PROP_DAMAGE_PHYSICAL 
PROP_DMG_MOD 
PROP_SPEED_MOD 
PROP_ORIG_RESIST_FIRE 
PROP_ORIG_RESIST_COLD 
PROP_ORIG_RESIST_ENERGY 
PROP_ORIG_RESIST_POISON 
PROP_ORIG_RESIST_PHYSICAL 
PROP_ORIG_DAMAGE_FIRE 
PROP_ORIG_DAMAGE_COLD 
PROP_ORIG_DAMAGE_ENERGY 
PROP_ORIG_DAMAGE_POISON 
PROP_ORIG_DAMAGE_PHYSICAL 
PROP_STATCAP_SKILLCAP 
PROP_EXT_STATBAR_LUCK 
PROP_EXT_STATBAR_FOLLOWERS 
PROP_EXT_STATBAR_TITHING 
PROP_MOVEMENTCOST_MOD 
PROP_QUALITY 
PROP_DOUBLECLICK_WAIT 
PROP_DISABLE_SKILLS_UNTIL 
PROP_SQUELCHED_UNTIL 
PROP_DEAFENED_UNTIL 
PROP_LIGHTOVERRIDE_UNTIL 
PROP_LIGHTOVERRIDE 
PROP_TITLE_PREFIX 
PROP_TITLE_SUFFIX 
PROP_TITLE_GUILD 
PROP_TITLE_RACE 
PROP_SPEECH_COLOR 
PROP_SPEECH_FONT 
PROP_CARRY_CAPACITY_MOD 
PROP_DELAY_MOD 
PROP_HITCHANCE_MOD 
PROP_EVASIONCHANCE_MOD 
PROP_PARTY 
PROP_PARTY_CANDIDATE 
PROP_PARTY_OFFLINE 
PROP_GUILD 
PROP_GOTTEN_BY 
PROP_GOTTEN_ITEM 
PROP_PROCESS 
PROP_HOUSE 
PROP_FLAG_SIZE 

Definition at line 86 of file dynproperties.h.

Enumerator
ELEMENTAL_TYPE_MAX 
ELEMENTAL_FIRE 
ELEMENTAL_COLD 
ELEMENTAL_ENERGY 
ELEMENTAL_POISON 
ELEMENTAL_PHYSICAL 

Definition at line 81 of file uobject.h.

Enumerator
EVID_SPOKE 
EVID_ENGAGED 
EVID_DISENGAGED 
EVID_DAMAGED 
EVID_ENTEREDAREA 
EVID_LEFTAREA 
EVID_OPPONENT_MOVED 
EVID_HOSTILE_MOVED 
EVID_MERCHANT_BOUGHT 
EVID_MERCHANT_SOLD 
EVID_ITEM_GIVEN 
EVID_DOUBLECLICKED 
EVID_GHOST_SPEECH 
EVID_GONE_CRIMINAL 
EVID_TOKEN_SPOKE 
EVID_TOKEN_GHOST_SPOKE 

Definition at line 13 of file eventid.h.

enum Pol::Core::FilterType
strong
Enumerator
Mobile 
Player 
OnlinePlayer 
NPC 
Item 
Multi 

Definition at line 145 of file uworld.h.

Enumerator
LAYER_HAND1 
LAYER_HAND2 
LAYER_SHOES 
LAYER_PANTS 
LAYER_SHIRT 
LAYER_HAT 
LAYER_GLOVES 
LAYER_RING 
LAYER_TALISMAN 
LAYER_GORGET 
LAYER_HAIR 
LAYER_HALFAPRON 
LAYER_CHEST_ARMOR 
LAYER_BRACELET 
LAYER_FACE 
LAYER_BEARD 
LAYER_TUNIC 
LAYER_EARRINGS 
LAYER_ARM_ARMOR 
LAYER_CLOAK 
LAYER_BACKPACK 
LAYER_ROBE_DRESS 
LAYER_SKIRT 
LAYER_LEG_ARMOR 
LAYER_MOUNT 

Definition at line 37 of file layers.h.

Enumerator
LOWEST_LAYER 
LAYER_EQUIP__LOWEST 
HIGHEST_LAYER 
NUM_LAYERS 
LAYER_EQUIP__HIGHEST 
LAYER_BANKBOX 

Definition at line 26 of file layers.h.

Enumerator
MOVEMODE_NONE 
MOVEMODE_LAND 
MOVEMODE_SEA 
MOVEMODE_AIR 
MOVEMODE_FLY 

Definition at line 79 of file uconst.h.

enum Pol::Core::OBJ_FLAGS : u16
strong
Enumerator
DIRTY 
SAVE_ON_EXIT 
NEWBIE 
INSURED 
MOVABLE 
IN_USE 
INVISIBLE 
LOCKED 
CONTENT_TO_GRAVE 
NO_DROP 
NO_DROP_EXCEPTION 

Definition at line 130 of file uobject.h.

enum Pol::Core::PKTBOTHID : unsigned char
Enumerator
PKTBI_22_APPROVED_ID 
PKTBI_22_SYNC_ID 
PKTBI_2C_ID 
PKTBI_3A_ID 
PKTBI_3A_VALUES_ID 
PKTBI_3A_LOCKS_ID 
PKTBI_3A_CAPS_ID 
PKTBI_3B_ID 
PKTBI_56_ID 
PKTBI_66_ID 
PKTBI_6C_ID 
PKTBI_6F_ID 
PKTBI_71_ID 
PKTBI_72_ID 
PKTBI_73_ID 
PKTBI_93_ID 
PKTBI_95_ID 
PKTBI_98_IN_ID 
PKTBI_98_OUT_ID 
PKTBI_99_ID 
PKTBI_9A_ID 
PKTBI_B8_IN_ID 
PKTBI_B8_OUT_ID 
PKTBI_BB_ID 
PKTBI_BD_ID 
PKTBI_BF_ID 
PKTBI_C2_ID 
PKTBI_C8_ID 
PKTBI_D1_ID 
PKTBI_D6_OUT_ID 
PKTBI_D6_IN_ID 
PKTBI_D7_ID 

Definition at line 16 of file pktbothid.h.

Enumerator
PKTIN_00_ID 
PKTIN_01_ID 
PKTIN_02_ID 
PKTIN_03_ID 
PKTIN_04_ID 
PKTIN_05_ID 
PKTIN_06_ID 
PKTIN_07_ID 
PKTIN_08_V1_ID 
PKTIN_08_V2_ID 
PKTIN_09_ID 
PKTIN_12_ID 
PKTIN_13_ID 
PKTIN_1E_ID 
PKTIN_34_ID 
PKTIN_5D_ID 
PKTIN_75_ID 
PKTIN_7D_ID 
PKTIN_80_ID 
PKTIN_83_ID 
PKTIN_8D_ID 
PKTIN_91_ID 
PKTIN_9B_ID 
PKTIN_9F_ID 
PKTIN_A0_ID 
PKTIN_A4_ID 
PKTIN_A7_ID 
PKTIN_AC_ID 
PKTIN_AD_ID 
PKTIN_B1_ID 
PKTIN_B5_ID 
PKTIN_B6_ID 
PKTIN_D9_ID 
PKTIN_E1_ID 
PKTIN_E4_ID 
PKTIN_EF_ID 
PKTIN_F8_ID 

Definition at line 17 of file pktinid.h.

enum Pol::Core::PKTOUTID : unsigned char
Enumerator
PKTOUT_0B_ID 
PKTOUT_11_ID 
PKTOUT_17_ID 
PKTOUT_1A_ID 
PKTOUT_1B_ID 
PKTOUT_1C_ID 
PKTOUT_1D_ID 
PKTOUT_1F_ID 
PKTOUT_20_ID 
PKTOUT_21_ID 
PKTOUT_23_ID 
PKTOUT_24_ID 
PKTOUT_25_ID 
PKTOUT_26_ID 
PKTOUT_27_ID 
PKTOUT_28_ID 
PKTOUT_29_ID 
PKTOUT_2A_ID 
PKTOUT_2B_ID 
PKTOUT_2D_ID 
PKTOUT_2E_ID 
PKTOUT_2F_ID 
PKTOUT_30_ID 
PKTOUT_31_ID 
PKTOUT_32_ID 
PKTOUT_33_ID 
PKTOUT_36_ID 
PKTOUT_3C_ID 
PKTOUT_3E_ID 
PKTOUT_3F_ID 
PKTOUT_41_ID 
PKTOUT_42_ID 
PKTOUT_43_ID 
PKTOUT_44_ID 
PKTOUT_4E_ID 
PKTOUT_4F_ID 
PKTOUT_53_ID 
PKTOUT_54_ID 
PKTOUT_55_ID 
PKTOUT_5B_ID 
PKTOUT_65_ID 
PKTOUT_6D_ID 
PKTOUT_6E_ID 
PKTOUT_70_ID 
PKTOUT_74_ID 
PKTOUT_76_ID 
PKTOUT_77_ID 
PKTOUT_78_ID 
PKTOUT_7C_ID 
PKTOUT_82_ID 
PKTOUT_86_ID 
PKTOUT_88_ID 
PKTOUT_89_ID 
PKTOUT_8C_ID 
PKTOUT_90_ID 
PKTOUT_97_ID 
PKTOUT_9C_ID 
PKTOUT_9E_ID 
PKTOUT_A1_ID 
PKTOUT_A2_ID 
PKTOUT_A3_ID 
PKTOUT_A5_ID 
PKTOUT_A6_ID 
PKTOUT_A8_ID 
PKTOUT_A9_ID 
PKTOUT_AA_ID 
PKTOUT_AB_ID 
PKTOUT_AE_ID 
PKTOUT_AF_ID 
PKTOUT_B0_ID 
PKTOUT_B7_ID 
PKTOUT_B9_ID 
PKTOUT_B9_V2_ID 
PKTOUT_BA_ID 
PKTOUT_BC_ID 
PKTOUT_C0_ID 
PKTOUT_C1_ID 
PKTOUT_C4_ID 
PKTOUT_C7_ID 
PKTOUT_CC_ID 
PKTOUT_D8_ID 
PKTOUT_DC_ID 
PKTOUT_DD_ID 
PKTOUT_DF_ID 
PKTOUT_E2_ID 
PKTOUT_E3_ID 
PKTOUT_F3_ID 
PKTOUT_F5_ID 
PKTOUT_F6_ID 
PKTOUT_F7_ID 

Definition at line 21 of file pktoutid.h.

Enumerator
ToolTipPriorityNone 
ToolTipPrioritySystem 
ToolTipPriorityScript 
ToolTipPriorityShutdown 

Definition at line 39 of file core.h.

Enumerator
REPEAT 
NOREPEAT 

Definition at line 78 of file action.h.

Enumerator
ACTION__LOWEST 
ACTION_WALK_UNARMED 
ACTION_WALK_ARMED 
ACTION_RUN1 
ACTION_RUN2 
ACTION_LOOK_AROUND 
ACTION_LOOK_DOWN 
ACTION_WARMODE1 
ACTION_WARMODE2 
ACTION_HUMAN_ATTACK 
ACTION_HUMAN_ATACK_THRUST 
ACTION_HUMAN_ATTACK_BIGSWING 
ACTION_ATTACK4 
ACTION_ATTACK5 
ACTION_ATTACK6 
ACTION_READY2 
ACTION_CAST_SPELL1 
ACTION_CAST_SPELL2 
ACTION_HUMAN_SHOOT_BOW 
ACTION_SHOOT_CROSSBOW 
ACTION_GOT_HIT 
ACTION_STRUCK_DOWN_BACKWARD 
ACTION_STRUCK_DOWN_FORWARD 
ACTION_RIDINGHORSE1 
ACTION_RIDINGHORSE2 
ACTION_RIDINGHORSE3 
ACTION_RIDINGHORSE4 
ACTION_RIDINGHORSE5 
ACTION_RIDINGHORSE6 
ACTION_RIDINGHORSE7 
ACTION_DODGE1 
ACTION_UNKNOWN1 
ACTION_BOW 
ACTION_SALUTE 
ACTION_EAT 
ACTION__HIGHEST 

Definition at line 24 of file action.h.

Enumerator
FACING_N 
FACING_NE 
FACING_E 
FACING_SE 
FACING_S 
FACING_SW 
FACING_W 
FACING_NW 

Definition at line 40 of file uconst.h.

Enumerator
GENDER_MALE 
GENDER_FEMALE 

Definition at line 20 of file uconst.h.

enum Pol::Core::UOBJ_CLASS : u8
strong

This is meant to be coarse-grained. It's meant as an alternative to dynamic_cast.

Mostly used to go from UItem to UContainer.

Warning
When adding a class, be sure to to also update class_to_type static method
Enumerator
CLASS_ITEM 
CLASS_CONTAINER 
CLASS_CHARACTER 
CLASS_NPC 
CLASS_WEAPON 
CLASS_ARMOR 
CLASS_MULTI 
INVALID 

Definition at line 21 of file baseobject.h.

Enumerator
RACE_HUMAN 
RACE_ELF 
RACE_GARGOYLE 

Definition at line 26 of file uconst.h.

Enumerator
SKILLID__LOWEST 
SKILLID__CLIENT_LOWEST 
SKILLID_ALCHEMY 
SKILLID_ANATOMY 
SKILLID_ANIMALLORE 
SKILLID_ITEMID 
SKILLID_ARMSLORE 
SKILLID_BATTLE_DEFENSE 
SKILLID_BEGGING 
SKILLID_BLACKSMITHY 
SKILLID_BOWCRAFT 
SKILLID_PEACEMAKING 
SKILLID_CAMPING 
SKILLID_CARPENTRY 
SKILLID_CARTOGRAPHY 
SKILLID_COOKING 
SKILLID_DETECTINGHIDDEN 
SKILLID_ENTICEMENT 
SKILLID_EVALUATINGINTEL 
SKILLID_HEALING 
SKILLID_FISHING 
SKILLID_FORENSICS 
SKILLID_HERDING 
SKILLID_HIDING 
SKILLID_PROVOCATION 
SKILLID_INSCRIPTION 
SKILLID_LOCKPICKING 
SKILLID_MAGERY 
SKILLID_MAGICRESISTANCE 
SKILLID_TACTICS 
SKILLID_SNOOPING 
SKILLID_MUSICIANSHIP 
SKILLID_POISONING 
SKILLID_ARCHERY 
SKILLID_SPIRITSPEAK 
SKILLID_STEALING 
SKILLID_TAILORING 
SKILLID_TAMING 
SKILLID_TASTEID 
SKILLID_TINKERING 
SKILLID_TRACKING 
SKILLID_VETERINARY 
SKILLID_SWORDSMANSHIP 
SKILLID_MACEFIGHTING 
SKILLID_FENCING 
SKILLID_WRESTLING 
SKILLID_LUMBERJACKING 
SKILLID_MINING 
SKILLID_MEDITATION 
SKILLID_STEALTH 
SKILLID_REMOVE_TRAP 
SKILLID_NECROMANCY 
SKILLID_BATTLE_FOCUS 
SKILLID_CHIVALRY 
SKILLID_BUSHIDO 
SKILLID_NINJITSU 
SKILLID_SPELLWEAVING 
SKILLID_MYSTICISM 
SKILLID_IMBUING 
SKILLID_THROWING 
SKILLID__CLIENT_HIGHEST 
SKILLID__HIGHEST 
SKILLID__COUNT 

Definition at line 15 of file skillid.h.

Enumerator
TEXTTYPE_NORMAL 
TEXTTYPE_SYS_BROADCAST 
TEXTTYPE_EMOTE 
TEXTTYPE_YOU_SEE 
TEXTTYPE_WHISPER 
TEXTTYPE_YELL 

Definition at line 53 of file uconst.h.

Function Documentation

bool Pol::Core::acct_check ( Network::Client client,
int  i 
)

Definition at line 76 of file login.cpp.

References Pol::Network::Client::acct, Pol::Accounts::Account::name(), networkManager, and Pol::Core::NetworkManager::servers.

Referenced by server_applies().

+ Here is the call graph for this function:

void Pol::Core::add_common_exmods ( Core::UOExecutor ex)
static void Pol::Core::add_task ( ScheduledTask task)
static

Definition at line 37 of file schedule.cpp.

References gamestate, Pol::Core::TaskScheduler::mark_dirty(), and Pol::Core::GameState::task_queue.

Referenced by Pol::Core::OneShotTask::OneShotTask(), and Pol::Core::PeriodicTask::start().

+ Here is the call graph for this function:

unsigned int Pol::Core::base_to_raw ( unsigned short  base)

Definition at line 72 of file skilladv.cpp.

References raw_to_base().

Referenced by Pol::Module::AttributeExecutorModule::mf_BaseSkillToRaw(), and Pol::Testing::skilladv_test().

+ Here is the call graph for this function:

void Pol::Core::broadcast ( const char *  text,
unsigned short  font,
unsigned short  color,
unsigned short  requiredCmdLevel 
)

Definition at line 1271 of file ufunc.cpp.

References Pol::Core::NetworkManager::clients, networkManager, and send_sysmessage().

Referenced by Pol::Module::UOExecutorModule::broadcast(), and Pol::Module::UnicodeExecutorModule::mf_BroadcastUC().

+ Here is the call graph for this function:

void Pol::Core::broadcast ( const u16 wtext,
const char  lang[4],
unsigned short  font,
unsigned short  color,
unsigned short  requiredCmdLevel 
)

Definition at line 1282 of file ufunc.cpp.

References Pol::Core::NetworkManager::clients, networkManager, and send_sysmessage().

+ Here is the call graph for this function:

void Pol::Core::build_sysmessage_cl ( PktOut_C1 msg,
unsigned int  cliloc_num,
const u16 arguments,
unsigned short  font,
unsigned short  color 
)
void Pol::Core::build_sysmessage_cl_affix ( PktOut_CC msg,
unsigned int  cliloc_num,
const char *  affix,
bool  prepend,
const u16 arguments,
unsigned short  font,
unsigned short  color 
)
void Pol::Core::calc_abs_timeout ( struct timespec *  ptimeout,
unsigned int  millis 
)

Definition at line 199 of file polsem.cpp.

Referenced by tasks_thread_sleep(), wait_for_ClientTransmit_pulse(), and wait_for_pulse().

polclock_t Pol::Core::calc_scheduler_clocksleft ( polclock_t  now)
polclock_t Pol::Core::calc_script_clocksleft ( polclock_t  now)
void Pol::Core::call_chr_scripts ( Mobile::Character chr,
const std::string &  root_script_ecl,
const std::string &  pkg_script_ecl,
bool  offline = false 
)
void Pol::Core::call_ondelete_scripts ( Mobile::Character chr)

Definition at line 400 of file pol.cpp.

References call_chr_scripts().

Referenced by Pol::Accounts::AccountObjImp::call_method_id(), and handle_delete_character().

+ Here is the call graph for this function:

bool Pol::Core::call_script ( const ScriptDef script,
Bscript::BObjectImp param0,
Bscript::BObjectImp param1 
)

Definition at line 572 of file scrsched.cpp.

References Pol::Bscript::BObject::isTrue(), and run_script_to_completion().

+ Here is the call graph for this function:

bool Pol::Core::call_script ( const ScriptDef script,
Bscript::BObjectImp param0,
Bscript::BObjectImp param1,
Bscript::BObjectImp param2 
)

Definition at line 585 of file scrsched.cpp.

References Pol::Bscript::BObject::isTrue(), and run_script_to_completion().

+ Here is the call graph for this function:

bool Pol::Core::call_script ( const ScriptDef script,
Bscript::BObjectImp param0,
Bscript::BObjectImp param1,
Bscript::BObjectImp param2,
Bscript::BObjectImp param3 
)

Definition at line 598 of file scrsched.cpp.

References Pol::Bscript::BObject::isTrue(), and run_script_to_completion().

+ Here is the call graph for this function:

bool Pol::Core::call_script ( const ScriptDef script,
Bscript::BObjectImp param0,
Bscript::BObjectImp param1,
Bscript::BObjectImp param2,
Bscript::BObjectImp param3,
Bscript::BObjectImp param4 
)

Definition at line 611 of file scrsched.cpp.

References Pol::Bscript::BObject::isTrue(), and run_script_to_completion().

+ Here is the call graph for this function:

bool Pol::Core::call_script ( const ScriptDef script,
Bscript::BObjectImp param0,
Bscript::BObjectImp param1,
Bscript::BObjectImp param2,
Bscript::BObjectImp param3,
Bscript::BObjectImp param4,
Bscript::BObjectImp param5 
)

Definition at line 626 of file scrsched.cpp.

References Pol::Bscript::BObject::isTrue(), and run_script_to_completion().

+ Here is the call graph for this function:

bool Pol::Core::call_script ( const ScriptDef script,
Bscript::BObjectImp param0,
Bscript::BObjectImp param1,
Bscript::BObjectImp param2,
Bscript::BObjectImp param3,
Bscript::BObjectImp param4,
Bscript::BObjectImp param5,
Bscript::BObjectImp param6 
)

Definition at line 641 of file scrsched.cpp.

References Pol::Bscript::BObject::isTrue(), and run_script_to_completion().

+ Here is the call graph for this function:

Bscript::BObjectImp * Pol::Core::CallPropertyListMethod ( PropertyList proplist,
const char *  methodname,
Bscript::Executor ex,
bool &  changed 
)
Bscript::BObjectImp * Pol::Core::CallPropertyListMethod_id (