#include <eoserv.hpp>

Public Types | |
| enum | EquipLocation { Boots, Accessory, Gloves, Belt, Armor, Necklace, Hat, Shield, Weapon, Ring1, Ring2, Armlet1, Armlet2, Bracer1, Bracer2 } |
Public Member Functions | |
| Character (std::string name) | |
| void | Msg (Character *from, std::string message) |
| bool | Walk (int direction) |
| bool | AdminWalk (int direction) |
| void | Attack (int direction) |
| void | Sit (int sit_type) |
| void | Stand () |
| void | Emote (int emote) |
| int | HasItem (int item) |
| bool | AddItem (int item, int amount) |
| void | DelItem (int item, int amount) |
| bool | Unequip (int item, int subloc) |
| bool | Equip (int item, int subloc) |
| bool | InRange (int x, int y) |
| bool | InRange (Character *) |
| bool | InRange (Map_Item) |
| void | Warp (int map, int x, int y, int animation=WARP_ANIMATION_NONE) |
| std::string | PaddedGuildTag () |
| void | CalculateStats () |
| void | Save () |
| ~Character () | |
Static Public Member Functions | |
| static bool | ValidName (std::string name) |
| static bool | Exists (std::string name) |
| static Character * | Create (Player *, std::string name, int gender, int hairstyle, int haircolor, int race) |
| static void | Delete (std::string name) |
Public Attributes | |
| bool | online |
| unsigned int | id |
| int | admin |
| std::string | name |
| std::string | title |
| std::string | home |
| std::string | partner |
| int | clas |
| int | gender |
| int | race |
| int | hairstyle |
| int | haircolor |
| int | mapid |
| int | x |
| int | y |
| int | direction |
| int | spawnmap |
| int | spawnx |
| int | spawny |
| int | level |
| int | exp |
| int | hp |
| int | tp |
| int | str |
| int | intl |
| int | wis |
| int | agi |
| int | con |
| int | cha |
| int | statpoints |
| int | skillpoints |
| int | weight |
| int | maxweight |
| int | karma |
| int | sitting |
| int | visible |
| int | bankmax |
| int | goldbank |
| int | usage |
| int | maxsp |
| int | maxhp |
| int | maxtp |
| int | accuracy |
| int | evade |
| int | armor |
| int | mindam |
| int | maxdam |
| int | warp_anim |
| std::list< Character_Item > | inventory |
| std::list< Character_Item > | bank |
| util::array< int, 15 > | paperdoll |
| std::list< Character_Spell > | spells |
| std::list< NPC * > | unregister_npc |
| Player * | player |
| Guild * | guild |
| std::string | guild_tag |
| int | guild_rank |
| Party * | party |
| Map * | map |
| Character::Character | ( | std::string | name | ) |
| Character::~Character | ( | ) |
| static bool Character::ValidName | ( | std::string | name | ) | [static] |
| static bool Character::Exists | ( | std::string | name | ) | [static] |
| static Character* Character::Create | ( | Player * | , | |
| std::string | name, | |||
| int | gender, | |||
| int | hairstyle, | |||
| int | haircolor, | |||
| int | race | |||
| ) | [static] |
| static void Character::Delete | ( | std::string | name | ) | [static] |
| void Character::Msg | ( | Character * | from, | |
| std::string | message | |||
| ) |
| bool Character::Walk | ( | int | direction | ) |
| bool Character::AdminWalk | ( | int | direction | ) |
| void Character::Attack | ( | int | direction | ) |
| void Character::Sit | ( | int | sit_type | ) |
| void Character::Stand | ( | ) |
| void Character::Emote | ( | int | emote | ) |
| int Character::HasItem | ( | int | item | ) |
| bool Character::AddItem | ( | int | item, | |
| int | amount | |||
| ) |
| void Character::DelItem | ( | int | item, | |
| int | amount | |||
| ) |
| bool Character::Unequip | ( | int | item, | |
| int | subloc | |||
| ) |
| bool Character::Equip | ( | int | item, | |
| int | subloc | |||
| ) |
| bool Character::InRange | ( | int | x, | |
| int | y | |||
| ) |
| bool Character::InRange | ( | Character * | ) |
| bool Character::InRange | ( | Map_Item | ) |
| void Character::Warp | ( | int | map, | |
| int | x, | |||
| int | y, | |||
| int | animation = WARP_ANIMATION_NONE | |||
| ) |
| std::string Character::PaddedGuildTag | ( | ) |
| void Character::CalculateStats | ( | ) |
| void Character::Save | ( | ) |
| bool Character::online |
| unsigned int Character::id |
| int Character::admin |
| std::string Character::name |
| std::string Character::title |
| std::string Character::home |
| std::string Character::partner |
| int Character::clas |
| int Character::race |
| int Character::mapid |
| int Character::x |
| int Character::y |
| int Character::level |
| int Character::exp |
| int Character::hp |
| int Character::tp |
| int Character::str |
| int Character::intl |
| int Character::wis |
| int Character::agi |
| int Character::con |
| int Character::cha |
| int Character::karma |
| int Character::usage |
| int Character::maxsp |
| int Character::maxhp |
| int Character::maxtp |
| int Character::evade |
| int Character::armor |
| std::list<Character_Item> Character::inventory |
| std::list<Character_Item> Character::bank |
| util::array<int, 15> Character::paperdoll |
| std::list<Character_Spell> Character::spells |
| std::list<NPC *> Character::unregister_npc |
| std::string Character::guild_tag |
1.5.7.1