Beispiel #1
0
 /// <summary>
 ///     Adds the quests.
 /// </summary>
 /// <param name="message">The message.</param>
 /// <param name="quests">The quests.</param>
 private static void AddQuests(NetworkMessage message, ICollection <IQuestInfo> quests)
 {
     message.AddUInt16((ushort)quests.Count);
     foreach (IQuestInfo quest in quests)
     {
         message.AddQuest(quest);
     }
 }