SboxSuperuser/Api/IAdminChatResultEvent.cs

An interface for a client-side scene component that listens for authenticated private admin command replies. It extends the scene event interface and declares a single handler OnAdminChatResult that receives AdminChatResultEvent messages.

using Sandbox;

namespace SboxSuperuser;

/// <summary>Implement on a client scene component to render authenticated private command replies.</summary>
public interface IAdminChatResultEvent : ISceneEvent<IAdminChatResultEvent>
{
	/// <summary>Receives one host reply locally; disabled or removed scene components are not subscribed.</summary>
	void OnAdminChatResult( AdminChatResultEvent message );
}