Attach position to remote host

This commit is contained in:
derek.holloway committed 2026-08-05 14:20:24 -07:00
1 parent ac08c7d184
commit 909718d8d5
1 file changed
+4 -2
+4 -2
View File
@@ -1,5 +1,6 @@
using System;
using System.Net;
using System.Numerics;
using System.Threading;
using System.Threading.Tasks;
@@ -7,9 +8,10 @@ namespace Mistox.Client {
public class mUDPClient : IDisposable {
public string UserName { get; set; } = ""; // The remote players UserName
public bool Alive { get; set; } = true; // Is the connection alive
public IPEndPoint _remoteHost { get; set; } // The remote IP Address
public bool WithinRange { get; set; } = true; // Is the user close enough?
public Vector3 Position { get; set; } // The remote location of the player
private IPEndPoint _remoteHost { get; set; } // The remote IP Address
private readonly SemaphoreSlim _sendLock = new SemaphoreSlim(1, 1);
private readonly MistoxClient _parent;