World packets change

World packets now takes an entity so we can process reputation
This commit is contained in:
EmosewaMC
2022-03-31 18:17:23 -07:00
parent 8ae7bc0f92
commit ece83db6ed
2 changed files with 13 additions and 5 deletions

View File

@@ -4,6 +4,7 @@
#include "dCommonVars.h"
#include <string>
#include <unordered_map>
#include "Entity.h"
class User;
struct SystemAddress;
@@ -16,7 +17,7 @@ namespace WorldPackets {
void SendCharacterDeleteResponse(const SystemAddress& sysAddr, bool response);
void SendTransferToWorld(const SystemAddress& sysAddr, const std::string& serverIP, uint32_t serverPort, bool mythranShift);
void SendServerState(const SystemAddress& sysAddr);
void SendCreateCharacter(const SystemAddress& sysAddr, const LWOOBJID& objectID, const std::string& xmlData, const std::u16string& username, int32_t gm);
void SendCreateCharacter(const SystemAddress& sysAddr, Entity* entity, const std::string& xmlData, const std::u16string& username, int32_t gm);
void SendChatModerationResponse(const SystemAddress& sysAddr, bool requestAccepted, uint32_t requestID, const std::string& receiver, std::unordered_map<char, char> unacceptedItems);
void SendGMLevelChange(const SystemAddress& sysAddr, bool success, uint8_t highestLevel, uint8_t prevLevel, uint8_t newLevel);
}