Skip to content
This repository has been archived by the owner on Oct 22, 2024. It is now read-only.

Sandbox.ModAPI.Ingame.IMyIntergridCommunicationSystem.DisableBroadcastListener

Morten Aune Lyrstad edited this page May 8, 2022 · 4 revisions

IndexNamespace IndexIMyIntergridCommunicationSystem

Summary

public void DisableBroadcastListener(IMyBroadcastListener broadcastListener)

Disables given broadcast listener. In case given broadcast listener is not active nothing happens. Instance of this broadcast listener remains valid and all pending messages may be accepted as normal. Disabling broadcast listener also disables it's message callback, if active. Consuming the last pending message will permanently disable the provided listener and it's never going to be activated again. ==> Registering new broadcast lister with the same tag will allocate new listener instance instead.

Parameters

Clone this wiki locally