예제 #1
0
 public CheckQuestMethodsPair(MainLua mainLua, LuaFunction a, LuaFunction b)
 {
     TargetMessageMethod = a; TallyMethod = b;
     mainLua.AddToCheckQuestMethod(this);
 }
예제 #2
0
 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));
 }
예제 #3
0
 public CheckQuestMethodsPair(MainLua mainLua, LuaFunction a, LuaFunction b, string oneLineObjective)
 {
     TargetMessageMethod = a; TallyMethod = b;
     mainLua.AddToCheckQuestMethod(this);
     mainLua.AddToObjectiveTypes(oneLineObjective);
 }
예제 #4
0
 public CheckQuestItem(MainLua mainLua, LuaFunction checkFunction, string objectiveType) : base(mainLua, IsTargetSetMessageIdForItem, TallyItemTargets, "itemTargets", checkFunction, objectiveType)
 {
 }
예제 #5
0
 public void BuildComponent(MainLua script)
 {
     script.AddCodeToScript(GetComponent());
 }
예제 #6
0
 public CheckQuestGenericEnemy(MainLua mainLua) : base(mainLua, IsTargetSetMessageIdForGenericEnemy, TallyGenericTargets)
 {
 }
예제 #7
0
 public CheckQuestGenericEnemy(MainLua mainLua, LuaFunction checkFunction, string objectiveType) : base(mainLua, IsTargetSetMessageIdForGenericEnemy, TallyGenericTargets, "genericTargets", checkFunction, objectiveType)
 {
 }
예제 #8
0
 public CheckQuestAnimal(MainLua mainLua, string objectiveType) : base(mainLua, IsTargetSetMessageIdForAnimal, TallyAnimalTargets, "animalObjective = " + objectiveType)
 {
 }