7 template <> const AIVehicleListLocation *GetParam(ForceType<const AIVehicleListLocation *>, HSQUIRRELVM vm, int index) { SQUserPointer instance; sq_getinstanceup(vm, index, &instance, 0); return (AIVehicleListLocation *)instance; } |
7 template <> const AIVehicleListLocation *GetParam(ForceType<const AIVehicleListLocation *>, HSQUIRRELVM vm, int index) { SQUserPointer instance; sq_getinstanceup(vm, index, &instance, 0); return (AIVehicleListLocation *)instance; } |
8 template <> const AIVehicleListLocation &GetParam(ForceType<const AIVehicleListLocation &>, HSQUIRRELVM vm, int index) { SQUserPointer instance; sq_getinstanceup(vm, index, &instance, 0); return *(AIVehicleListLocation *)instance; } |
8 template <> const AIVehicleListLocation &GetParam(ForceType<const AIVehicleListLocation &>, HSQUIRRELVM vm, int index) { SQUserPointer instance; sq_getinstanceup(vm, index, &instance, 0); return *(AIVehicleListLocation *)instance; } |
9 template <> int Return<AIVehicleListLocation *>(HSQUIRRELVM vm, AIVehicleListLocation *res) { if (res == NULL) { sq_pushnull(vm); return 1; } res->AddRef(); Squirrel::CreateClassInstanceVM(vm, "AIVehicleListLocation", res, NULL, DefSQDestructorCallback<AIVehicleListLocation>); return 1; } |
9 template <> int Return<AIVehicleListLocation *>(HSQUIRRELVM vm, AIVehicleListLocation *res) { if (res == NULL) { sq_pushnull(vm); return 1; } res->AddRef(); Squirrel::CreateClassInstanceVM(vm, "AIVehicleListLocation", res, NULL, DefSQDestructorCallback<AIVehicleListLocation>); return 1; } |
10 }; // namespace SQConvert |
10 }; // namespace SQConvert |
11 |
11 |
12 void SQAIVehicleListLocationRegister(Squirrel *engine) { |
12 void SQAIVehicleListLocation_Register(Squirrel *engine) { |
13 DefSQClass <AIVehicleListLocation> SQAIVehicleListLocation("AIVehicleListLocation"); |
13 DefSQClass <AIVehicleListLocation> SQAIVehicleListLocation("AIVehicleListLocation"); |
14 SQAIVehicleListLocation.PreRegister(engine); |
14 SQAIVehicleListLocation.PreRegister(engine); |
15 SQAIVehicleListLocation.AddConstructor<void (AIVehicleListLocation::*)(), 1>(engine, "x"); |
15 SQAIVehicleListLocation.AddConstructor<void (AIVehicleListLocation::*)(), 1>(engine, "x"); |
16 |
16 |
17 SQAIVehicleListLocation.DefSQStaticMethod(engine, &AIVehicleListLocation::GetClassName, "GetClassName", 1, "x"); |
17 SQAIVehicleListLocation.DefSQStaticMethod(engine, &AIVehicleListLocation::GetClassName, "GetClassName", 1, "x"); |
26 template <> const AIVehicleListEngineType *GetParam(ForceType<const AIVehicleListEngineType *>, HSQUIRRELVM vm, int index) { SQUserPointer instance; sq_getinstanceup(vm, index, &instance, 0); return (AIVehicleListEngineType *)instance; } |
26 template <> const AIVehicleListEngineType *GetParam(ForceType<const AIVehicleListEngineType *>, HSQUIRRELVM vm, int index) { SQUserPointer instance; sq_getinstanceup(vm, index, &instance, 0); return (AIVehicleListEngineType *)instance; } |
27 template <> const AIVehicleListEngineType &GetParam(ForceType<const AIVehicleListEngineType &>, HSQUIRRELVM vm, int index) { SQUserPointer instance; sq_getinstanceup(vm, index, &instance, 0); return *(AIVehicleListEngineType *)instance; } |
27 template <> const AIVehicleListEngineType &GetParam(ForceType<const AIVehicleListEngineType &>, HSQUIRRELVM vm, int index) { SQUserPointer instance; sq_getinstanceup(vm, index, &instance, 0); return *(AIVehicleListEngineType *)instance; } |
28 template <> int Return<AIVehicleListEngineType *>(HSQUIRRELVM vm, AIVehicleListEngineType *res) { if (res == NULL) { sq_pushnull(vm); return 1; } res->AddRef(); Squirrel::CreateClassInstanceVM(vm, "AIVehicleListEngineType", res, NULL, DefSQDestructorCallback<AIVehicleListEngineType>); return 1; } |
28 template <> int Return<AIVehicleListEngineType *>(HSQUIRRELVM vm, AIVehicleListEngineType *res) { if (res == NULL) { sq_pushnull(vm); return 1; } res->AddRef(); Squirrel::CreateClassInstanceVM(vm, "AIVehicleListEngineType", res, NULL, DefSQDestructorCallback<AIVehicleListEngineType>); return 1; } |
29 }; // namespace SQConvert |
29 }; // namespace SQConvert |
30 |
30 |
31 void SQAIVehicleListEngineTypeRegister(Squirrel *engine) { |
31 void SQAIVehicleListEngineType_Register(Squirrel *engine) { |
32 DefSQClass <AIVehicleListEngineType> SQAIVehicleListEngineType("AIVehicleListEngineType"); |
32 DefSQClass <AIVehicleListEngineType> SQAIVehicleListEngineType("AIVehicleListEngineType"); |
33 SQAIVehicleListEngineType.PreRegister(engine); |
33 SQAIVehicleListEngineType.PreRegister(engine); |
34 SQAIVehicleListEngineType.AddConstructor<void (AIVehicleListEngineType::*)(), 1>(engine, "x"); |
34 SQAIVehicleListEngineType.AddConstructor<void (AIVehicleListEngineType::*)(), 1>(engine, "x"); |
35 |
35 |
36 SQAIVehicleListEngineType.DefSQStaticMethod(engine, &AIVehicleListEngineType::GetClassName, "GetClassName", 1, "x"); |
36 SQAIVehicleListEngineType.DefSQStaticMethod(engine, &AIVehicleListEngineType::GetClassName, "GetClassName", 1, "x"); |
45 template <> const AIVehicleListUnitNumber *GetParam(ForceType<const AIVehicleListUnitNumber *>, HSQUIRRELVM vm, int index) { SQUserPointer instance; sq_getinstanceup(vm, index, &instance, 0); return (AIVehicleListUnitNumber *)instance; } |
45 template <> const AIVehicleListUnitNumber *GetParam(ForceType<const AIVehicleListUnitNumber *>, HSQUIRRELVM vm, int index) { SQUserPointer instance; sq_getinstanceup(vm, index, &instance, 0); return (AIVehicleListUnitNumber *)instance; } |
46 template <> const AIVehicleListUnitNumber &GetParam(ForceType<const AIVehicleListUnitNumber &>, HSQUIRRELVM vm, int index) { SQUserPointer instance; sq_getinstanceup(vm, index, &instance, 0); return *(AIVehicleListUnitNumber *)instance; } |
46 template <> const AIVehicleListUnitNumber &GetParam(ForceType<const AIVehicleListUnitNumber &>, HSQUIRRELVM vm, int index) { SQUserPointer instance; sq_getinstanceup(vm, index, &instance, 0); return *(AIVehicleListUnitNumber *)instance; } |
47 template <> int Return<AIVehicleListUnitNumber *>(HSQUIRRELVM vm, AIVehicleListUnitNumber *res) { if (res == NULL) { sq_pushnull(vm); return 1; } res->AddRef(); Squirrel::CreateClassInstanceVM(vm, "AIVehicleListUnitNumber", res, NULL, DefSQDestructorCallback<AIVehicleListUnitNumber>); return 1; } |
47 template <> int Return<AIVehicleListUnitNumber *>(HSQUIRRELVM vm, AIVehicleListUnitNumber *res) { if (res == NULL) { sq_pushnull(vm); return 1; } res->AddRef(); Squirrel::CreateClassInstanceVM(vm, "AIVehicleListUnitNumber", res, NULL, DefSQDestructorCallback<AIVehicleListUnitNumber>); return 1; } |
48 }; // namespace SQConvert |
48 }; // namespace SQConvert |
49 |
49 |
50 void SQAIVehicleListUnitNumberRegister(Squirrel *engine) { |
50 void SQAIVehicleListUnitNumber_Register(Squirrel *engine) { |
51 DefSQClass <AIVehicleListUnitNumber> SQAIVehicleListUnitNumber("AIVehicleListUnitNumber"); |
51 DefSQClass <AIVehicleListUnitNumber> SQAIVehicleListUnitNumber("AIVehicleListUnitNumber"); |
52 SQAIVehicleListUnitNumber.PreRegister(engine); |
52 SQAIVehicleListUnitNumber.PreRegister(engine); |
53 SQAIVehicleListUnitNumber.AddConstructor<void (AIVehicleListUnitNumber::*)(), 1>(engine, "x"); |
53 SQAIVehicleListUnitNumber.AddConstructor<void (AIVehicleListUnitNumber::*)(), 1>(engine, "x"); |
54 |
54 |
55 SQAIVehicleListUnitNumber.DefSQStaticMethod(engine, &AIVehicleListUnitNumber::GetClassName, "GetClassName", 1, "x"); |
55 SQAIVehicleListUnitNumber.DefSQStaticMethod(engine, &AIVehicleListUnitNumber::GetClassName, "GetClassName", 1, "x"); |
64 template <> const AIVehicleListAge *GetParam(ForceType<const AIVehicleListAge *>, HSQUIRRELVM vm, int index) { SQUserPointer instance; sq_getinstanceup(vm, index, &instance, 0); return (AIVehicleListAge *)instance; } |
64 template <> const AIVehicleListAge *GetParam(ForceType<const AIVehicleListAge *>, HSQUIRRELVM vm, int index) { SQUserPointer instance; sq_getinstanceup(vm, index, &instance, 0); return (AIVehicleListAge *)instance; } |
65 template <> const AIVehicleListAge &GetParam(ForceType<const AIVehicleListAge &>, HSQUIRRELVM vm, int index) { SQUserPointer instance; sq_getinstanceup(vm, index, &instance, 0); return *(AIVehicleListAge *)instance; } |
65 template <> const AIVehicleListAge &GetParam(ForceType<const AIVehicleListAge &>, HSQUIRRELVM vm, int index) { SQUserPointer instance; sq_getinstanceup(vm, index, &instance, 0); return *(AIVehicleListAge *)instance; } |
66 template <> int Return<AIVehicleListAge *>(HSQUIRRELVM vm, AIVehicleListAge *res) { if (res == NULL) { sq_pushnull(vm); return 1; } res->AddRef(); Squirrel::CreateClassInstanceVM(vm, "AIVehicleListAge", res, NULL, DefSQDestructorCallback<AIVehicleListAge>); return 1; } |
66 template <> int Return<AIVehicleListAge *>(HSQUIRRELVM vm, AIVehicleListAge *res) { if (res == NULL) { sq_pushnull(vm); return 1; } res->AddRef(); Squirrel::CreateClassInstanceVM(vm, "AIVehicleListAge", res, NULL, DefSQDestructorCallback<AIVehicleListAge>); return 1; } |
67 }; // namespace SQConvert |
67 }; // namespace SQConvert |
68 |
68 |
69 void SQAIVehicleListAgeRegister(Squirrel *engine) { |
69 void SQAIVehicleListAge_Register(Squirrel *engine) { |
70 DefSQClass <AIVehicleListAge> SQAIVehicleListAge("AIVehicleListAge"); |
70 DefSQClass <AIVehicleListAge> SQAIVehicleListAge("AIVehicleListAge"); |
71 SQAIVehicleListAge.PreRegister(engine); |
71 SQAIVehicleListAge.PreRegister(engine); |
72 SQAIVehicleListAge.AddConstructor<void (AIVehicleListAge::*)(), 1>(engine, "x"); |
72 SQAIVehicleListAge.AddConstructor<void (AIVehicleListAge::*)(), 1>(engine, "x"); |
73 |
73 |
74 SQAIVehicleListAge.DefSQStaticMethod(engine, &AIVehicleListAge::GetClassName, "GetClassName", 1, "x"); |
74 SQAIVehicleListAge.DefSQStaticMethod(engine, &AIVehicleListAge::GetClassName, "GetClassName", 1, "x"); |
83 template <> const AIVehicleListMaxAge *GetParam(ForceType<const AIVehicleListMaxAge *>, HSQUIRRELVM vm, int index) { SQUserPointer instance; sq_getinstanceup(vm, index, &instance, 0); return (AIVehicleListMaxAge *)instance; } |
83 template <> const AIVehicleListMaxAge *GetParam(ForceType<const AIVehicleListMaxAge *>, HSQUIRRELVM vm, int index) { SQUserPointer instance; sq_getinstanceup(vm, index, &instance, 0); return (AIVehicleListMaxAge *)instance; } |
84 template <> const AIVehicleListMaxAge &GetParam(ForceType<const AIVehicleListMaxAge &>, HSQUIRRELVM vm, int index) { SQUserPointer instance; sq_getinstanceup(vm, index, &instance, 0); return *(AIVehicleListMaxAge *)instance; } |
84 template <> const AIVehicleListMaxAge &GetParam(ForceType<const AIVehicleListMaxAge &>, HSQUIRRELVM vm, int index) { SQUserPointer instance; sq_getinstanceup(vm, index, &instance, 0); return *(AIVehicleListMaxAge *)instance; } |
85 template <> int Return<AIVehicleListMaxAge *>(HSQUIRRELVM vm, AIVehicleListMaxAge *res) { if (res == NULL) { sq_pushnull(vm); return 1; } res->AddRef(); Squirrel::CreateClassInstanceVM(vm, "AIVehicleListMaxAge", res, NULL, DefSQDestructorCallback<AIVehicleListMaxAge>); return 1; } |
85 template <> int Return<AIVehicleListMaxAge *>(HSQUIRRELVM vm, AIVehicleListMaxAge *res) { if (res == NULL) { sq_pushnull(vm); return 1; } res->AddRef(); Squirrel::CreateClassInstanceVM(vm, "AIVehicleListMaxAge", res, NULL, DefSQDestructorCallback<AIVehicleListMaxAge>); return 1; } |
86 }; // namespace SQConvert |
86 }; // namespace SQConvert |
87 |
87 |
88 void SQAIVehicleListMaxAgeRegister(Squirrel *engine) { |
88 void SQAIVehicleListMaxAge_Register(Squirrel *engine) { |
89 DefSQClass <AIVehicleListMaxAge> SQAIVehicleListMaxAge("AIVehicleListMaxAge"); |
89 DefSQClass <AIVehicleListMaxAge> SQAIVehicleListMaxAge("AIVehicleListMaxAge"); |
90 SQAIVehicleListMaxAge.PreRegister(engine); |
90 SQAIVehicleListMaxAge.PreRegister(engine); |
91 SQAIVehicleListMaxAge.AddConstructor<void (AIVehicleListMaxAge::*)(), 1>(engine, "x"); |
91 SQAIVehicleListMaxAge.AddConstructor<void (AIVehicleListMaxAge::*)(), 1>(engine, "x"); |
92 |
92 |
93 SQAIVehicleListMaxAge.DefSQStaticMethod(engine, &AIVehicleListMaxAge::GetClassName, "GetClassName", 1, "x"); |
93 SQAIVehicleListMaxAge.DefSQStaticMethod(engine, &AIVehicleListMaxAge::GetClassName, "GetClassName", 1, "x"); |
102 template <> const AIVehicleListAgeLeft *GetParam(ForceType<const AIVehicleListAgeLeft *>, HSQUIRRELVM vm, int index) { SQUserPointer instance; sq_getinstanceup(vm, index, &instance, 0); return (AIVehicleListAgeLeft *)instance; } |
102 template <> const AIVehicleListAgeLeft *GetParam(ForceType<const AIVehicleListAgeLeft *>, HSQUIRRELVM vm, int index) { SQUserPointer instance; sq_getinstanceup(vm, index, &instance, 0); return (AIVehicleListAgeLeft *)instance; } |
103 template <> const AIVehicleListAgeLeft &GetParam(ForceType<const AIVehicleListAgeLeft &>, HSQUIRRELVM vm, int index) { SQUserPointer instance; sq_getinstanceup(vm, index, &instance, 0); return *(AIVehicleListAgeLeft *)instance; } |
103 template <> const AIVehicleListAgeLeft &GetParam(ForceType<const AIVehicleListAgeLeft &>, HSQUIRRELVM vm, int index) { SQUserPointer instance; sq_getinstanceup(vm, index, &instance, 0); return *(AIVehicleListAgeLeft *)instance; } |
104 template <> int Return<AIVehicleListAgeLeft *>(HSQUIRRELVM vm, AIVehicleListAgeLeft *res) { if (res == NULL) { sq_pushnull(vm); return 1; } res->AddRef(); Squirrel::CreateClassInstanceVM(vm, "AIVehicleListAgeLeft", res, NULL, DefSQDestructorCallback<AIVehicleListAgeLeft>); return 1; } |
104 template <> int Return<AIVehicleListAgeLeft *>(HSQUIRRELVM vm, AIVehicleListAgeLeft *res) { if (res == NULL) { sq_pushnull(vm); return 1; } res->AddRef(); Squirrel::CreateClassInstanceVM(vm, "AIVehicleListAgeLeft", res, NULL, DefSQDestructorCallback<AIVehicleListAgeLeft>); return 1; } |
105 }; // namespace SQConvert |
105 }; // namespace SQConvert |
106 |
106 |
107 void SQAIVehicleListAgeLeftRegister(Squirrel *engine) { |
107 void SQAIVehicleListAgeLeft_Register(Squirrel *engine) { |
108 DefSQClass <AIVehicleListAgeLeft> SQAIVehicleListAgeLeft("AIVehicleListAgeLeft"); |
108 DefSQClass <AIVehicleListAgeLeft> SQAIVehicleListAgeLeft("AIVehicleListAgeLeft"); |
109 SQAIVehicleListAgeLeft.PreRegister(engine); |
109 SQAIVehicleListAgeLeft.PreRegister(engine); |
110 SQAIVehicleListAgeLeft.AddConstructor<void (AIVehicleListAgeLeft::*)(), 1>(engine, "x"); |
110 SQAIVehicleListAgeLeft.AddConstructor<void (AIVehicleListAgeLeft::*)(), 1>(engine, "x"); |
111 |
111 |
112 SQAIVehicleListAgeLeft.DefSQStaticMethod(engine, &AIVehicleListAgeLeft::GetClassName, "GetClassName", 1, "x"); |
112 SQAIVehicleListAgeLeft.DefSQStaticMethod(engine, &AIVehicleListAgeLeft::GetClassName, "GetClassName", 1, "x"); |
121 template <> const AIVehicleListProfitThisYear *GetParam(ForceType<const AIVehicleListProfitThisYear *>, HSQUIRRELVM vm, int index) { SQUserPointer instance; sq_getinstanceup(vm, index, &instance, 0); return (AIVehicleListProfitThisYear *)instance; } |
121 template <> const AIVehicleListProfitThisYear *GetParam(ForceType<const AIVehicleListProfitThisYear *>, HSQUIRRELVM vm, int index) { SQUserPointer instance; sq_getinstanceup(vm, index, &instance, 0); return (AIVehicleListProfitThisYear *)instance; } |
122 template <> const AIVehicleListProfitThisYear &GetParam(ForceType<const AIVehicleListProfitThisYear &>, HSQUIRRELVM vm, int index) { SQUserPointer instance; sq_getinstanceup(vm, index, &instance, 0); return *(AIVehicleListProfitThisYear *)instance; } |
122 template <> const AIVehicleListProfitThisYear &GetParam(ForceType<const AIVehicleListProfitThisYear &>, HSQUIRRELVM vm, int index) { SQUserPointer instance; sq_getinstanceup(vm, index, &instance, 0); return *(AIVehicleListProfitThisYear *)instance; } |
123 template <> int Return<AIVehicleListProfitThisYear *>(HSQUIRRELVM vm, AIVehicleListProfitThisYear *res) { if (res == NULL) { sq_pushnull(vm); return 1; } res->AddRef(); Squirrel::CreateClassInstanceVM(vm, "AIVehicleListProfitThisYear", res, NULL, DefSQDestructorCallback<AIVehicleListProfitThisYear>); return 1; } |
123 template <> int Return<AIVehicleListProfitThisYear *>(HSQUIRRELVM vm, AIVehicleListProfitThisYear *res) { if (res == NULL) { sq_pushnull(vm); return 1; } res->AddRef(); Squirrel::CreateClassInstanceVM(vm, "AIVehicleListProfitThisYear", res, NULL, DefSQDestructorCallback<AIVehicleListProfitThisYear>); return 1; } |
124 }; // namespace SQConvert |
124 }; // namespace SQConvert |
125 |
125 |
126 void SQAIVehicleListProfitThisYearRegister(Squirrel *engine) { |
126 void SQAIVehicleListProfitThisYear_Register(Squirrel *engine) { |
127 DefSQClass <AIVehicleListProfitThisYear> SQAIVehicleListProfitThisYear("AIVehicleListProfitThisYear"); |
127 DefSQClass <AIVehicleListProfitThisYear> SQAIVehicleListProfitThisYear("AIVehicleListProfitThisYear"); |
128 SQAIVehicleListProfitThisYear.PreRegister(engine); |
128 SQAIVehicleListProfitThisYear.PreRegister(engine); |
129 SQAIVehicleListProfitThisYear.AddConstructor<void (AIVehicleListProfitThisYear::*)(), 1>(engine, "x"); |
129 SQAIVehicleListProfitThisYear.AddConstructor<void (AIVehicleListProfitThisYear::*)(), 1>(engine, "x"); |
130 |
130 |
131 SQAIVehicleListProfitThisYear.DefSQStaticMethod(engine, &AIVehicleListProfitThisYear::GetClassName, "GetClassName", 1, "x"); |
131 SQAIVehicleListProfitThisYear.DefSQStaticMethod(engine, &AIVehicleListProfitThisYear::GetClassName, "GetClassName", 1, "x"); |
140 template <> const AIVehicleListProfitLastYear *GetParam(ForceType<const AIVehicleListProfitLastYear *>, HSQUIRRELVM vm, int index) { SQUserPointer instance; sq_getinstanceup(vm, index, &instance, 0); return (AIVehicleListProfitLastYear *)instance; } |
140 template <> const AIVehicleListProfitLastYear *GetParam(ForceType<const AIVehicleListProfitLastYear *>, HSQUIRRELVM vm, int index) { SQUserPointer instance; sq_getinstanceup(vm, index, &instance, 0); return (AIVehicleListProfitLastYear *)instance; } |
141 template <> const AIVehicleListProfitLastYear &GetParam(ForceType<const AIVehicleListProfitLastYear &>, HSQUIRRELVM vm, int index) { SQUserPointer instance; sq_getinstanceup(vm, index, &instance, 0); return *(AIVehicleListProfitLastYear *)instance; } |
141 template <> const AIVehicleListProfitLastYear &GetParam(ForceType<const AIVehicleListProfitLastYear &>, HSQUIRRELVM vm, int index) { SQUserPointer instance; sq_getinstanceup(vm, index, &instance, 0); return *(AIVehicleListProfitLastYear *)instance; } |
142 template <> int Return<AIVehicleListProfitLastYear *>(HSQUIRRELVM vm, AIVehicleListProfitLastYear *res) { if (res == NULL) { sq_pushnull(vm); return 1; } res->AddRef(); Squirrel::CreateClassInstanceVM(vm, "AIVehicleListProfitLastYear", res, NULL, DefSQDestructorCallback<AIVehicleListProfitLastYear>); return 1; } |
142 template <> int Return<AIVehicleListProfitLastYear *>(HSQUIRRELVM vm, AIVehicleListProfitLastYear *res) { if (res == NULL) { sq_pushnull(vm); return 1; } res->AddRef(); Squirrel::CreateClassInstanceVM(vm, "AIVehicleListProfitLastYear", res, NULL, DefSQDestructorCallback<AIVehicleListProfitLastYear>); return 1; } |
143 }; // namespace SQConvert |
143 }; // namespace SQConvert |
144 |
144 |
145 void SQAIVehicleListProfitLastYearRegister(Squirrel *engine) { |
145 void SQAIVehicleListProfitLastYear_Register(Squirrel *engine) { |
146 DefSQClass <AIVehicleListProfitLastYear> SQAIVehicleListProfitLastYear("AIVehicleListProfitLastYear"); |
146 DefSQClass <AIVehicleListProfitLastYear> SQAIVehicleListProfitLastYear("AIVehicleListProfitLastYear"); |
147 SQAIVehicleListProfitLastYear.PreRegister(engine); |
147 SQAIVehicleListProfitLastYear.PreRegister(engine); |
148 SQAIVehicleListProfitLastYear.AddConstructor<void (AIVehicleListProfitLastYear::*)(), 1>(engine, "x"); |
148 SQAIVehicleListProfitLastYear.AddConstructor<void (AIVehicleListProfitLastYear::*)(), 1>(engine, "x"); |
149 |
149 |
150 SQAIVehicleListProfitLastYear.DefSQStaticMethod(engine, &AIVehicleListProfitLastYear::GetClassName, "GetClassName", 1, "x"); |
150 SQAIVehicleListProfitLastYear.DefSQStaticMethod(engine, &AIVehicleListProfitLastYear::GetClassName, "GetClassName", 1, "x"); |
159 template <> const AIVehicleListVehicleType *GetParam(ForceType<const AIVehicleListVehicleType *>, HSQUIRRELVM vm, int index) { SQUserPointer instance; sq_getinstanceup(vm, index, &instance, 0); return (AIVehicleListVehicleType *)instance; } |
159 template <> const AIVehicleListVehicleType *GetParam(ForceType<const AIVehicleListVehicleType *>, HSQUIRRELVM vm, int index) { SQUserPointer instance; sq_getinstanceup(vm, index, &instance, 0); return (AIVehicleListVehicleType *)instance; } |
160 template <> const AIVehicleListVehicleType &GetParam(ForceType<const AIVehicleListVehicleType &>, HSQUIRRELVM vm, int index) { SQUserPointer instance; sq_getinstanceup(vm, index, &instance, 0); return *(AIVehicleListVehicleType *)instance; } |
160 template <> const AIVehicleListVehicleType &GetParam(ForceType<const AIVehicleListVehicleType &>, HSQUIRRELVM vm, int index) { SQUserPointer instance; sq_getinstanceup(vm, index, &instance, 0); return *(AIVehicleListVehicleType *)instance; } |
161 template <> int Return<AIVehicleListVehicleType *>(HSQUIRRELVM vm, AIVehicleListVehicleType *res) { if (res == NULL) { sq_pushnull(vm); return 1; } res->AddRef(); Squirrel::CreateClassInstanceVM(vm, "AIVehicleListVehicleType", res, NULL, DefSQDestructorCallback<AIVehicleListVehicleType>); return 1; } |
161 template <> int Return<AIVehicleListVehicleType *>(HSQUIRRELVM vm, AIVehicleListVehicleType *res) { if (res == NULL) { sq_pushnull(vm); return 1; } res->AddRef(); Squirrel::CreateClassInstanceVM(vm, "AIVehicleListVehicleType", res, NULL, DefSQDestructorCallback<AIVehicleListVehicleType>); return 1; } |
162 }; // namespace SQConvert |
162 }; // namespace SQConvert |
163 |
163 |
164 void SQAIVehicleListVehicleTypeRegister(Squirrel *engine) { |
164 void SQAIVehicleListVehicleType_Register(Squirrel *engine) { |
165 DefSQClass <AIVehicleListVehicleType> SQAIVehicleListVehicleType("AIVehicleListVehicleType"); |
165 DefSQClass <AIVehicleListVehicleType> SQAIVehicleListVehicleType("AIVehicleListVehicleType"); |
166 SQAIVehicleListVehicleType.PreRegister(engine); |
166 SQAIVehicleListVehicleType.PreRegister(engine); |
167 SQAIVehicleListVehicleType.AddConstructor<void (AIVehicleListVehicleType::*)(), 1>(engine, "x"); |
167 SQAIVehicleListVehicleType.AddConstructor<void (AIVehicleListVehicleType::*)(), 1>(engine, "x"); |
168 |
168 |
169 SQAIVehicleListVehicleType.DefSQStaticMethod(engine, &AIVehicleListVehicleType::GetClassName, "GetClassName", 1, "x"); |
169 SQAIVehicleListVehicleType.DefSQStaticMethod(engine, &AIVehicleListVehicleType::GetClassName, "GetClassName", 1, "x"); |