Files
LuaCsForBarotraumaEP/Barotrauma/BarotraumaShared/SharedSource/LuaCs/Compatibility/ILuaCsNetworking.cs
2026-02-20 19:32:03 -03:00

14 lines
435 B
C#

using Barotrauma.Networking;
namespace Barotrauma.LuaCs.Compatibility;
public interface ILuaCsNetworking : ILuaCsShim
{
void Receive(string netId, LuaCsAction action);
#if SERVER
void Send(IWriteMessage mesage, NetworkConnection connection = null, DeliveryMethod deliveryMethod = DeliveryMethod.Reliable);
#elif CLIENT
void Send(IWriteMessage mesage, DeliveryMethod deliveryMethod = DeliveryMethod.Reliable);
#endif
}