mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-02-19 08:30:34 +01:00
Core/Calendar: Fix compile without PCH
This commit is contained in:
@@ -16,6 +16,7 @@
|
||||
* with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include "Player.h"
|
||||
#include "Calendar.h"
|
||||
|
||||
std::string CalendarInvite::GetDebugString() const
|
||||
|
||||
@@ -875,7 +875,7 @@ void WorldSession::SendCalendarCommandResult(CalendarError err, char const* para
|
||||
SendPacket(&data);
|
||||
}
|
||||
|
||||
void WorldSession::SendCalendarRaidLockout(InstanceSave* save, bool add)
|
||||
void WorldSession::SendCalendarRaidLockout(InstanceSave const* save, bool add)
|
||||
{
|
||||
sLog->outDebug(LOG_FILTER_NETWORKIO, "%s", add ? "SMSG_CALENDAR_RAID_LOCKOUT_ADDED" : "SMSG_CALENDAR_RAID_LOCKOUT_REMOVED");
|
||||
time_t currTime = time(NULL);
|
||||
|
||||
@@ -31,24 +31,25 @@
|
||||
#include "WorldPacket.h"
|
||||
#include "Cryptography/BigNumber.h"
|
||||
|
||||
struct ItemTemplate;
|
||||
struct AuctionEntry;
|
||||
struct DeclinedName;
|
||||
struct MovementInfo;
|
||||
|
||||
class CalendarEvent;
|
||||
class CalendarInvite;
|
||||
class Creature;
|
||||
class GameObject;
|
||||
class InstanceSave;
|
||||
class Item;
|
||||
class LoginQueryHolder;
|
||||
class Object;
|
||||
class Player;
|
||||
class Unit;
|
||||
class GameObject;
|
||||
class Quest;
|
||||
class SpellCastTargets;
|
||||
class Unit;
|
||||
class Warden;
|
||||
class WorldPacket;
|
||||
class WorldSocket;
|
||||
class LoginQueryHolder;
|
||||
class SpellCastTargets;
|
||||
class Warden;
|
||||
struct AreaTableEntry;
|
||||
struct AuctionEntry;
|
||||
struct DeclinedName;
|
||||
struct ItemTemplate;
|
||||
struct LfgJoinResultData;
|
||||
struct LfgLockStatus;
|
||||
struct LfgPlayerBoot;
|
||||
@@ -56,8 +57,7 @@ struct LfgProposal;
|
||||
struct LfgReward;
|
||||
struct LfgRoleCheck;
|
||||
struct LfgUpdateData;
|
||||
class CalendarEvent;
|
||||
class CalendarInvite;
|
||||
struct MovementInfo;
|
||||
|
||||
enum AccountDataType
|
||||
{
|
||||
@@ -892,7 +892,7 @@ class WorldSession
|
||||
void SendCalendarEventStatus(CalendarEvent const& calendarEvent, CalendarInvite const& invite);
|
||||
void SendCalendarEventModeratorStatusAlert(CalendarInvite const& invite);
|
||||
void SendCalendarClearPendingAction();
|
||||
void SendCalendarRaidLockout(InstanceSave* save, bool add);
|
||||
void SendCalendarRaidLockout(InstanceSave const* save, bool add);
|
||||
void SendCalendarRaidLockoutUpdated(InstanceSave const* save);
|
||||
void SendCalendarCommandResult(CalendarError err, char const* param = NULL);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user