Started on spawning a player actor

This commit is contained in:
AeonLucid
2022-01-13 02:00:36 +01:00
parent a7399a1960
commit 6cd03d9ff7
9 changed files with 173 additions and 20 deletions
@@ -1,6 +1,18 @@
namespace Prospect.Unreal.Net.Player;
using Prospect.Unreal.Runtime;
public class APlayerController
namespace Prospect.Unreal.Net.Actors;
public class APlayerController : AController
{
/// <summary>
/// Index identifying players using the same base connection (splitscreen clients)
/// Used by netcode to match replicated PlayerControllers to the correct splitscreen viewport and child connection
/// replicated via special internal code, not through normal variable replication
/// </summary>
public byte NetPlayerIndex { get; set; }
public void SetPlayer(UPlayer inPlayer)
{
throw new NotImplementedException();
}
}