internal static void InstallEvents() { AvailableBeaconLocationsUpdated_t.Install((AvailableBeaconLocationsUpdated_t x) => { Action onBeaconLocationsUpdated = SteamParties.OnBeaconLocationsUpdated; if (onBeaconLocationsUpdated != null) { onBeaconLocationsUpdated(); } else { } }, false); ActiveBeaconsUpdated_t.Install((ActiveBeaconsUpdated_t x) => { Action onActiveBeaconsUpdated = SteamParties.OnActiveBeaconsUpdated; if (onActiveBeaconsUpdated != null) { onActiveBeaconsUpdated(); } else { } }, false); }
internal static void InstallEvents() { AvailableBeaconLocationsUpdated_t.Install(x => OnBeaconLocationsUpdated?.Invoke()); ActiveBeaconsUpdated_t.Install(x => OnBeaconLocationsUpdated?.Invoke()); }