ManaPlus
Public Member Functions
TmwAthena::ServerFeatures Class Reference

#include <serverfeatures.h>

Inheritance diagram for TmwAthena::ServerFeatures:
Net::ServerFeatures

Public Member Functions

 ServerFeatures ()
 
bool haveServerOnlineList () const A_CONST
 
bool haveServerHp () const
 
bool havePlayerStatusUpdate () const A_CONST
 
bool haveIncompleteChatMessages () const
 
bool haveRaceSelection () const A_CONST
 
bool haveLookSelection () const A_CONST
 
bool haveMove3 () const
 
bool haveMonsterAttackRange () const
 
bool haveEmailOnRegister () const A_CONST
 
bool haveEmailOnDelete () const A_CONST
 
bool haveServerVersion () const A_CONST
 
bool haveMapServerVersion () const A_CONST
 
bool haveNpcGender () const
 
bool haveJoinChannel () const A_CONST
 
bool haveCreateCharGender () const
 
bool haveTalkPet () const A_CONST
 
bool haveMovePet () const A_CONST
 
bool haveServerWarpNames () const A_CONST
 
bool haveExtendedRiding () const A_CONST
 
bool haveExtendedDropsPosition () const A_CONST
 
bool haveMoveWhileSit () const A_CONST
 
bool haveKillerId () const A_CONST
 
bool havePincode () const A_CONST
 
- Public Member Functions inherited from Net::ServerFeatures
 ServerFeatures ()
 
virtual ~ServerFeatures ()
 

Detailed Description

Definition at line 31 of file serverfeatures.h.

Constructor & Destructor Documentation

◆ ServerFeatures()

TmwAthena::ServerFeatures::ServerFeatures ( )

Definition at line 31 of file serverfeatures.cpp.

31  :
33 {
34  serverFeatures = this;
35 }
Net::ServerFeatures * serverFeatures
Definition: net.cpp:101

References serverFeatures.

Member Function Documentation

◆ haveCreateCharGender()

bool TmwAthena::ServerFeatures::haveCreateCharGender ( ) const
virtual

Implements Net::ServerFeatures.

Definition at line 107 of file serverfeatures.cpp.

108 {
109  return tmwServerVersion > 0x0f0b17;
110 }
unsigned int tmwServerVersion
Definition: client.cpp:134

References tmwServerVersion.

◆ haveEmailOnDelete()

bool TmwAthena::ServerFeatures::haveEmailOnDelete ( ) const
virtual

Implements Net::ServerFeatures.

Definition at line 82 of file serverfeatures.cpp.

83 {
84  return false;
85 }

◆ haveEmailOnRegister()

bool TmwAthena::ServerFeatures::haveEmailOnRegister ( ) const
virtual

Implements Net::ServerFeatures.

Definition at line 77 of file serverfeatures.cpp.

78 {
79  return false;
80 }

◆ haveExtendedDropsPosition()

bool TmwAthena::ServerFeatures::haveExtendedDropsPosition ( ) const
virtual

Implements Net::ServerFeatures.

Definition at line 132 of file serverfeatures.cpp.

133 {
134  return false;
135 }

◆ haveExtendedRiding()

bool TmwAthena::ServerFeatures::haveExtendedRiding ( ) const
virtual

Implements Net::ServerFeatures.

Definition at line 127 of file serverfeatures.cpp.

128 {
129  return false;
130 }

◆ haveIncompleteChatMessages()

bool TmwAthena::ServerFeatures::haveIncompleteChatMessages ( ) const
virtual

Implements Net::ServerFeatures.

Definition at line 52 of file serverfeatures.cpp.

53 {
54  return tmwServerVersion <= 0x100209;
55 }

References tmwServerVersion.

◆ haveJoinChannel()

bool TmwAthena::ServerFeatures::haveJoinChannel ( ) const
virtual

Implements Net::ServerFeatures.

Definition at line 102 of file serverfeatures.cpp.

103 {
104  return false;
105 }

◆ haveKillerId()

bool TmwAthena::ServerFeatures::haveKillerId ( ) const
virtual

Implements Net::ServerFeatures.

Definition at line 142 of file serverfeatures.cpp.

