diff --git a/src/script/api/game/game_event_types.hpp.sq b/src/script/api/game/game_event_types.hpp.sq --- a/src/script/api/game/game_event_types.hpp.sq +++ b/src/script/api/game/game_event_types.hpp.sq @@ -296,3 +296,17 @@ void SQGSEventExclusiveTransportRights_R SQGSEventExclusiveTransportRights.PostRegister(engine); } + + +template <> const char *GetClassName() { return "GSEventRoadReconstruction"; } + +void SQGSEventRoadReconstruction_Register(Squirrel *engine) +{ + DefSQClass SQGSEventRoadReconstruction("GSEventRoadReconstruction"); + SQGSEventRoadReconstruction.PreRegister(engine, "GSEventCompanyTown"); + SQGSEventRoadReconstruction.AddConstructor(engine, "xii"); + + SQGSEventRoadReconstruction.DefSQStaticMethod(engine, &ScriptEventRoadReconstruction::Convert, "Convert", 2, ".x"); + + SQGSEventRoadReconstruction.PostRegister(engine); +}