src/ai/api/ai_townlist_valuator.hpp.sq
branchnoai
changeset 9609 f0dbf5850145
parent 9596 8af5a1399842
child 9610 5cebcd43a1ec
equal deleted inserted replaced
9608:6082e2e7e7f5 9609:f0dbf5850145
     9 }; // namespace SQConvert
     9 }; // namespace SQConvert
    10 
    10 
    11 void SQAITownListGetPopulationRegister(Squirrel *engine) {
    11 void SQAITownListGetPopulationRegister(Squirrel *engine) {
    12 	DefSQClass <AITownListGetPopulation> SQAITownListGetPopulation("AITownListGetPopulation");
    12 	DefSQClass <AITownListGetPopulation> SQAITownListGetPopulation("AITownListGetPopulation");
    13 	SQAITownListGetPopulation.PreRegister(engine);
    13 	SQAITownListGetPopulation.PreRegister(engine);
    14 	SQAITownListGetPopulation.AddConstructor(engine);
    14 	SQAITownListGetPopulation.AddConstructor<void (AITownListGetPopulation::*)()>(engine);
    15 
    15 
    16 	SQAITownListGetPopulation.DefSQStaticMethod(engine, &AITownListGetPopulation::GetClassName, "GetClassName", 1, "x");
    16 	SQAITownListGetPopulation.DefSQStaticMethod(engine, &AITownListGetPopulation::GetClassName, "GetClassName", 1, "x");
    17 
    17 
    18 	SQAITownListGetPopulation.PostRegister(engine);
    18 	SQAITownListGetPopulation.PostRegister(engine);
    19 }
    19 }
    27 }; // namespace SQConvert
    27 }; // namespace SQConvert
    28 
    28 
    29 void SQAITownListGetLocationRegister(Squirrel *engine) {
    29 void SQAITownListGetLocationRegister(Squirrel *engine) {
    30 	DefSQClass <AITownListGetLocation> SQAITownListGetLocation("AITownListGetLocation");
    30 	DefSQClass <AITownListGetLocation> SQAITownListGetLocation("AITownListGetLocation");
    31 	SQAITownListGetLocation.PreRegister(engine);
    31 	SQAITownListGetLocation.PreRegister(engine);
    32 	SQAITownListGetLocation.AddConstructor(engine);
    32 	SQAITownListGetLocation.AddConstructor<void (AITownListGetLocation::*)()>(engine);
    33 
    33 
    34 	SQAITownListGetLocation.DefSQStaticMethod(engine, &AITownListGetLocation::GetClassName, "GetClassName", 1, "x");
    34 	SQAITownListGetLocation.DefSQStaticMethod(engine, &AITownListGetLocation::GetClassName, "GetClassName", 1, "x");
    35 
    35 
    36 	SQAITownListGetLocation.PostRegister(engine);
    36 	SQAITownListGetLocation.PostRegister(engine);
    37 }
    37 }