TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
CalendarPackets.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2008-2016 TrinityCore <http://www.trinitycore.org/>
3  *
4  * This program is free software; you can redistribute it and/or modify it
5  * under the terms of the GNU General Public License as published by the
6  * Free Software Foundation; either version 2 of the License, or (at your
7  * option) any later version.
8  *
9  * This program is distributed in the hope that it will be useful, but WITHOUT
10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11  * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
12  * more details.
13  *
14  * You should have received a copy of the GNU General Public License along
15  * with this program. If not, see <http://www.gnu.org/licenses/>.
16  */
17 
18 #ifndef CalendarPackets_h__
19 #define CalendarPackets_h__
20 
21 #include "ObjectGuid.h"
22 #include "Packet.h"
23 #include "PacketUtilities.h"
24 #include "CalendarMgr.h"
25 
26 namespace WorldPackets
27 {
28  namespace Calendar
29  {
30  class CalendarGetCalendar final : public ClientPacket
31  {
32  public:
34 
35  void Read() override { }
36  };
37 
38  class CalendarGetEvent final : public ClientPacket
39  {
40  public:
42 
43  void Read() override;
44 
46  };
47 
48  class CalendarGuildFilter final : public ClientPacket
49  {
50  public:
52 
53  void Read() override;
54 
56  uint8 MaxLevel = 100;
58  };
59 
61  {
65  };
66 
68  {
69  std::string Title;
70  std::string Description;
73  time_t Time = time_t(0);
76  };
77 
78  class CalendarAddEvent final : public ClientPacket
79  {
80  public:
82 
83  void Read() override;
84 
85  uint32 MaxSize = 100;
87  };
88 
90  {
93  std::string Title;
94  std::string Description;
97  time_t Time = time_t(0);
99  };
100 
101  class CalendarUpdateEvent final : public ClientPacket
102  {
103  public:
105 
106  void Read() override;
107 
110  };
111 
112  class CalendarRemoveEvent final : public ClientPacket
113  {
114  public:
116 
117  void Read() override;
118 
122  };
123 
124  class CalendarCopyEvent final : public ClientPacket
125  {
126  public:
128 
129  void Read() override;
130 
133  time_t Date = time_t(0);
134  };
135 
136  class SCalendarEventInvite final : public ServerPacket
137  {
138  public:
140 
141  WorldPacket const* Write() override;
142 
144  time_t ResponseTime = time_t(0);
145  uint8 Level = 100;
148  uint8 Type = 0;
149  bool ClearPending = false;
151  };
152 
154  {
161  };
162 
164  {
168  time_t ExpireTime = time_t(0);
169  };
170 
172  {
176  };
177 
179  {
181  std::string EventName;
183  time_t Date = time_t(0);
188  };
189 
190  class CalendarSendCalendar final : public ServerPacket
191  {
192  public:
194 
195  WorldPacket const* Write() override;
196 
197  time_t RaidOrigin = time_t(0);
198  time_t ServerTime = time_t(0);
199  time_t ServerNow = time_t(0);
200  std::vector<CalendarSendCalendarInviteInfo> Invites;
201  std::vector<CalendarSendCalendarRaidLockoutInfo> RaidLockouts;
202  std::vector<CalendarSendCalendarRaidResetInfo> RaidResets;
203  std::vector<CalendarSendCalendarEventInfo> Events;
204  };
205 
207  {
210  time_t ResponseTime = time_t(0);
215  std::string Notes;
216  };
217 
218  class CalendarSendEvent final : public ServerPacket
219  {
220  public:
222 
223  WorldPacket const* Write() override;
224 
228  time_t Date = time_t(0);
229  time_t LockDate = time_t(0);
234  std::string Description;
235  std::string EventName;
236  std::vector<CalendarEventInviteInfo> Invites;
237  };
238 
240  {
241  public:
243 
244  WorldPacket const* Write() override;
245 
252  time_t Date = time_t(0);
257  std::string EventName;
258  };
259 
260  class CalendarEventInvite final : public ClientPacket
261  {
262  public:
264 
265  void Read() override;
266 
268  bool IsSignUp = false;
269  bool Creating = true;
271  std::string Name;
272  };
273 
274  class CalendarEventRSVP final : public ClientPacket
275  {
276  public:
278 
279  void Read() override;
280 
284  };
285 
287  {
288  public:
290 
291  WorldPacket const* Write() override;
292 
296  bool ClearPending = false;
297  time_t ResponseTime = time_t(0);
298  time_t Date = time_t(0);
300  };
301 
303  {
304  public:
306 
307  WorldPacket const* Write() override;
308 
312  bool ClearPending = false;
313  };
314 
316  {
317  public:
319 
320  WorldPacket const* Write() override;
321 
325  bool ClearPending = false;
326  };
327 
329  {
330  public:
332 
333  WorldPacket const* Write() override;
334 
336  time_t Date = time_t(0);
339  };
340 
342  {
343  public:
345 
346  WorldPacket const* Write() override { return &_worldPacket; }
347  };
348 
350  {
351  public:
353 
354  WorldPacket const* Write() override;
355 
357  time_t Date = time_t(0);
359  time_t LockDate = time_t(0);
360  time_t OriginalDate = time_t(0);
363  bool ClearPending = false;
364  std::string Description;
365  std::string EventName;
366  };
367 
369  {
370  public:
372 
373  WorldPacket const* Write() override;
374 
376  time_t Date = time_t(0);
377  bool ClearPending = false;
378  };
379 
381  {
382  public:
385 
386  WorldPacket const* Write() override;
387 
389  };
390 
391  class CalendarGetNumPending final : public ClientPacket
392  {
393  public:
395 
396  void Read() override { }
397  };
398 
399  class CalendarEventSignUp final : public ClientPacket
400  {
401  public:
403 
404  void Read() override;
405 
406  bool Tentative = false;
408  };
409 
410  class CalendarRemoveInvite final : public ClientPacket
411  {
412  public:
414 
415  void Read() override;
416 
421  };
422 
423  class CalendarEventStatus final : public ClientPacket
424  {
425  public:
427 
428  void Read() override;
429 
435  };
436 
438  {
439  public:
441 
442  void Read() override;
443 
445  bool Extend = false;
447  };
448 
450  {
451  public:
453 
454  void Read() override;
455 
461  };
462 
463  class CalendarCommandResult final : public ServerPacket
464  {
465  public:
467  CalendarCommandResult(uint8 command, uint8 result, std::string const& name) : ServerPacket(SMSG_CALENDAR_COMMAND_RESULT, 3), Command(command), Result(result), Name(name) { }
468 
469  WorldPacket const* Write() override;
470 
473  std::string Name;
474  };
475 
477  {
478  public:
480 
481  WorldPacket const* Write() override;
482 
488  };
489 
491  {
492  public:
494 
495  WorldPacket const* Write() override;
496 
500  };
501 
503  {
504  public:
506 
507  WorldPacket const* Write() override;
508 
511  time_t ServerTime = 0;
514  };
515 
517  {
518  CalendarEventInitialInviteInfo(ObjectGuid inviteGuid, uint8 level) : InviteGuid(inviteGuid), Level(level) { }
519 
521  uint8 Level = 100;
522  };
523 
525  {
526  public:
528 
529  WorldPacket const* Write() override;
530 
531  std::vector<CalendarEventInitialInviteInfo> Invites;
532  };
533 
535  {
536  public:
538 
539  WorldPacket const* Write() override;
540 
543  time_t Date = time_t(0);
545  };
546 
548  {
549  public:
551  CalendarEventInviteNotesAlert(uint64 eventID, std::string const& notes) : ServerPacket(SMSG_CALENDAR_EVENT_INVITE_NOTES_ALERT, 8 + notes.size()), EventID(eventID), Notes(notes) { }
552 
553  WorldPacket const* Write() override;
554 
556  std::string Notes;
557  };
558 
560  {
561  public:
563 
564  WorldPacket const* Write() override;
565 
568  std::string Notes;
569  bool ClearPending = false;
570  };
571 
572  class CalendarComplain final : public ClientPacket
573  {
574  public:
576 
577  void Read() override;
578 
582  };
583  }
584 }
585 
586 #endif // CalendarPackets_h__
int32 MapID
Definition: CalendarPackets.h:509
bool ClearPending
Definition: CalendarPackets.h:312
CalendarSendCalendar()
Definition: CalendarPackets.h:193
Definition: Opcodes.h:140
Definition: Opcodes.h:134
CalendarEventInviteRemoved()
Definition: CalendarPackets.h:305
bool Extend
Definition: CalendarPackets.h:445
bool ClearPending
Definition: CalendarPackets.h:569
int32 MapID
Definition: CalendarPackets.h:498
uint64 ModeratorID
Definition: CalendarPackets.h:459
ObjectGuid InviteGuid
Definition: CalendarPackets.h:520
bool Creating
Definition: CalendarPackets.h:269
uint8 Status
Definition: CalendarPackets.h:460
uint32 TextureID
Definition: CalendarPackets.h:96
uint8 Command
Definition: CalendarPackets.h:471
Definition: CalendarPackets.h:206
uint64 EventID
Definition: CalendarPackets.h:132
std::vector< CalendarEventInitialInviteInfo > Invites
Definition: CalendarPackets.h:531
uint32 ServerTime
Definition: CalendarPackets.h:486
uint8 Status
Definition: CalendarPackets.h:63
Definition: Opcodes.h:844
Definition: CalendarPackets.h:38
std::string EventName
Definition: CalendarPackets.h:257
uint64 EventID
Definition: CalendarPackets.h:45
CalendarRaidLockoutAdded()
Definition: CalendarPackets.h:479
std::string Name
Definition: CalendarPackets.h:271
uint64 InviteID
Definition: CalendarPackets.h:143
CalendarClearPendingAction()
Definition: CalendarPackets.h:344
Definition: CalendarPackets.h:190
uint64 EventID
Definition: CalendarPackets.h:335
time_t ResponseTime
Definition: CalendarPackets.h:144
uint8 EventType
Definition: CalendarPackets.h:233
uint64 EventID
Definition: CalendarPackets.h:147
uint64 ModeratorID
Definition: CalendarPackets.h:419
int32 TimeRemaining
Definition: CalendarPackets.h:485
int32 NewTimeRemaining
Definition: CalendarPackets.h:513
uint32 Flags
Definition: CalendarPackets.h:230
Definition: Opcodes.h:862
uint32 Flags
Definition: CalendarPackets.h:358
Definition: CalendarPackets.h:399
Definition: CalendarPackets.h:476
uint64 ModeratorID
Definition: CalendarPackets.h:267
CalendarGetCalendar(WorldPacket &&packet)
Definition: CalendarPackets.h:33
CalendarEventInviteStatusAlert()
Definition: CalendarPackets.h:537
void Read() override
Definition: CalendarPackets.cpp:134
time_t ResponseTime
Definition: CalendarPackets.h:210
ObjectGuid Guid
Definition: CalendarPackets.h:417
uint64 InstanceID
Definition: CalendarPackets.h:165
Definition: CalendarPackets.h:48
time_t OriginalDate
Definition: CalendarPackets.h:360
time_t Date
Definition: CalendarPackets.h:543
int32 MapID
Definition: CalendarPackets.h:173
uint64 EventID
Definition: CalendarPackets.h:180
uint64 EventID
Definition: CalendarPackets.h:310
std::vector< CalendarEventInviteInfo > Invites
Definition: CalendarPackets.h:236
Definition: CalendarPackets.h:274
uint8 MaxRankOrder
Definition: CalendarPackets.h:57
uint64 EventID
Definition: CalendarPackets.h:120
Definition: Opcodes.h:139
Definition: Opcodes.h:632
uint64 InviteID
Definition: CalendarPackets.h:458
uint32 DifficultyID
Definition: CalendarPackets.h:484
bool ClearPending
Definition: CalendarPackets.h:377
CalendarCommandResult(uint8 command, uint8 result, std::string const &name)
Definition: CalendarPackets.h:467
uint8 EventType
Definition: CalendarPackets.h:71
int32 TextureID
Definition: CalendarPackets.h:185
CalendarEventStatus(WorldPacket &&packet)
Definition: CalendarPackets.h:426
void Read() override
Definition: CalendarPackets.cpp:151
ObjectGuid InviterGuid
Definition: CalendarPackets.h:157
uint8 Status
Definition: CalendarPackets.h:254
Definition: CalendarPackets.h:572
Definition: Opcodes.h:141
uint64 ModeratorID
Definition: CalendarPackets.h:131
Definition: CalendarPackets.h:67
Definition: Opcodes.h:137
Definition: Opcodes.h:858
uint8 Status
Definition: CalendarPackets.h:324
CalendarEventSignUp(WorldPacket &&packet)
Definition: CalendarPackets.h:402
Definition: CalendarPackets.h:30
time_t ResponseTime
Definition: CalendarPackets.h:297
WorldPacket const * Write() override
Definition: CalendarPackets.cpp:395
Definition: Opcodes.h:127
CalendarRaidLockoutRemoved()
Definition: CalendarPackets.h:493
uint32 DifficultyID
Definition: CalendarPackets.h:446
uint8 Status
Definition: CalendarPackets.h:434
STL namespace.
CalendarRemoveEvent(WorldPacket &&packet)
Definition: CalendarPackets.h:115
WorldPacket const * Write() override
Definition: CalendarPackets.cpp:456
void Read() override
Definition: CalendarPackets.cpp:93
Definition: CalendarPackets.h:368
time_t ServerTime
Definition: CalendarPackets.h:511
uint8 Level
Definition: CalendarPackets.h:211
uint8 ModeratorStatus
Definition: CalendarPackets.h:256
Definition: Opcodes.h:136
bool ClearPending
Definition: CalendarPackets.h:296
Definition: Opcodes.h:138
uint64 EventID
Definition: CalendarPackets.h:356
CalendarEventInviteNotes()
Definition: CalendarPackets.h:562
WorldPacket const * Write() override
Definition: CalendarPackets.cpp:424
WorldPacket const * Write() override
Definition: CalendarPackets.cpp:413
CalendarSendNumPending()
Definition: CalendarPackets.h:383
uint32 Flags
Definition: CalendarPackets.h:337
Definition: CalendarPackets.h:437
Definition: Opcodes.h:129
Definition: CalendarPackets.h:559
void Read() override
Definition: CalendarPackets.h:396
Definition: Opcodes.h:130
uint64 ModeratorID
Definition: CalendarPackets.h:92
int32 Offset
Definition: CalendarPackets.h:175
WorldPacket const * Write() override
Definition: CalendarPackets.cpp:384
Array< CalendarAddEventInviteInfo, CALENDAR_MAX_INVITES > Invites
Definition: CalendarPackets.h:75
uint64 ModeratorID
Definition: CalendarPackets.h:119
uint32 MaxSize
Definition: CalendarPackets.h:108
WorldPacket const * Write() override
Definition: CalendarPackets.cpp:401
uint32 Flags
Definition: CalendarPackets.h:121
time_t Date
Definition: CalendarPackets.h:298
CalendarUpdateEventInfo EventInfo
Definition: CalendarPackets.h:109
WorldPacket _worldPacket
Definition: Packet.h:43
ObjectGuid InvitedByGuid
Definition: CalendarPackets.h:248
uint32 DifficultyID
Definition: CalendarPackets.h:512
uint64 InstanceID
Definition: CalendarPackets.h:497
uint32 DifficultyID
Definition: CalendarPackets.h:499
ObjectGuid OwnerGuid
Definition: CalendarPackets.h:225
WorldPacket const * Write() override
Definition: CalendarPackets.cpp:352
uint64 EventID
Definition: CalendarPackets.h:155
CalendarEventInviteAlert()
Definition: CalendarPackets.h:242
time_t Date
Definition: CalendarPackets.h:357
CalendarEventInviteRemovedAlert()
Definition: CalendarPackets.h:331
bool ClearPending
Definition: CalendarPackets.h:363
CalendarRemoveInvite(WorldPacket &&packet)
Definition: CalendarPackets.h:413
WorldPacket const * Write() override
Definition: CalendarPackets.cpp:466
void Read() override
Definition: CalendarPackets.cpp:128
WorldPacket const * Write() override
Definition: CalendarPackets.cpp:340
void Read() override
Definition: CalendarPackets.cpp:490
std::string Name
Definition: CalendarPackets.h:473
void Read() override
Definition: CalendarPackets.cpp:198
uint8 Moderator
Definition: CalendarPackets.h:159
uint64 ModeratorID
Definition: CalendarPackets.h:432
Definition: CalendarPackets.h:286
std::string Notes
Definition: CalendarPackets.h:568
std::string EventName
Definition: CalendarPackets.h:181
WorldPacket const * Write() override
Definition: CalendarPackets.cpp:433
uint64 EventID
Definition: CalendarPackets.h:567
int32 MapID
Definition: CalendarPackets.h:444
uint64 EventID
Definition: CalendarPackets.h:227
Definition: Opcodes.h:854
bool Tentative
Definition: CalendarPackets.h:406
uint32 Flags
Definition: CalendarPackets.h:98
Definition: CalendarPackets.h:112
Definition: Packet.h:59
CalendarGetEvent(WorldPacket &&packet)
Definition: CalendarPackets.h:41
uint8 Status
Definition: CalendarPackets.h:150
Definition: Opcodes.h:847
uint8 EventType
Definition: CalendarPackets.h:95
std::string EventName
Definition: CalendarPackets.h:365
CalendarGuildFilter(WorldPacket &&packet)
Definition: CalendarPackets.h:51
uint32 MaxSize
Definition: CalendarPackets.h:85
bool ClearPending
Definition: CalendarPackets.h:149
uint64 InviteID
Definition: CalendarPackets.h:420
time_t Date
Definition: CalendarPackets.h:252
std::string Notes
Definition: CalendarPackets.h:215
int32 MapID
Definition: CalendarPackets.h:166
Definition: CalendarPackets.h:89
ObjectGuid InvitedByGUID
Definition: CalendarPackets.h:579
uint8 MinLevel
Definition: CalendarPackets.h:55
std::vector< CalendarSendCalendarRaidLockoutInfo > RaidLockouts
Definition: CalendarPackets.h:201
Definition: Opcodes.h:846
ObjectGuid InviteGuid
Definition: CalendarPackets.h:309
CalendarEventModeratorStatus(WorldPacket &&packet)
Definition: CalendarPackets.h:452
uint8 GetEventType
Definition: CalendarPackets.h:232
Definition: CalendarPackets.h:136
std::string Description
Definition: CalendarPackets.h:70
uint8 Status
Definition: CalendarPackets.h:544
uint8 EventType
Definition: CalendarPackets.h:362
std::string Description
Definition: CalendarPackets.h:364
std::string Description
Definition: CalendarPackets.h:94
Definition: CalendarPackets.h:423
void Read() override
Definition: CalendarPackets.cpp:190
uint8 Moderator
Definition: CalendarPackets.h:213
Definition: Opcodes.h:135
Definition: Packet.h:46
CalendarSendNumPending(uint32 numPending)
Definition: CalendarPackets.h:384
std::string Description
Definition: CalendarPackets.h:234
uint8 Level
Definition: CalendarPackets.h:145
std::string Notes
Definition: CalendarPackets.h:556
CalendarAddEvent(WorldPacket &&packet)
Definition: CalendarPackets.h:81
Definition: Opcodes.h:863
uint8 Level
Definition: CalendarPackets.h:521
CalendarCommandResult()
Definition: CalendarPackets.h:466
uint8 Status
Definition: CalendarPackets.h:212
time_t Date
Definition: CalendarPackets.h:183
bool ClearPending
Definition: CalendarPackets.h:325
int32_t int32
Definition: Define.h:146
uint32_t uint32
Definition: Define.h:150
ObjectGuid InviteGuid
Definition: CalendarPackets.h:299
uint32 DifficultyID
Definition: CalendarPackets.h:167
ObjectGuid InviteGuid
Definition: CalendarPackets.h:146
uint64 EventID
Definition: CalendarPackets.h:407
uint64_t uint64
Definition: Define.h:149
time_t Date
Definition: CalendarPackets.h:228
void Read() override
Definition: CalendarPackets.cpp:184
Definition: Opcodes.h:128
Definition: Opcodes.h:859
SetSavedInstanceExtend(WorldPacket &&packet)
Definition: CalendarPackets.h:440
bool IsSignUp
Definition: CalendarPackets.h:268
WorldPacket const * Write() override
Definition: CalendarPackets.cpp:223
WorldPacket const * Write() override
Definition: CalendarPackets.cpp:328
CalendarAddEventInfo EventInfo
Definition: CalendarPackets.h:86
uint32 Flags
Definition: CalendarPackets.h:293
time_t ServerNow
Definition: CalendarPackets.h:199
int32 TextureID
Definition: CalendarPackets.h:72
uint8 Moderator
Definition: CalendarPackets.h:64
WorldPacket const * Write() override
Definition: CalendarPackets.cpp:239
Definition: Opcodes.h:857
ObjectGuid EventGuildID
Definition: CalendarPackets.h:247
uint64 InviteID
Definition: CalendarPackets.h:281
uint64 EventID
Definition: CalendarPackets.h:581
void Read() override
Definition: CalendarPackets.cpp:158
CalendarEventInviteNotesAlert()
Definition: CalendarPackets.h:550
CalendarCopyEvent(WorldPacket &&packet)
Definition: CalendarPackets.h:127
uint8 Status
Definition: CalendarPackets.h:295
uint64 EventID
Definition: CalendarPackets.h:457
ObjectGuid EventGuildID
Definition: CalendarPackets.h:186
time_t Date
Definition: CalendarPackets.h:336
Definition: BattlegroundMgr.h:57
ObjectGuid EventGuildID
Definition: CalendarPackets.h:226
uint32 Flags
Definition: CalendarPackets.h:311
void Read() override
Definition: CalendarPackets.cpp:172
std::vector< CalendarSendCalendarInviteInfo > Invites
Definition: CalendarPackets.h:200
Definition: CalendarPackets.h:239
ObjectGuid Guid
Definition: CalendarPackets.h:62
uint32 Flags
Definition: CalendarPackets.h:184
CalendarEventRemovedAlert()
Definition: CalendarPackets.h:371
time_t Time
Definition: CalendarPackets.h:97
uint64 InviteID
Definition: CalendarPackets.h:433
CalendarEventInitialInvites()
Definition: CalendarPackets.h:527
uint32 Flags
Definition: CalendarPackets.h:74
uint64 InviteID
Definition: CalendarPackets.h:249
time_t LockDate
Definition: CalendarPackets.h:229
void Read() override
Definition: CalendarPackets.cpp:214
uint32 Flags
Definition: CalendarPackets.h:251
Definition: Opcodes.h:856
ObjectGuid InviteGuid
Definition: CalendarPackets.h:322
Definition: Opcodes.h:848
std::vector< CalendarSendCalendarRaidResetInfo > RaidResets
Definition: CalendarPackets.h:202
uint64 EventID
Definition: CalendarPackets.h:555
uint64 EventID
Definition: CalendarPackets.h:91
Definition: Opcodes.h:132
CalendarEventInvite(WorldPacket &&packet)
Definition: CalendarPackets.h:263
ObjectGuid OwnerGuid
Definition: CalendarPackets.h:246
Definition: CalendarPackets.h:380
uint8 MaxLevel
Definition: CalendarPackets.h:56
std::vector< CalendarSendCalendarEventInfo > Events
Definition: CalendarPackets.h:203
Definition: CalendarPackets.h:101
Definition: CalendarPackets.h:410
ObjectGuid Guid
Definition: CalendarPackets.h:430
uint64 EventID
Definition: CalendarPackets.h:323
ObjectGuid Guid
Definition: CalendarPackets.h:208
Definition: Opcodes.h:850
CalendarRaidLockoutUpdated()
Definition: CalendarPackets.h:505
int32 MapID
Definition: CalendarPackets.h:487
std::string Title
Definition: CalendarPackets.h:93
uint8 InviteType
Definition: CalendarPackets.h:214
ObjectGuid OwnerGuid
Definition: CalendarPackets.h:187
std::string EventName
Definition: CalendarPackets.h:235
WorldPacket const * Write() override
Definition: CalendarPackets.h:346
WorldPacket const * Write() override
Definition: CalendarPackets.cpp:313
uint8_t uint8
Definition: Define.h:152
CalendarEventRSVP(WorldPacket &&packet)
Definition: CalendarPackets.h:277
Definition: Opcodes.h:845
uint8 Status
Definition: CalendarPackets.h:283
Definition: CalendarPackets.h:260
time_t LockDate
Definition: CalendarPackets.h:359
CalendarEventInitialInviteInfo(ObjectGuid inviteGuid, uint8 level)
Definition: CalendarPackets.h:518
CalendarGetNumPending(WorldPacket &&packet)
Definition: CalendarPackets.h:394
WorldPacket const * Write() override
Definition: CalendarPackets.cpp:362
Definition: Opcodes.h:852
time_t Time
Definition: CalendarPackets.h:73
uint64 EventID
Definition: CalendarPackets.h:541
uint64 InstanceID
Definition: CalendarPackets.h:483
uint64 EventID
Definition: CalendarPackets.h:294
uint8 Result
Definition: CalendarPackets.h:472
uint64 InviteID
Definition: CalendarPackets.h:209
uint8 EventType
Definition: CalendarPackets.h:182
Definition: ObjectGuid.h:189
int32 TextureID
Definition: CalendarPackets.h:253
CalendarSendEvent()
Definition: CalendarPackets.h:221
Definition: Opcodes.h:860
uint64 EventID
Definition: CalendarPackets.h:418
CalendarEventInviteNotesAlert(uint64 eventID, std::string const &notes)
Definition: CalendarPackets.h:551
time_t ExpireTime
Definition: CalendarPackets.h:168
uint64 EventID
Definition: CalendarPackets.h:270
uint8 InviteType
Definition: CalendarPackets.h:160
uint8 EventType
Definition: CalendarPackets.h:255
void Read() override
Definition: CalendarPackets.h:35
uint32 Flags
Definition: CalendarPackets.h:542
Definition: CalendarPackets.h:218
Definition: Opcodes.h:861
uint32 Duration
Definition: CalendarPackets.h:174
int32 TextureID
Definition: CalendarPackets.h:361
SCalendarEventInvite()
Definition: CalendarPackets.h:139
Type
Type of JSON value.
Definition: rapidjson.h:642
void Read() override
Definition: CalendarPackets.cpp:207
Definition: Opcodes.h:133
WorldPacket const * Write() override
Definition: CalendarPackets.cpp:290
void Read() override
Definition: CalendarPackets.cpp:165
Definition: CalendarPackets.h:124
void Read() override
Definition: CalendarPackets.cpp:88
WorldPacket const * Write() override
Definition: CalendarPackets.cpp:477
CalendarUpdateEvent(WorldPacket &&packet)
Definition: CalendarPackets.h:104
uint64 EventID
Definition: CalendarPackets.h:431
time_t Date
Definition: CalendarPackets.h:376
uint64 InviteID
Definition: CalendarPackets.h:580
Definition: CalendarPackets.h:78
uint64 EventID
Definition: CalendarPackets.h:250
WorldPacket const * Write() override
Definition: CalendarPackets.cpp:444
Definition: Opcodes.h:131
time_t RaidOrigin
Definition: CalendarPackets.h:197
Definition: WorldPacket.h:26
Definition: CalendarPackets.h:349
ObjectGuid Guid
Definition: CalendarPackets.h:456
uint8 Status
Definition: CalendarPackets.h:338
CalendarEventInviteModeratorStatus()
Definition: CalendarPackets.h:318
uint64 EventID
Definition: CalendarPackets.h:375
ObjectGuid InviteGuid
Definition: CalendarPackets.h:566
time_t ServerTime
Definition: CalendarPackets.h:198
int32 TextureID
Definition: CalendarPackets.h:231
WorldPacket const * Write() override
Definition: CalendarPackets.cpp:264
Definition: CalendarPackets.h:463
CalendarEventInviteStatus()
Definition: CalendarPackets.h:289
CalendarComplain(WorldPacket &&packet)
Definition: CalendarPackets.h:575
uint64 EventID
Definition: CalendarPackets.h:282
uint32 NumPending
Definition: CalendarPackets.h:388
uint64 InviteID
Definition: CalendarPackets.h:156
time_t Date
Definition: CalendarPackets.h:133
CalendarEventUpdatedAlert()
Definition: CalendarPackets.h:352
uint8 Status
Definition: CalendarPackets.h:158
Definition: PacketUtilities.h:68
Definition: CalendarPackets.h:391
std::string Title
Definition: CalendarPackets.h:69
int32 OldTimeRemaining
Definition: CalendarPackets.h:510