servicepoint-tanks/tanks-backend/TanksServer/Models/PlayerInfo.cs

17 lines
293 B
C#
Raw Normal View History

2024-04-22 19:03:07 +02:00
namespace TanksServer.Models;
internal record struct TankInfo(
2024-04-22 19:44:28 +02:00
int Orientation,
string Magazine,
2024-04-22 19:44:28 +02:00
PixelPosition Position,
bool Moving
);
internal record struct PlayerInfo(
2024-04-22 19:44:28 +02:00
string Name,
Scores Scores,
2024-04-22 20:13:31 +02:00
string Controls,
2024-05-02 21:27:56 +02:00
TankInfo? Tank,
int OpenConnections
2024-04-22 19:44:28 +02:00
);