Fix missing ILuaCsNetworking API
This commit is contained in:
@@ -1,6 +1,13 @@
|
||||
namespace Barotrauma.LuaCs.Compatibility;
|
||||
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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user