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

24 lines
525 B
C#

using UnityEngine.Networking;
namespace RoR2.Networking;
public class EOSNetworkClient : NetworkClient
{
public EOSNetworkConnection eosConnection => (EOSNetworkConnection)base.connection;
public string status => m_AsyncConnect.ToString();
public void Connect()
{
Connect("localhost", 0);
m_AsyncConnect = ConnectState.Connected;
base.connection.ForceInitialize(base.hostTopology);
}
public EOSNetworkClient(NetworkConnection conn)
: base(conn)
{
SetNetworkConnectionClass<EOSNetworkConnection>();
}
}