# E:/uas2/Server/Object.h File Reference

`#include <string>`
`#include "math.h"`
`#include <algorithm>`
`#include "stdio.h"`
`#include "stdlib.h"`
`#include "Message.h"`
`#include "cModels.h"`
`#include "cMagicModels.h"`
`#include "cItemModels.h"`

Go to the source code of this file.

## Classes

struct | cVital
struct | cObjStats
struct | cAttribute
struct | cSkill
struct | cStats
class | cObject
class | cBiotic
class | cNPC
class | cLifestone
class | cPortal
class | cAbiotic
class | cMisc
class | cFood
class | cArmor
class | cScrolls
class | cHealingKits
class | cGems
class | cBooks
class | cManaStones
class | cLockpicks
class | cTradeSkillMats
class | cWands
class | cSpellComps
class | cPlants
class | cAmmo
class | cWeapon
class | cSalvage
class | cPyreals
class | cTradeNotes
class | cJewelry
class | cFoci
class | cPack
class | cClothes
class | cShield
class | cHealingCon
class | cEquipment
class | cInventory
class | cAltar
class | cDoor
class | cWorldObject
class | cMerchantSign
class | cChest
class | cCorpse
class | cCovenant
class | cHouse
class | cHooks
class | cStorage
class | cWarSpell
class | cMonster

## Defines

#define | SKILL_AXE 0x01
#define | SKILL_BOW 0x02
#define | SKILL_CROSSBOW 0x03
#define | SKILL_DAGGER 0x04
#define | SKILL_MACE 0x05
#define | SKILL_MELEE_DEFENSE 0x06
#define | SKILL_MISSLE_DEFENSE 0x07
#define | SKILL_SPEAR 0x09
#define | SKILL_STAFF 0x0A
#define | SKILL_SWORD 0x0B
#define | SKILL_THROWN_WEAPONS 0x0C
#define | SKILL_UNARMED_COMBAT 0x0D
#define | SKILL_ARCANE_LORE 0x0E
#define | SKILL_MAGIC_DEFENSE 0x0F
#define | SKILL_MANA_CONVERSION 0x10
#define | SKILL_ITEM_TINKERING 0x12
#define | SKILL_ASSESS_PERSON 0x13
#define | SKILL_DECEPTION 0x14
#define | SKILL_HEALING 0x15
#define | SKILL_JUMP 0x16
#define | SKILL_LOCKPICK 0x17
#define | SKILL_RUN 0x18
#define | SKILL_ASSESS_CREATURE 0x1B
#define | SKILL_WEAPON_TINKERING 0x1C
#define | SKILL_ARMOR_TINKERING 0x1D
#define | SKILL_MAGIC_ITEM_TINKERING 0x1E
#define | SKILL_CREATURE_ENCHANTMENT 0x1F
#define | SKILL_ITEM_ENCHANTMENT 0x20
#define | SKILL_LIFE_MAGIC 0x21
#define | SKILL_WAR_MAGIC 0x22
#define | SKILL_LEADERSHIP 0x23
#define | SKILL_LOYALTY 0x24
#define | SKILL_FLETCHING 0x25
#define | SKILL_ALCHEMY 0x26
#define | SKILL_COOKING 0x27
#define | SKILL_SALVAGE 0x28
#define | PAI 3.14159265
#define | NPCMODE_SINGLE 1
#define | NPCMODE_MULTI 2
#define | NPCMODE_RANDOM 3
#define | PK_ALTAR 1
#define | NPK_ALTAR 0
#define | DOOR_OPEN 1
#define | DOOR_CLOSED 0
#define | HOUSE_FORSALE 1
#define | HOUSE_OWNED 2
#define | HOUSE_OPEN 3
#define | HOUSE_CLOSED 4

## Functions

int | calc_vec_to_deg (int vx, int vy)

## Detailed Description

Implements general functionality for all objects. All object types inherit from this class.