summaryrefslogtreecommitdiff
path: root/src/net/pethandler.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-01-12 16:54:55 +0300
committerAndrei Karas <akaras@inbox.ru>2014-01-12 16:54:55 +0300
commitc81199bab9f943e187ce8b1347bd06d2395674e6 (patch)
tree1fae31ed74ad2ca4ca0c649e8020210fc78625e1 /src/net/pethandler.h
parente06ebbc33fae83c4817a39af15fa0784ac233459 (diff)
downloadplus-c81199bab9f943e187ce8b1347bd06d2395674e6.tar.gz
plus-c81199bab9f943e187ce8b1347bd06d2395674e6.tar.bz2
plus-c81199bab9f943e187ce8b1347bd06d2395674e6.tar.xz
plus-c81199bab9f943e187ce8b1347bd06d2395674e6.zip
in pethandler add pet id parameter.
Diffstat (limited to 'src/net/pethandler.h')
-rw-r--r--src/net/pethandler.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/net/pethandler.h b/src/net/pethandler.h
index 05816acc4..7b5666396 100644
--- a/src/net/pethandler.h
+++ b/src/net/pethandler.h
@@ -33,13 +33,15 @@ class PetHandler
{ }
virtual void move(const Being *const being,
+ const int petId,
const int x1, const int y1,
const int x2, const int y2) const = 0;
virtual void spawn(const Being *const being,
+ const int petId,
const int x, const int y) const = 0;
- virtual void emote(const uint8_t emoteId) const = 0;
+ virtual void emote(const uint8_t emoteId, const int petId) const = 0;
};
} // namespace Net