public static void Postfix(bool __result, ref byte park, DistrictPark.ParkType type, DistrictPark.ParkLevel level) { if (__result && !IgnoreHelper.IsIgnored()) { ulong seed = DistrictManager.instance.m_parks.m_buffer[park].m_randomSeed; Command.SendToAll(new ParkCreateCommand { ParkId = park, ParkType = type, ParkLevel = level, Seed = seed }); } }
public static void Postfix(bool __result, ref byte park, DistrictPark.ParkType type, DistrictPark.ParkLevel level) { if (__result && !DistrictHandler.IgnoreParks.Contains(park)) { Command.SendToAll(new ParkCreateCommand { ParkID = park, ParkType = type, ParkLevel = level, }); } }