Actor progress

This commit is contained in:
AeonLucid
2022-01-16 23:05:53 +01:00
parent f3b7efca45
commit fe97b7a145
14 changed files with 431 additions and 22 deletions
+2 -2
View File
@@ -36,11 +36,11 @@ internal static class Program
Map = "/Game/ThirdPersonCPP/Maps/ThirdPersonExampleMap"
};
//Task.Run(() => { Thread.Sleep(100); new Client().Connect("127.0.0.1", 7777, worldUrl); });
await using (var world = new ProspectWorld(worldUrl))
await using (var world = new ProspectWorld())
{
world.SetGameInstance(new UGameInstance());
world.SetGameMode(worldUrl);
world.InitializeActorsForPlay(worldUrl, true);
world.Listen();
while (await Tick.WaitForNextTickAsync())
+1 -5
View File
@@ -1,11 +1,7 @@
using Prospect.Unreal.Core;
using Prospect.Unreal.Runtime;
using Prospect.Unreal.Runtime;
namespace Prospect.Server.Game;
public class ProspectWorld : UWorld
{
public ProspectWorld(FUrl url) : base(url)
{
}
}