Planeshift
Classes | Defines | Typedefs | Enumerations | Functions

pscharacter.h File Reference

#include <csutil/sysfunc.h>
#include "util/poolallocator.h"
#include "util/psconst.h"
#include "util/scriptvar.h"
#include "util/skillcache.h"
#include "util/slots.h"
#include "net/charmessages.h"
#include "../icachedobject.h"
#include "../playergroup.h"
#include "rpgrules/factions.h"
#include "buffable.h"
#include "psskills.h"
#include "psstdint.h"
#include "pscharinventory.h"
#include "psinventorycachesvr.h"
#include "psitemstats.h"
#include "servervitals.h"
#include "psguildinfo.h"
#include "psattackqueue.h"
#include "pscharquestmgr.h"

Go to the source code of this file.

Classes

struct  psBuddyManager::Buddy
class  CharacterAttribute
 Base class for several other classes which hold character attributes of different sorts. More...
class  CharStat
class  charVariable
 This is used to char a charVariable. More...
struct  GMEventsAssignment
 Structure for assigned GM Events. More...
class  OverridableRace
class  psBuddyManager
 Class to handle buddies. More...
class  psCharacter
struct  Skill
 A structure that holds the knowledge/practice/rank of each player skill. More...
class  SkillSet
 A list of skills. More...
class  SkillStatBuffable
struct  psCharacter::st_location
struct  Stance
class  StatSet

Defines

#define ALWAYS_IMPERVIOUS   1
#define PSCHARACTER_BANK_BULK_COUNT   16
#define PSCHARACTER_BULK_COUNT   INVENTORY_BULK_COUNT
#define PSCHARACTER_EQUIPMENTFLAG_ATTACKIFEMPTY   0x00000004
 Set if this slot can attack even when empty - requires that a default psItem be set in default_if_empty.
#define PSCHARACTER_EQUIPMENTFLAG_AUTOATTACK   0x00000001
 Set if this slot should continuously attack while in combat.
#define PSCHARACTER_EQUIPMENTFLAG_SINGLEATTACK   0x00000002
 Set if this slot can attack when the client specifically requests (and only when the client specifically requests)
#define TEMPORARILY_IMPERVIOUS   2

Typedefs

typedef SkillStatBuffable SkillRank

Enumerations

enum  PSCHARACTER_CUSTOM {
  PSCHARACTER_CUSTOM_EYES = 0, PSCHARACTER_CUSTOM_HAIR, PSCHARACTER_CUSTOM_BEARD, PSCHARACTER_CUSTOM_COLOUR,
  PSCHARACTER_CUSTOM_SKIN, PSCHARACTER_CUSTOM_COUNT
}
enum  PSCHARACTER_JOINNOTIFICATION { PSCHARACTER_JOINNOTIFICATION_GUILD = 1, PSCHARACTER_JOINNOTIFICATION_ALLIANCE = 2 }
 

enum containing the notification status (a bitfield)

More...
enum  PSCHARACTER_MODE {
  PSCHARACTER_MODE_UNKNOWN = 0, PSCHARACTER_MODE_PEACE, PSCHARACTER_MODE_COMBAT, PSCHARACTER_MODE_SPELL_CASTING,
  PSCHARACTER_MODE_WORK, PSCHARACTER_MODE_DEAD, PSCHARACTER_MODE_SIT, PSCHARACTER_MODE_OVERWEIGHT,
  PSCHARACTER_MODE_EXHAUSTED, PSCHARACTER_MODE_DEFEATED, PSCHARACTER_MODE_STATUE, PSCHARACTER_MODE_PLAY,
  PSCHARACTER_MODE_COUNT
}
enum  PSCHARACTER_TYPE {
  PSCHARACTER_TYPE_PLAYER = 0, PSCHARACTER_TYPE_NPC = 1, PSCHARACTER_TYPE_PET = 2, PSCHARACTER_TYPE_MOUNT = 3,
  PSCHARACTER_TYPE_MOUNTPET = 4, PSCHARACTER_TYPE_COUNT = 5, PSCHARACTER_TYPE_UNKNOWN = ~0
}
enum  PSCHARACTER_WORKSTATE { PSCHARACTER_WORKSTATE_HALTED = 0, PSCHARACTER_WORKSTATE_STARTED, PSCHARACTER_WORKSTATE_COMPLETE, PSCHARACTER_WORKSTATE_OVERDONE }
 

This enumeration and structure tracks the players trade skill efforts.

More...

Functions

csString NormalizeCharacterName (const csString &name)
 "Normalizes" name of character i.e.