Track LocalMods as part of monolith
This commit is contained in:
18
LocalMods/More Level Content/CSharp/Client/Networking/NetUtil.cs
Executable file
18
LocalMods/More Level Content/CSharp/Client/Networking/NetUtil.cs
Executable file
@@ -0,0 +1,18 @@
|
||||
using Barotrauma;
|
||||
using Barotrauma.Networking;
|
||||
|
||||
namespace MoreLevelContent.Networking
|
||||
{
|
||||
/// <summary>
|
||||
/// Client
|
||||
/// </summary>
|
||||
public static partial class NetUtil
|
||||
{
|
||||
internal static void SendServer(IWriteMessage outMsg, DeliveryMethod deliveryMethod = DeliveryMethod.Reliable)
|
||||
{
|
||||
if (GameMain.IsSingleplayer) return;
|
||||
GameMain.LuaCs.Networking.Send(outMsg, deliveryMethod);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user