-- Squash:

- In progress implementation of services model.
This commit is contained in:
MapleWheels
2024-09-18 20:54:56 -04:00
committed by Maplewheels
parent 9e957a75b0
commit 01cc1d331b
68 changed files with 3083 additions and 152 deletions
@@ -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
}