public static Command write(QuestDefinitionModule quest)
        {
            var cmd = new ByteArray(ID);

            cmd.AddBytes(quest.write());
            return(new Command(cmd.ToByteArray(), false));
        }
        public static Command write(QuestDefinitionModule definition, List <QuestChallengeRatingModule> ratings, QuestChallengeRatingModule playersRating)
        {
            var cmd = new ByteArray(ID);

            cmd.AddBytes(definition.write());
            cmd.Integer(ratings.Count);
            foreach (var rating in ratings)
            {
                cmd.AddBytes(rating.write());
            }
            cmd.AddBytes(playersRating.write());
            return(new Command(cmd.ToByteArray(), false));
        }