1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-23 06:44:38 +01:00

Add plugin hook for map save

This commit is contained in:
Ted John
2022-03-07 20:40:48 +00:00
committed by GitHub
parent 11ce0e8f8a
commit b7b8816db7
12 changed files with 26 additions and 22 deletions

View File

@@ -31,6 +31,7 @@ static const EnumMap<HOOK_TYPE> HooksLookupTable({
{ "action.location", HOOK_TYPE::ACTION_LOCATION },
{ "guest.generation", HOOK_TYPE::GUEST_GENERATION },
{ "vehicle.crash", HOOK_TYPE::VEHICLE_CRASH },
{ "map.save", HOOK_TYPE::MAP_SAVE },
});
HOOK_TYPE OpenRCT2::Scripting::GetHookType(const std::string& name)