ManaPlus
pethandler.cpp
Go to the documentation of this file.
1 /*
2  * The ManaPlus Client
3  * Copyright (C) 2013-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 #include "net/tmwa/pethandler.h"
23 
24 #include "debug.h"
25 
26 namespace TmwAthena
27 {
28 
30  mRandCounter(1000)
31 {
32  petHandler = this;
33 }
34 
36 {
37  petHandler = nullptr;
38 }
39 
40 void PetHandler::move(const int x A_UNUSED,
41  const int y A_UNUSED) const
42 {
43 }
44 
45 void PetHandler::emote(const uint8_t emoteId A_UNUSED)
46 {
47 }
48 
49 void PetHandler::catchPet(const Being *const being A_UNUSED) const
50 {
51 }
52 
54 {
55 }
56 
57 void PetHandler::setName(const std::string &name A_UNUSED) const
58 {
59 }
60 
62 {
63 }
64 
65 void PetHandler::feed() const
66 {
67 }
68 
70 {
71 }
72 
74 {
75 }
76 
77 void PetHandler::unequip() const
78 {
79 }
80 
81 void PetHandler::setDirection(const unsigned char type A_UNUSED) const
82 {
83 }
84 
85 void PetHandler::evolution(const Item *item A_UNUSED) const
86 {
87 }
88 
89 
90 } // namespace TmwAthena
Definition: being.h:96
Definition: item.h:50
void setDirection(const unsigned char type) const
Definition: pethandler.cpp:81
void setName(const std::string &name) const
Definition: pethandler.cpp:57
void returnToEgg() const
Definition: pethandler.cpp:73
void unequip() const
Definition: pethandler.cpp:77
void evolution(const Item *const item) const
Definition: pethandler.cpp:85
void dropLoot() const
Definition: pethandler.cpp:69
void sendPetMessage(const int data) const
Definition: pethandler.cpp:53
void requestStatus() const
Definition: pethandler.cpp:61
void move(const int x, const int y) const
Definition: pethandler.cpp:40
void catchPet(const Being *const being) const
Definition: pethandler.cpp:49
void emote(const uint8_t emoteId)
Definition: pethandler.cpp:45
#define A_UNUSED
Definition: localconsts.h:160
uint32_t data
Net::PetHandler * petHandler
Definition: net.cpp:95