Mana
Loading...
Searching...
No Matches
Namespaces | Macros | Variables
abilityhandler.cpp File Reference
#include "net/tmwa/abilityhandler.h"
#include "event.h"
#include "log.h"
#include "playerinfo.h"
#include "gui/skilldialog.h"
#include "net/tmwa/messagein.h"
#include "net/tmwa/protocol.h"
#include "utils/gettext.h"

Go to the source code of this file.

Namespaces

namespace  TmwAthena
 Warning: buffers and other variables are shared, so there can be only one connection active at a time.
 

Macros

#define SKILL_BASIC   0x0001
 job dependend identifiers (?)

 
#define SKILL_WARP   0x001b
 
#define SKILL_STEAL   0x0032
 
#define SKILL_ENVENOM   0x0034
 
#define BSKILL_TRADE   0x0000
 basic skills identifiers

 
#define BSKILL_EMOTE   0x0001
 
#define BSKILL_SIT   0x0002
 
#define BSKILL_CREATECHAT   0x0003
 
#define BSKILL_JOINPARTY   0x0004
 
#define BSKILL_SHOUT   0x0005
 
#define BSKILL_PK   0x0006
 
#define BSKILL_SETALLIGN   0x0007
 
#define RFAIL_SKILLDEP   0x00
 reasons why action failed

 
#define RFAIL_INSUFSP   0x01
 
#define RFAIL_INSUFHP   0x02
 
#define RFAIL_NOMEMO   0x03
 
#define RFAIL_SKILLDELAY   0x04
 
#define RFAIL_ZENY   0x05
 
#define RFAIL_WEAPON   0x06
 
#define RFAIL_REDGEM   0x07
 
#define RFAIL_BLUEGEM   0x08
 
#define RFAIL_OVERWEIGHT   0x09
 
#define RFAIL_GENERIC   0x0a
 
#define SKILL_FAILED   0x00
 should always be zero if failed
 

Variables

Net::AbilityHandlerabilityHandler
 

Macro Definition Documentation

◆ BSKILL_CREATECHAT

#define BSKILL_CREATECHAT   0x0003

Definition at line 45 of file abilityhandler.cpp.

◆ BSKILL_EMOTE

#define BSKILL_EMOTE   0x0001

Definition at line 43 of file abilityhandler.cpp.

◆ BSKILL_JOINPARTY

#define BSKILL_JOINPARTY   0x0004

Definition at line 46 of file abilityhandler.cpp.

◆ BSKILL_PK

#define BSKILL_PK   0x0006

Definition at line 48 of file abilityhandler.cpp.

◆ BSKILL_SETALLIGN

#define BSKILL_SETALLIGN   0x0007

Definition at line 49 of file abilityhandler.cpp.

◆ BSKILL_SHOUT

#define BSKILL_SHOUT   0x0005

Definition at line 47 of file abilityhandler.cpp.

◆ BSKILL_SIT

#define BSKILL_SIT   0x0002

Definition at line 44 of file abilityhandler.cpp.

◆ BSKILL_TRADE

#define BSKILL_TRADE   0x0000

basic skills identifiers

Definition at line 42 of file abilityhandler.cpp.

◆ RFAIL_BLUEGEM

#define RFAIL_BLUEGEM   0x08

Definition at line 60 of file abilityhandler.cpp.

◆ RFAIL_GENERIC

#define RFAIL_GENERIC   0x0a

Definition at line 62 of file abilityhandler.cpp.

◆ RFAIL_INSUFHP

#define RFAIL_INSUFHP   0x02

Definition at line 54 of file abilityhandler.cpp.

◆ RFAIL_INSUFSP

#define RFAIL_INSUFSP   0x01

Definition at line 53 of file abilityhandler.cpp.

◆ RFAIL_NOMEMO

#define RFAIL_NOMEMO   0x03

Definition at line 55 of file abilityhandler.cpp.

◆ RFAIL_OVERWEIGHT

#define RFAIL_OVERWEIGHT   0x09

Definition at line 61 of file abilityhandler.cpp.

◆ RFAIL_REDGEM

#define RFAIL_REDGEM   0x07

Definition at line 59 of file abilityhandler.cpp.

◆ RFAIL_SKILLDELAY

#define RFAIL_SKILLDELAY   0x04

Definition at line 56 of file abilityhandler.cpp.

◆ RFAIL_SKILLDEP

#define RFAIL_SKILLDEP   0x00

reasons why action failed

Definition at line 52 of file abilityhandler.cpp.

◆ RFAIL_WEAPON

#define RFAIL_WEAPON   0x06

Definition at line 58 of file abilityhandler.cpp.

◆ RFAIL_ZENY

#define RFAIL_ZENY   0x05

Definition at line 57 of file abilityhandler.cpp.

◆ SKILL_BASIC

#define SKILL_BASIC   0x0001

job dependend identifiers (?)

Definition at line 36 of file abilityhandler.cpp.

◆ SKILL_ENVENOM

#define SKILL_ENVENOM   0x0034

Definition at line 39 of file abilityhandler.cpp.

◆ SKILL_FAILED

#define SKILL_FAILED   0x00

should always be zero if failed

Definition at line 65 of file abilityhandler.cpp.

◆ SKILL_STEAL

#define SKILL_STEAL   0x0032

Definition at line 38 of file abilityhandler.cpp.

◆ SKILL_WARP

#define SKILL_WARP   0x001b

Definition at line 37 of file abilityhandler.cpp.

Variable Documentation

◆ abilityHandler

Net::AbilityHandler* abilityHandler
extern

Definition at line 57 of file net.cpp.