143 {
144  return false;
145 }

◆ haveLookSelection()

bool TmwAthena::ServerFeatures::haveLookSelection ( ) const
virtual

Implements Net::ServerFeatures.

Definition at line 62 of file serverfeatures.cpp.

63 {
64  return false;
65 }

◆ haveMapServerVersion()

bool TmwAthena::ServerFeatures::haveMapServerVersion ( ) const
virtual

Implements Net::ServerFeatures.

Definition at line 92 of file serverfeatures.cpp.

93 {
94  return false;
95 }

◆ haveMonsterAttackRange()

bool TmwAthena::ServerFeatures::haveMonsterAttackRange ( ) const
virtual

Implements Net::ServerFeatures.

Definition at line 72 of file serverfeatures.cpp.

73 {
74  return tmwServerVersion >= 0x0f0513;
75 }

References tmwServerVersion.

◆ haveMove3()

bool TmwAthena::ServerFeatures::haveMove3 ( ) const
virtual

Implements Net::ServerFeatures.

Definition at line 67 of file serverfeatures.cpp.

68 {
69  return tmwServerVersion >= 0x0f0512 && tmwServerVersion <= 0xf0706;
70 }

References tmwServerVersion.

◆ haveMovePet()

bool TmwAthena::ServerFeatures::haveMovePet ( ) const
virtual

Implements Net::ServerFeatures.

Definition at line 117 of file serverfeatures.cpp.

118 {
119  return true;
120 }

◆ haveMoveWhileSit()

bool TmwAthena::ServerFeatures::haveMoveWhileSit ( ) const
virtual

Implements Net::ServerFeatures.

Definition at line 137 of file serverfeatures.cpp.

138 {
139  return true;
140 }

◆ haveNpcGender()

bool TmwAthena::ServerFeatures::haveNpcGender ( ) const
virtual

Implements Net::ServerFeatures.

Definition at line 97 of file serverfeatures.cpp.

98 {
99  return tmwServerVersion >= 0x0f0513;
100 }

References tmwServerVersion.

◆ havePincode()

bool TmwAthena::ServerFeatures::havePincode ( ) const
virtual

Implements Net::ServerFeatures.

Definition at line 147 of file serverfeatures.cpp.

148 {
149  return false;
150 }

◆ havePlayerStatusUpdate()

bool TmwAthena::ServerFeatures::havePlayerStatusUpdate ( ) const
virtual

Implements Net::ServerFeatures.

Definition at line 47 of file serverfeatures.cpp.

48 {
49  return false;
50 }

◆ haveRaceSelection()

bool TmwAthena::ServerFeatures::haveRaceSelection ( ) const
virtual

Implements Net::ServerFeatures.

Definition at line 57 of file serverfeatures.cpp.

58 {
59  return false;
60 }

◆ haveServerHp()

bool TmwAthena::ServerFeatures::haveServerHp ( ) const
virtual

Implements Net::ServerFeatures.

Definition at line 42 of file serverfeatures.cpp.

43 {
44  return tmwServerVersion > 0x0f0513;
45 }

References tmwServerVersion.

◆ haveServerOnlineList()

bool TmwAthena::ServerFeatures::haveServerOnlineList ( ) const
virtual

Implements Net::ServerFeatures.

Definition at line 37 of file serverfeatures.cpp.

38 {
39  return tmwServerVersion >= 0x120b0b;
40 }

References tmwServerVersion.

◆ haveServerVersion()

bool TmwAthena::ServerFeatures::haveServerVersion ( ) const
virtual

Implements Net::ServerFeatures.

Definition at line 87 of file serverfeatures.cpp.

88 {
89  return true;
90 }

◆ haveServerWarpNames()

bool TmwAthena::ServerFeatures::haveServerWarpNames ( ) const
virtual

Implements Net::ServerFeatures.

Definition at line 122 of file serverfeatures.cpp.

123 {
124  return false;
125 }

◆ haveTalkPet()

bool TmwAthena::ServerFeatures::haveTalkPet ( ) const
virtual

Implements Net::ServerFeatures.

Definition at line 112 of file serverfeatures.cpp.

113 {
114  return true;
115 }

The documentation for this class was generated from the following files: