GCC Code Coverage Report
Directory: src/ Exec Total Coverage
File: src/net/eathena/serverfeatures.h Lines: 1 1 100.0 %
Date: 2021-03-17 Branches: 0 0 0.0 %

Line Branch Exec Source
1
/*
2
 *  The ManaPlus Client
3
 *  Copyright (C) 2011-2019  The ManaPlus Developers
4
 *  Copyright (C) 2019-2021  Andrei Karas
5
 *
6
 *  This file is part of The ManaPlus Client.
7
 *
8
 *  This program is free software; you can redistribute it and/or modify
9
 *  it under the terms of the GNU General Public License as published by
10
 *  the Free Software Foundation; either version 2 of the License, or
11
 *  any later version.
12
 *
13
 *  This program is distributed in the hope that it will be useful,
14
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
15
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16
 *  GNU General Public License for more details.
17
 *
18
 *  You should have received a copy of the GNU General Public License
19
 *  along with this program.  If not, see <http://www.gnu.org/licenses/>.
20
 */
21
22
#ifndef NET_EATHENA_SERVERFEATURES_H
23
#define NET_EATHENA_SERVERFEATURES_H
24
25
#include "net/serverfeatures.h"
26
27
#include "localconsts.h"
28
29
namespace EAthena
30
{
31
77
class ServerFeatures final : public Net::ServerFeatures
32
{
33
    public:
34
        ServerFeatures();
35
36
        A_DELETE_COPY(ServerFeatures)
37
38
        bool haveServerOnlineList() const override final;
39
40
        bool haveServerHp() const override final A_CONST;
41
42
        bool havePlayerStatusUpdate() const override final;
43
44
        bool haveIncompleteChatMessages() const override final A_CONST;
45
46
        bool haveRaceSelection() const override final;
47
48
        bool haveLookSelection() const override final;
49
50
        bool haveMove3() const override final;
51
52
        bool haveMonsterAttackRange() const override final A_CONST;
53
54
        bool haveEmailOnRegister() const override final;
55
56
        bool haveEmailOnDelete() const override final;
57
58
        bool haveServerVersion() const override final;
59
60
        bool haveMapServerVersion() const override final;
61
62
        bool haveNpcGender() const override final;
63
64
        bool haveJoinChannel() const override final;
65
66
        bool haveCreateCharGender() const override final;
67
68
        bool haveTalkPet() const override final;
69
70
        bool haveMovePet() const override final;
71
72
        bool haveServerWarpNames() const override final;
73
74
        bool haveExtendedRiding() const override final;
75
76
        bool haveExtendedDropsPosition() const override final;
77
78
        bool haveMoveWhileSit() const override final;
79
80
        bool haveKillerId() const override final;
81
82
        bool havePincode() const override final;
83
};
84
85
}  // namespace EAthena
86
87
#endif  // NET_EATHENA_SERVERFEATURES_H