summaryrefslogtreecommitdiff
path: root/src/actormanager.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-09-10 12:36:08 +0300
committerAndrei Karas <akaras@inbox.ru>2015-09-10 12:38:00 +0300
commit574efa8ae89f7786239753537eb32c222686f4a1 (patch)
treedc6f15a6a2a968f459bf541b30b7ef1df71d9f8b /src/actormanager.h
parenta2af952c687ff666208a316d8b7b4e394df19d2f (diff)
downloadmv-574efa8ae89f7786239753537eb32c222686f4a1.tar.gz
mv-574efa8ae89f7786239753537eb32c222686f4a1.tar.bz2
mv-574efa8ae89f7786239753537eb32c222686f4a1.tar.xz
mv-574efa8ae89f7786239753537eb32c222686f4a1.zip
Impliment packets CMSG_SOLVE_CHAR_NAME and SMSG_SOLVE_CHAR_NAME.
Diffstat (limited to 'src/actormanager.h')
-rw-r--r--src/actormanager.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/actormanager.h b/src/actormanager.h
index 989947f83..00c8eb052 100644
--- a/src/actormanager.h
+++ b/src/actormanager.h
@@ -347,6 +347,11 @@ class ActorManager final: public ConfigListener
void removeRoom(const int chatId);
void updateRoom(const ChatObject *const newChat);
+
+ std::string findCharById(const int32_t id);
+
+ void addChar(const int32_t id,
+ const std::string &name);
#endif
protected:
@@ -371,6 +376,9 @@ class ActorManager final: public ConfigListener
ActorSprites mActors;
ActorSprites mDeleteActors;
std::set<BeingId> mBlockedBeings;
+#ifdef EATHENA_SUPPORT
+ std::map<int32_t, std::string> mChars;
+#endif
Map *mMap;
std::string mSpellHeal1;
std::string mSpellHeal2;