Table of Contents

Namespace SteamNetworkLib.Models

Classes

DataSyncMessage

Represents a data synchronization message for sharing key-value data between players. Used for synchronizing game state, configuration data, or any structured information across the lobby.

EventMessage

Represents an event message for broadcasting system events, game events, and notifications between players. Supports advanced features like priority levels, targeting, acknowledgments, and expiration.

FileTransferMessage

Represents a file transfer message for sharing files between players in chunks. Supports chunked file transfer to handle large files that exceed network packet size limits.

HeartbeatMessage

Represents a heartbeat message for connection monitoring, latency measurement, and keepalive functionality. Used to monitor P2P network performance.

LobbyInfo

Represents information about a Steam lobby including its metadata and current state. Contains all essential details needed to identify and manage a lobby session.

MemberInfo

Represents information about a lobby member including their identity and status. Contains all essential details needed to identify and manage a player in a lobby.

P2PMessage

Base class for all P2P messages in SteamNetworkLib. Provides common functionality for serialization, deserialization, and message metadata.

StreamMessage

Represents a universal real-time streaming message for audio, video, or continuous data streams. Supports compression, quality settings, and proper sequencing for low-latency communication. Optimized for streaming applications that require minimal delay and high throughput.

TextMessage

Represents a simple text message for P2P communication between players. This is the most basic message type for sending plain text content.