diff --git a/src/script/api/ai/ai_event_types.hpp.sq b/src/script/api/ai/ai_event_types.hpp.sq --- a/src/script/api/ai/ai_event_types.hpp.sq +++ b/src/script/api/ai/ai_event_types.hpp.sq @@ -377,3 +377,17 @@ void SQAIEventCompanyTown_Register(Squir SQAIEventCompanyTown.PostRegister(engine); } + + +template <> const char *GetClassName() { return "AIEventExclusiveTransportRights"; } + +void SQAIEventExclusiveTransportRights_Register(Squirrel *engine) +{ + DefSQClass SQAIEventExclusiveTransportRights("AIEventExclusiveTransportRights"); + SQAIEventExclusiveTransportRights.PreRegister(engine, "AIEventCompanyTown"); + SQAIEventExclusiveTransportRights.AddConstructor(engine, "xii"); + + SQAIEventExclusiveTransportRights.DefSQStaticMethod(engine, &ScriptEventExclusiveTransportRights::Convert, "Convert", 2, ".x"); + + SQAIEventExclusiveTransportRights.PostRegister(engine); +}