Funkční komunikace mezi jedním clientem a serverem
This commit is contained in:
commit
3f235f6e04
44 changed files with 1030 additions and 0 deletions
11
PacketLib/UpdatePlayerPacket.cs
Normal file
11
PacketLib/UpdatePlayerPacket.cs
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
namespace PacketLib;
|
||||
|
||||
public class UpdatePlayerPacket {
|
||||
// public PlayerState stateP1{ get; set; }
|
||||
// public PlayerState stateP2{ get; set; }
|
||||
|
||||
// TODO: implement anti-desync measures by comparing server and client states
|
||||
|
||||
public GameEvent[] events { get; set; }
|
||||
// public EventQueue eventQueue { get; set; }
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue