-- Squash:
- In progress implementation of services model.
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
using System;
|
||||
using Barotrauma.LuaCs.Data;
|
||||
using Barotrauma.LuaCs.Networking;
|
||||
using Barotrauma.Networking;
|
||||
|
||||
namespace Barotrauma.LuaCs.Services;
|
||||
|
||||
public interface INetworkingService : IService
|
||||
{
|
||||
bool IsActive { get; }
|
||||
bool IsSynchronized { get; }
|
||||
bool TryRegisterVar(INetVar var, NetSync mode, ClientPermissions permissions);
|
||||
void UnregisterVar(Guid varId);
|
||||
bool SendEvent(Guid varId);
|
||||
void SendMessageGlobal(string id, string message);
|
||||
void Synchronize();
|
||||
|
||||
#region LegacyAPI
|
||||
|
||||
bool RestrictMessageSize { get; set; }
|
||||
|
||||
#endregion
|
||||
}
|
||||
Reference in New Issue
Block a user