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); }
public CheckQuestItem(MainLua mainLua, LuaFunction checkFunction, string objectiveType) : base(mainLua, IsTargetSetMessageIdForItem, TallyItemTargets, "itemTargets", checkFunction, objectiveType) { }
public void BuildComponent(MainLua script) { script.AddCodeToScript(GetComponent()); }
public CheckQuestGenericEnemy(MainLua mainLua) : base(mainLua, IsTargetSetMessageIdForGenericEnemy, TallyGenericTargets) { }
public CheckQuestGenericEnemy(MainLua mainLua, LuaFunction checkFunction, string objectiveType) : base(mainLua, IsTargetSetMessageIdForGenericEnemy, TallyGenericTargets, "genericTargets", checkFunction, objectiveType) { }
public CheckQuestAnimal(MainLua mainLua, string objectiveType) : base(mainLua, IsTargetSetMessageIdForAnimal, TallyAnimalTargets, "animalObjective = " + objectiveType) { }