ManaPlus
Public Member Functions
EAthena::ServerFeatures Class Reference

#include <serverfeatures.h>

Inheritance diagram for EAthena::ServerFeatures:
Net::ServerFeatures

Public Member Functions

 ServerFeatures ()
 
bool haveServerOnlineList () const
 
bool haveServerHp () const A_CONST
 
bool havePlayerStatusUpdate () const
 
bool haveIncompleteChatMessages () const A_CONST
 
bool haveRaceSelection () const
 
bool haveLookSelection () const
 
bool haveMove3 () const
 
bool haveMonsterAttackRange () const A_CONST
 
bool haveEmailOnRegister () const
 
bool haveEmailOnDelete () const
 
bool haveServerVersion () const
 
bool haveMapServerVersion () const
 
bool haveNpcGender () const
 
bool haveJoinChannel () const
 
bool haveCreateCharGender () const
 
bool haveTalkPet () const
 
bool haveMovePet () const
 
bool haveServerWarpNames () const
 
bool haveExtendedRiding () const
 
bool haveExtendedDropsPosition () const
 
bool haveMoveWhileSit () const
 
bool haveKillerId () const
 
bool havePincode () 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()

EAthena::ServerFeatures::ServerFeatures ( )

Definition at line 33 of file serverfeatures.cpp.

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

References serverFeatures.

Member Function Documentation

◆ haveCreateCharGender()

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

Implements Net::ServerFeatures.

Definition at line 109 of file serverfeatures.cpp.

110 {
111  return serverVersion > 0;
112 }
int serverVersion
Definition: client.cpp:124

References serverVersion.

◆ haveEmailOnDelete()

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

Implements Net::ServerFeatures.

Definition at line 84 of file serverfeatures.cpp.

85 {
86  return serverVersion > 0;
87 }

References serverVersion.

◆ haveEmailOnRegister()

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

Implements Net::ServerFeatures.

Definition at line 79 of file serverfeatures.cpp.

80 {
81  return serverVersion > 0;
82 }

References serverVersion.

◆ haveExtendedDropsPosition()

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

Implements Net::ServerFeatures.

Definition at line 134 of file serverfeatures.cpp.

135 {
136  return serverVersion > 0;
137 }

References serverVersion.

◆ haveExtendedRiding()

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

Implements Net::ServerFeatures.

Definition at line 129 of file serverfeatures.cpp.

130 {
131  return serverVersion > 0;
132 }

References serverVersion.

◆ haveIncompleteChatMessages()

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

Implements Net::ServerFeatures.

Definition at line 54 of file serverfeatures.cpp.

55 {
56  return false;
57 }

◆ haveJoinChannel()

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

Implements Net::ServerFeatures.

Definition at line 104 of file serverfeatures.cpp.

105 {
106  return serverVersion > 0;
107 }

References serverVersion.

◆ haveKillerId()

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

Implements Net::ServerFeatures.

Definition at line 144 of file serverfeatures.cpp.

145 {
146  return serverVersion > 0;
147 }

References serverVersion.

◆ haveLookSelection()

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

Implements Net::ServerFeatures.

Definition at line 64 of file serverfeatures.cpp.

65 {
66  return serverVersion > 0;
67 }

References serverVersion.

◆ haveMapServerVersion()

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

Implements Net::ServerFeatures.

Definition at line 94 of file serverfeatures.cpp.

95 {
96  return serverVersion > 0;
97 }

References serverVersion.

◆ haveMonsterAttackRange()

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

Implements Net::ServerFeatures.

Definition at line 74 of file serverfeatures.cpp.

75 {
76  return false;
77 }

◆ haveMove3()

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

Implements Net::ServerFeatures.

Definition at line 69 of file serverfeatures.cpp.

70 {
71  return serverVersion > 0;
72 }

References serverVersion.

◆ haveMovePet()

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

Implements Net::ServerFeatures.

Definition at line 119 of file serverfeatures.cpp.

120 {
121  return serverVersion > 0;
122 }

References serverVersion.

◆ haveMoveWhileSit()

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

Implements Net::ServerFeatures.

Definition at line 139 of file serverfeatures.cpp.

140 {
141  return serverVersion > 0;
142 }

References serverVersion.

◆ haveNpcGender()

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

Implements Net::ServerFeatures.

Definition at line 99 of file serverfeatures.cpp.

100 {
101  return serverVersion > 0;
102 }

References serverVersion.

◆ havePincode()

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

Implements Net::ServerFeatures.

Definition at line 149 of file serverfeatures.cpp.

150 {
151  return true;
152 }

◆ havePlayerStatusUpdate()

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

Implements Net::ServerFeatures.

Definition at line 49 of file serverfeatures.cpp.

50 {
51  return serverVersion > 0;
52 }

References serverVersion.

◆ haveRaceSelection()

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

Implements Net::ServerFeatures.

Definition at line 59 of file serverfeatures.cpp.

60 {
61  return serverVersion > 0;
62 }

References serverVersion.

◆ haveServerHp()

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

Implements Net::ServerFeatures.

Definition at line 44 of file serverfeatures.cpp.

45 {
46  return true;
47 }

◆ haveServerOnlineList()

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

Implements Net::ServerFeatures.

Definition at line 39 of file serverfeatures.cpp.

40 {
41  return serverVersion > 0;
42 }

References serverVersion.

◆ haveServerVersion()

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

Implements Net::ServerFeatures.

Definition at line 89 of file serverfeatures.cpp.

90 {
92 }
ServerTypeT getNetworkType()
Definition: net.cpp:189

References ServerType::EVOL2, and Net::getNetworkType().

◆ haveServerWarpNames()

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

Implements Net::ServerFeatures.

Definition at line 124 of file serverfeatures.cpp.

125 {
126  return serverVersion == 0;
127 }

References serverVersion.

◆ haveTalkPet()

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

Implements Net::ServerFeatures.

Definition at line 114 of file serverfeatures.cpp.

115 {
116  return serverVersion > 0;
117 }

References serverVersion.


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