More actor and UObject progress

This commit is contained in:
AeonLucid
2022-01-17 23:02:10 +01:00
parent fe97b7a145
commit 458bae0523
24 changed files with 421 additions and 18 deletions
+1 -1
View File
@@ -15,7 +15,7 @@ internal class Client
public async Task<UIpNetDriver> Connect(string ipAddr, int port, FUrl worldUrl)
{
var connection = new UIpNetDriver(System.Net.IPAddress.Parse(ipAddr), port, false);
await using (var world = new ProspectWorld(worldUrl))
await using (var world = new ProspectWorld())
connection.InitConnect(world, new FUrl { Host = System.Net.IPAddress.Parse(ipAddr), Port = port });
UnitConn = connection.ServerConnection;
connection.ServerConnection.Handler?.BeginHandshaking(SendInitialJoin);