mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-16 22:58:34 +00:00
Switched rest of pet messages to MT_PetResponse
Overloaded Mob::Say_StringID with a version that takes a message type
This commit is contained in:
+13
-1
@@ -2544,7 +2544,7 @@ void Mob::Say(const char *format, ...)
|
||||
void Mob::Say_StringID(uint32 string_id, const char *message3, const char *message4, const char *message5, const char *message6, const char *message7, const char *message8, const char *message9)
|
||||
{
|
||||
char string_id_str[10];
|
||||
|
||||
|
||||
snprintf(string_id_str, 10, "%d", string_id);
|
||||
|
||||
entity_list.MessageClose_StringID(this, false, 200, 10,
|
||||
@@ -2553,6 +2553,18 @@ void Mob::Say_StringID(uint32 string_id, const char *message3, const char *messa
|
||||
);
|
||||
}
|
||||
|
||||
void Mob::Say_StringID(uint32 type, uint32 string_id, const char *message3, const char *message4, const char *message5, const char *message6, const char *message7, const char *message8, const char *message9)
|
||||
{
|
||||
char string_id_str[10];
|
||||
|
||||
snprintf(string_id_str, 10, "%d", string_id);
|
||||
|
||||
entity_list.MessageClose_StringID(this, false, 200, type,
|
||||
GENERIC_STRINGID_SAY, GetCleanName(), string_id_str, message3, message4, message5,
|
||||
message6, message7, message8, message9
|
||||
);
|
||||
}
|
||||
|
||||
void Mob::Shout(const char *format, ...)
|
||||
{
|
||||
char buf[1000];
|
||||
|
||||
Reference in New Issue
Block a user