Esempio n. 1
0
 /// <inheritdoc />
 public SMSG_DESTROY_OBJECT_Payload([NotNull] ObjectGuid destroyedObject, bool isForDeath)
     : this()
 {
     DestroyedObject = destroyedObject ?? throw new ArgumentNullException(nameof(destroyedObject));
     IsForDeath      = isForDeath;
 }
Esempio n. 2
0
 public CMSG_QUESTGIVER_HELLO_Payload([NotNull] ObjectGuid target)
     : this()
 {
     Target = target ?? throw new ArgumentNullException(nameof(target));
 }
        } = 1;                                        //Usually 1, never seen it not 1 yet.

        public CMSG_QUESTGIVER_QUERY_QUEST_Payload([NotNull] ObjectGuid questGiver, int questId)
            : this()
        {
            QuestGiver = questGiver ?? throw new ArgumentNullException(nameof(questGiver));
            QuestId    = questId;
        }