Skip to content

Latest commit

 

History

History
20 lines (17 loc) · 573 Bytes

README.md

File metadata and controls

20 lines (17 loc) · 573 Bytes

Authoritative Client Server Sandbox

Things to investigate

  • Investigate code generation to implement Send And Receive
  • Investigate contained data types to reduce boilerplate in Receive code. For example:
    public struct ClientHeartBeatData
    {
      public MessageTypeId MessageTypeId => MessageTypeId.ClientHeartBeat;
      public float clientTimeSec;
    }
    
    [MemoryPackable]
    public partial struct ClientHeartBeat : IMessage
    {
      public ClientHeartBeatData data;
    }```
  • Investigate code generation to implement MemoryPackable from plain structs.