public QuestInfoCommand(QuestDefinitionModule param1 = null, List <QuestChallengeRatingModule> param2 = null, QuestChallengeRatingModule param3 = null)
 {
     if (param1 == null)
     {
         this.definition = new QuestDefinitionModule();
     }
     else
     {
         this.definition = param1;
     }
     if (param2 == null)
     {
         this.ratings = new List <QuestChallengeRatingModule>();
     }
     else
     {
         this.ratings = param2;
     }
     if (param3 == null)
     {
         this.playersRating = new QuestChallengeRatingModule();
     }
     else
     {
         this.playersRating = param3;
     }
 }
 public QuestInitializationCommand(QuestDefinitionModule param1 = null)
 {
     if (param1 == null)
     {
         this.quest = new QuestDefinitionModule();
     }
     else
     {
         this.quest = param1;
     }
 }
 public void Read(IDataInput param1, ICommandLookup lookup)
 {
     this.definition = lookup.Lookup(param1) as QuestDefinitionModule;
     this.definition.Read(param1, lookup);
     this.ratings.Clear();
     for (int i = param1.ReadInt(); i > 0; i--)
     {
         var tmp_0 = lookup.Lookup(param1) as QuestChallengeRatingModule;
         tmp_0.Read(param1, lookup);
         this.ratings.Add(tmp_0);
     }
     param1.ReadShort();
     this.playersRating = lookup.Lookup(param1) as QuestChallengeRatingModule;
     this.playersRating.Read(param1, lookup);
     param1.ReadShort();
 }
 public void Read(IDataInput param1, ICommandLookup lookup)
 {
     this.quest = lookup.Lookup(param1) as QuestDefinitionModule;
     this.quest.Read(param1, lookup);
 }