internal static ServerMessage Compose(GameClient Session, Quest Quest)
        {
            var Message = new ServerMessage(Outgoing.ActivateQuest);

            QuestListComposer.SerializeQuest(Message, Session, Quest, Quest.Category);
            return(Message);
        }
Beispiel #2
0
        internal static ServerMessage Compose(GameClient Session, Quest Quest)
        {
            ServerMessage Message = new ServerMessage(802);

            QuestListComposer.SerializeQuest(Message, Session, Quest, Quest.Category);
            return(Message);
        }
        public static ServerPacket Compose(GameClient Session, Quest Quest)
        {
            ServerPacket Message = new ServerPacket(ServerPacketHeader.QuestStartedMessageComposer);

            QuestListComposer.SerializeQuest(Message, Session, Quest, Quest.Category);
            return(Message);
        }
        internal static ServerMessage Compose(GameClient Session, Quest Quest)
        {
            var Message = new ServerMessage(Outgoing.CompleteQuests);

            QuestListComposer.SerializeQuest(Message, Session, Quest, Quest.Category);
            Message.AppendBoolean(true);
            return(Message);
        }