public CheckQuestMethodsPair(MainLua mainLua, LuaFunction a, LuaFunction b)
 {
     TargetMessageMethod = a; TallyMethod = b;
     mainLua.AddToCheckQuestMethod(this);
 }
 public CheckQuestMethodsPair(MainLua mainLua, LuaFunction a, LuaFunction b, string targetTableName, LuaFunction check, string objective)
 {
     TargetMessageMethod = a; TallyMethod = b;
     mainLua.AddToCheckQuestMethod(this);
     mainLua.AddToObjectiveTypes(targetTableName, new GenericTargetPair(check, objective));
 }
 public CheckQuestMethodsPair(MainLua mainLua, LuaFunction a, LuaFunction b, string oneLineObjective)
 {
     TargetMessageMethod = a; TallyMethod = b;
     mainLua.AddToCheckQuestMethod(this);
     mainLua.AddToObjectiveTypes(oneLineObjective);
 }
Example #4
0
 public CheckQuestItem(MainLua mainLua, LuaFunction checkFunction, string objectiveType) : base(mainLua, IsTargetSetMessageIdForItem, TallyItemTargets, "itemTargets", checkFunction, objectiveType)
 {
 }
Example #5
0
 public void BuildComponent(MainLua script)
 {
     script.AddCodeToScript(GetComponent());
 }
Example #6
0
 public CheckQuestGenericEnemy(MainLua mainLua) : base(mainLua, IsTargetSetMessageIdForGenericEnemy, TallyGenericTargets)
 {
 }
Example #7
0
 public CheckQuestGenericEnemy(MainLua mainLua, LuaFunction checkFunction, string objectiveType) : base(mainLua, IsTargetSetMessageIdForGenericEnemy, TallyGenericTargets, "genericTargets", checkFunction, objectiveType)
 {
 }
Example #8
0
 public CheckQuestAnimal(MainLua mainLua, string objectiveType) : base(mainLua, IsTargetSetMessageIdForAnimal, TallyAnimalTargets, "animalObjective = " + objectiveType)
 {
 }