mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-16 22:58:34 +00:00
[Quest API] Add cross zone and world wide dialogue windows to Perl/Lua. (#1599)
* [Quest API] Add cross zone and world wide dialogue windows to Perl/Lua. - Add quest::crosszonedialoguewindowbycharid(character_id, message) to Perl. - Add quest::crosszonedialoguewindowbygroupid(group_id, message) to Perl. - Add quest::crosszonedialoguewindowbyraidid(raid_id, message) to Perl. - Add quest::crosszonedialoguewindowbyguildid(guild_id, message) to Perl. - Add quest::crosszonedialoguewindowbyexpeditionid(expedition_id, message) to Perl. - Add quest::crosszonedialoguewindowbyclientname(client_name, message) to Perl. - Add quest::worldwidedialoguewindow(message, min_status, max_status) to Perl. - Add eq.cross_zone_dialogue_window_by_char_id(character_id, message) to Lua. - Add eq.cross_zone_dialogue_window_by_group_id(group_id, message) to Lua. - Add eq.cross_zone_dialogue_window_by_raid_id(raid_id, message) to Lua. - Add eq.cross_zone_dialogue_window_by_guild_id(guild_id, message) to Lua. - Add eq.cross_zone_dialogue_window_by_expedition_id(expedition_id, message) to Lua. - Add eq.cross_zone_dialogue_window_by_client_name(client_name, message) to Lua. - Add eq.world_wide_dialogue_window(message, min_status, max_status) to Lua. * Use string instead.
This commit is contained in:
+32
-17
@@ -227,24 +227,26 @@
|
||||
#define ServerOP_HotReloadQuests 0x4011
|
||||
#define ServerOP_UpdateSchedulerEvents 0x4012
|
||||
|
||||
#define ServerOP_CZLDoNUpdate 0x4500
|
||||
#define ServerOP_CZMarquee 0x4501
|
||||
#define ServerOP_CZMessage 0x4502
|
||||
#define ServerOP_CZMove 0x4503
|
||||
#define ServerOP_CZSetEntityVariable 0x4504
|
||||
#define ServerOP_CZSignal 0x4505
|
||||
#define ServerOP_CZSpell 0x4506
|
||||
#define ServerOP_CZTaskUpdate 0x4507
|
||||
#define ServerOP_CZClientMessageString 0x4508
|
||||
#define ServerOP_CZDialogueWindow 0x4500
|
||||
#define ServerOP_CZLDoNUpdate 0x4501
|
||||
#define ServerOP_CZMarquee 0x4502
|
||||
#define ServerOP_CZMessage 0x4503
|
||||
#define ServerOP_CZMove 0x4504
|
||||
#define ServerOP_CZSetEntityVariable 0x4505
|
||||
#define ServerOP_CZSignal 0x4506
|
||||
#define ServerOP_CZSpell 0x4507
|
||||
#define ServerOP_CZTaskUpdate 0x4508
|
||||
#define ServerOP_CZClientMessageString 0x4509
|
||||
|
||||
#define ServerOP_WWLDoNUpdate 0x4750
|
||||
#define ServerOP_WWMarquee 0x4751
|
||||
#define ServerOP_WWMessage 0x4752
|
||||
#define ServerOP_WWMove 0x4753
|
||||
#define ServerOP_WWSetEntityVariable 0x4754
|
||||
#define ServerOP_WWSignal 0x4755
|
||||
#define ServerOP_WWSpell 0x4756
|
||||
#define ServerOP_WWTaskUpdate 0x4757
|
||||
#define ServerOP_WWDialogueWindow 0x4750
|
||||
#define ServerOP_WWLDoNUpdate 0x4751
|
||||
#define ServerOP_WWMarquee 0x4752
|
||||
#define ServerOP_WWMessage 0x4753
|
||||
#define ServerOP_WWMove 0x4754
|
||||
#define ServerOP_WWSetEntityVariable 0x4755
|
||||
#define ServerOP_WWSignal 0x4756
|
||||
#define ServerOP_WWSpell 0x4757
|
||||
#define ServerOP_WWTaskUpdate 0x4758
|
||||
|
||||
/**
|
||||
* QueryServer
|
||||
@@ -1440,6 +1442,13 @@ struct CZClientMessageString_Struct {
|
||||
char args[1]; // null delimited
|
||||
};
|
||||
|
||||
struct CZDialogueWindow_Struct {
|
||||
uint8 update_type; // 0 - Character, 1 - Group, 2 - Raid, 3 - Guild, 4 - Expedition, 5 - Character Name
|
||||
int update_identifier; // Character ID, Group ID, Raid ID, Guild ID, or Expedition ID based on update type, 0 for Character Name
|
||||
char message[4096];
|
||||
char client_name[64]; // Only used by Character Name Type, else empty
|
||||
};
|
||||
|
||||
struct CZLDoNUpdate_Struct {
|
||||
uint8 update_type; // 0 - Character, 1 - Group, 2 - Raid, 3 - Guild, 4 - Expedition, 5 - Character Name
|
||||
uint8 update_subtype; // 0 - Loss, 1 - Points, 2 - Win
|
||||
@@ -1512,6 +1521,12 @@ struct CZTaskUpdate_Struct {
|
||||
char client_name[64]; // Only used by Character Name Type, else empty
|
||||
};
|
||||
|
||||
struct WWDialogueWindow_Struct {
|
||||
char message[4096];
|
||||
uint8 min_status;
|
||||
uint8 max_status;
|
||||
};
|
||||
|
||||
struct WWLDoNUpdate_Struct {
|
||||
uint8 update_type; // 0 - Loss, 1 - Points, 2 - Win
|
||||
uint32 theme_id;
|
||||
|
||||
Reference in New Issue
Block a user