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