using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Content.Shared.Interfaces { /// /// Provides a simple way to check whether calling code is being run by /// Robust.Client, or Robust.Server. Useful for code in Content.Shared /// that wants different behavior depending on if client or server is using it. /// public interface IModuleManager { /// /// Returns true if the code is being run by the client, returns false otherwise. /// bool IsClientModule { get; } /// /// Returns true if the code is being run by the server, returns false otherwise. /// bool IsServerModule { get; } } }