Change networked packets

This commit is contained in:
derek.holloway committed 2026-08-05 13:57:35 -07:00
1 parent 258b019f1a
commit ac08c7d184
1 file changed
+6 -8
+6 -8
View File
@@ -1,4 +1,5 @@
using System;
using System.Collections.Generic;
using System.Net;
using System.Numerics;
using Mistox.Attributes;
@@ -30,20 +31,17 @@ namespace Mistox.ResevedPackets {
public byte[] InnerPayload { get; set; }
}
// Not implemented
// Packet sent to all clients when a users TCP stream connects to the server
[mPacket]
public class UserConnectedPacket {
public class UserTableObject {
public string UserName { get; set; }
public IPAddress ClientIPAddress { get; set; }
public IPAddress IpAddress { get; set; }
public Vector3 Position { get; set; }
}
// Not implemented
// Packet sent to all clients when a global position update occurrs
[mPacket]
public class UserPositionUpdatePacket {
public string UserName { get; set; }
public Vector3 Position { get; set; }
public class HeartbeatPacket {
public List<UserTableObject> ServerList { get; set; }
}
// Not implimented