mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-12 01:11:29 +00:00
Update to EQEmu::saylink function linkage
This commit is contained in:
parent
e87e4d07f0
commit
6bc60391fb
@ -25,16 +25,26 @@
|
||||
#include <string>
|
||||
|
||||
|
||||
class ItemInst;
|
||||
struct Item_Struct;
|
||||
struct ServerLootItem_Struct;
|
||||
class ItemInst;
|
||||
|
||||
|
||||
namespace EQEmu
|
||||
{
|
||||
namespace saylink {
|
||||
// Current server mask: EQClientRoF2
|
||||
struct SayLinkBody_Struct {
|
||||
struct SayLinkBody_Struct; // Current server mask: EQClientRoF2
|
||||
|
||||
class SayLinkEngine;
|
||||
|
||||
extern bool DegenerateLinkBody(SayLinkBody_Struct& say_Link_body_struct, const std::string& say_link_body);
|
||||
extern bool GenerateLinkBody(std::string& say_link_body, const SayLinkBody_Struct& say_link_body_struct);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
struct EQEmu::saylink::SayLinkBody_Struct
|
||||
{
|
||||
uint8 unknown_1; /* %1X */
|
||||
uint32 item_id; /* %05X */
|
||||
uint32 augment_1; /* %05X */
|
||||
@ -50,7 +60,8 @@ namespace EQEmu
|
||||
int hash; /* %08X */
|
||||
};
|
||||
|
||||
class SayLinkEngine {
|
||||
class EQEmu::saylink::SayLinkEngine
|
||||
{
|
||||
public:
|
||||
enum SayLinkType {
|
||||
SayLinkBlank = 0,
|
||||
@ -124,9 +135,4 @@ namespace EQEmu
|
||||
bool m_Error;
|
||||
};
|
||||
|
||||
bool DegenerateLinkBody(SayLinkBody_Struct& say_Link_body_struct, const std::string& say_link_body);
|
||||
bool GenerateLinkBody(std::string& say_link_body, const SayLinkBody_Struct& say_link_body_struct);
|
||||
}
|
||||
}
|
||||
|
||||
#endif /* COMMON_SAY_LINK_H */
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user