This class handles all calculations around combat, using statistics and information from the pspccharacterinfo Prop Classes for both the attacker and the target.
More...
|
bool | AttackSomeone (gemActor *attacker, gemActor *target, const Stance &stance) |
| This is how you start an attack sequence. More...
|
|
| CombatManager (CacheManager *cachemanager, EntityManager *entitymanager) |
|
EntityManager * | GetEntityManager () |
|
bool | InitializePVP () |
|
bool | InPVPRegion (csVector3 &pos, iSector *sector) |
|
void | NotifyTarget (gemActor *attacker, gemObject *target) |
|
void | sendAttackList (MsgEntry *me, Client *client) |
|
void | sendAttackQueue (MsgEntry *me, Client *client) |
|
void | sendAttackQueue (psCharacter *character) |
|
void | SetCombat (gemActor *combatant, const Stance &stance) |
|
void | StopAttack (gemActor *attacker) |
| This is how you break an attack sequence off, through death or user command. More...
|
|
virtual | ~CombatManager () |
|
void | HandleMessage (MsgEntry *msg, Client *client) |
| Transfers the message to the manager specific function. More...
|
|
void | Subscribe (FunctionPointer fpt, msgtype type, uint32_t flags=0x01) |
| Subscribes this manager to a specific message type with a custom callback. More...
|
|
bool | Unsubscribe (msgtype type) |
| Unsubscribes this manager from a specific message type. More...
|
|
bool | Unsubscribe (FunctionPointer handler, msgtype type) |
| Unsubscribes a specific handler from a specific message type. More...
|
|
bool | UnsubscribeAll () |
| Unsubscribes this manager from all message types. More...
|
|
virtual | ~MessageManager () |
| Unsubscribes all messages then destroys this object. More...
|
|
csArray< csString > | DecodeCommandArea (Client *client, csString target) |
| Decodes an area: expression. More...
|
|
gemObject * | FindObjectByString (const csString &str, gemActor *me) const |
| Find the object we are referring to in str. More...
|
|
Client * | FindPlayerClient (const char *name) |
| Finds Client* of character with given name. More...
|
|
virtual bool | Verify (MsgEntry *pMsg, unsigned int flags, Client *&client) |
|
This class handles all calculations around combat, using statistics and information from the pspccharacterinfo Prop Classes for both the attacker and the target.
Definition at line 55 of file combatmanager.h.