예제 #1
0
 public CheckQuestMethodsPair(MainLua mainLua, LuaFunction a, LuaFunction b, string oneLineObjective)
 {
     TargetMessageMethod = a; TallyMethod = b;
     mainLua.AddToCheckQuestMethod(this);
     mainLua.AddToObjectiveTypes(oneLineObjective);
 }
예제 #2
0
 public CheckQuestMethodsPair(MainLua mainLua, LuaFunction a, LuaFunction b)
 {
     TargetMessageMethod = a; TallyMethod = b;
     mainLua.AddToCheckQuestMethod(this);
 }
예제 #3
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));
 }