DocumentationCore Protocol

🎮 C# SDK (Coming Soon)

Native, zero-copy messaging for Unity, Godot, and .NET.

🗓️ Status: In Development

The C# SDK is being architected specifically for gaming environments. We are targeting a Q2 2026 release with full Unity package support.

Performance First

PaindaProtocol is built for games. Our C# client focuses on:

  • Allocation-Free Logic: Utilizing Span<T> and Memory<T> to avoid GC pressure.
  • Unity Compatibility: Native support for MonoBehaviour and Task-based async patterns.
  • Delta Buffering: In-place state patching for 60 FPS state-sync.

Technical Roadmap

  1. Header V2 Binary Framing (Complete)
  2. WebSocket Client Integration (In-Progress)
  3. Delta Engine Patching Logic
  4. Unity Package (.unitypackage / UPM) wrapper

Unity Integration Preview

// Example of what we are building
public class GameClient : MonoBehaviour {
    private PPClient client;

    async void Start() {
        client = new PPClient("ws://localhost:3000");
        await client.ConnectAsync();
        
        client.On("roomState", (state) => {
            UpdateLevel(state);
        });
    }
}