mirror of
https://github.com/EQEmu/Server.git
synced 2026-09-05 07:16:37 +00:00
Add message(color, message) and whisper(message) to Perl/Lua.
- Add quest::message(color, message) to Perl. - Add eq.message(color, message) to Lua. - Add quest::whisper(message) to Perl. - Add eq.whisper(message) to Lua. These methods allow you to use implied client references. The whisper method also converts a widely used plugin in Perl to a Perl and Lua method that works on both Clients and NPCs.
This commit is contained in:
@@ -223,6 +223,8 @@ public:
|
||||
void clearspawntimers();
|
||||
void ze(int type, const char *str);
|
||||
void we(int type, const char *str);
|
||||
void message(int color, const char *message);
|
||||
void whisper(const char *message);
|
||||
int getlevel(uint8 type);
|
||||
int collectitems(uint32 item_id, bool remove);
|
||||
int collectitems_processSlot(int16 slot_id, uint32 item_id, bool remove);
|
||||
|
||||
Reference in New Issue
Block a user