mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-02-05 16:39:08 +01:00
Core/PacketIO: Updated packet structures to 8.0.1
This commit is contained in:
@@ -79,8 +79,7 @@ void WorldSession::HandleCalendarGetCalendar(WorldPackets::Calendar::CalendarGet
|
||||
WorldPackets::Calendar::CalendarSendCalendarEventInfo eventInfo;
|
||||
eventInfo.EventID = event->GetEventId();
|
||||
eventInfo.Date = event->GetDate();
|
||||
Guild* guild = sGuildMgr->GetGuildById(event->GetGuildId());
|
||||
eventInfo.EventGuildID = guild ? guild->GetGUID() : ObjectGuid::Empty;
|
||||
eventInfo.EventClubID = event->GetGuildId();
|
||||
eventInfo.EventName = event->GetTitle();
|
||||
eventInfo.EventType = event->GetType();
|
||||
eventInfo.Flags = event->GetFlags();
|
||||
|
||||
Reference in New Issue
Block a user