summaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
Diffstat (limited to 'src/net')
-rw-r--r--src/net/eathena/pethandler.cpp4
-rw-r--r--src/net/eathena/pethandler.h3
-rw-r--r--src/net/pethandler.h2
-rw-r--r--src/net/tmwa/pethandler.cpp4
-rw-r--r--src/net/tmwa/pethandler.h3
5 files changed, 16 insertions, 0 deletions
diff --git a/src/net/eathena/pethandler.cpp b/src/net/eathena/pethandler.cpp
index 9c78787cf..b18cc83d0 100644
--- a/src/net/eathena/pethandler.cpp
+++ b/src/net/eathena/pethandler.cpp
@@ -319,4 +319,8 @@ void PetHandler::unequip() const
outMsg.writeInt8(4, "action");
}
+void PetHandler::setDirection(const BeingDirection::Type type A_UNUSED) const
+{
+}
+
} // namespace EAthena
diff --git a/src/net/eathena/pethandler.h b/src/net/eathena/pethandler.h
index 42a03452b..b397d98d4 100644
--- a/src/net/eathena/pethandler.h
+++ b/src/net/eathena/pethandler.h
@@ -65,6 +65,9 @@ class PetHandler final : public MessageHandler, public Net::PetHandler
void unequip() const override final;
+ void setDirection(const BeingDirection::Type type) const
+ override final;
+
protected:
static void processPetRoulette(Net::MessageIn &msg);
diff --git a/src/net/pethandler.h b/src/net/pethandler.h
index 1eaf011d8..20e4b945e 100644
--- a/src/net/pethandler.h
+++ b/src/net/pethandler.h
@@ -56,6 +56,8 @@ class PetHandler notfinal
virtual void returnToEgg() const = 0;
virtual void unequip() const = 0;
+
+ virtual void setDirection(const BeingDirection::Type type) const = 0;
};
} // namespace Net
diff --git a/src/net/tmwa/pethandler.cpp b/src/net/tmwa/pethandler.cpp
index 0156ef7c2..079caae37 100644
--- a/src/net/tmwa/pethandler.cpp
+++ b/src/net/tmwa/pethandler.cpp
@@ -105,4 +105,8 @@ void PetHandler::unequip() const
{
}
+void PetHandler::setDirection(const BeingDirection::Type type) const
+{
+}
+
} // namespace TmwAthena
diff --git a/src/net/tmwa/pethandler.h b/src/net/tmwa/pethandler.h
index fa46256c2..49f32e84d 100644
--- a/src/net/tmwa/pethandler.h
+++ b/src/net/tmwa/pethandler.h
@@ -63,6 +63,9 @@ class PetHandler final : public MessageHandler, public Net::PetHandler
void unequip() const override final;
+ void setDirection(const BeingDirection::Type type) const
+ override final;
+
protected:
int mRandCounter;
};