public void Read(IDataInput param1, ICommandLookup lookup)
 {
     this.questCase = lookup.Lookup(param1) as QuestCaseModule;
     this.questCase.Read(param1, lookup);
     param1.ReadShort();
     this.condition = lookup.Lookup(param1) as QuestConditionModule;
     this.condition.Read(param1, lookup);
     param1.ReadShort();
 }
 public QuestElementModule(QuestCaseModule param1 = null, QuestConditionModule param2 = null)
 {
     if (param1 == null)
     {
         this.questCase = new QuestCaseModule();
     }
     else
     {
         this.questCase = param1;
     }
     if (param2 == null)
     {
         this.condition = new QuestConditionModule();
     }
     else
     {
         this.condition = param2;
     }
 }