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

13 lines
267 B
C#

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);
}
}