r2mods/ilspy_dump/ror2_csproj/RoR2.Networking/UNETExtensions.cs

13 lines
267 B
C#
Raw Normal View History

2024-10-04 07:26:37 +00:00
using UnityEngine.Networking;
namespace RoR2.Networking;
public static class UNETExtensions
{
public static void ForceInitialize(this NetworkConnection conn, HostTopology hostTopology)
{
int num = 0;
conn.Initialize("localhost", num, num, hostTopology);
}
}