SteamNetworkLib Il2Cpp

版本 v1.6.0·更新於 2026-08-30

A streamlined, object-oriented Steam networking library designed specifically for Schedule 1 mods.

模組介紹 作者原文

SteamNetworkLib

A streamlined, object-oriented Steam networking library designed specifically for MelonLoader mods. This library dramatically simplifies Steam lobby management, data synchronization, and P2P communication compared to using Steamworks.NET directly.

🚀 Key Features

🏢 Lobby Management

  • Create/Join lobbies with async/await support
  • Automatic member tracking with join/leave events
  • Steam overlay integration for invites

📊 Data Synchronization

  • Lobby Data: Global key-value storage for all players
  • Member Data: Per-player data visible to everyone
  • Automatic caching and change detection
  • Event-driven updates when data changes

🌐 P2P Communication

  • Type-safe message system with automatic serialization
  • Broadcast or direct messaging between players
  • Built-in message types: Text, DataSync, DataRequest, FileTransfer
  • Custom message support via inheritance

🔧 MelonLoader Optimized

  • No complex setup - just initialize and go
  • Automatic resource cleanup on dispose
  • Mod compatibility checking (like BetterJukebox track manifests)
  • Error handling that won't crash your mod

🛠️ Requirements

-.NET Framework 4.7.2+ or.NET 6.0+

  • Steamworks.NET (included with game)
  • Steam
  • MelonLoader (for mod development)

📄 License

This project is licensed under the MIT License

Third-Party Dependencies

SteamNetworkLib uses several third-party libraries, all of which are compatible with the MIT License:

  • Steamworks.NET (MIT License) - Steam API wrapper
  • OpusSharp (MIT License) - Audio compression for streaming examples (Mono runtime only)
  • MelonLoader (MIT License) - Mod loader framework (examples only)

Note: OpusSharp is only used in Mono builds due to IL2CPP compatibility issues.

Disclaimer

This library is provided "as-is" under the MIT License. The author is not responsible for any misuse, damages, or violations arising from the use of this wrapper. Users are responsible for complying with Valve’s Steamworks SDK license and any applicable laws.

Built for the Schedule 1 modding community

Making Steam networking accessible to everyone.

安裝與使用 安裝:按包內說明操作

  1. 解壓本站下載的壓縮包,先讀包內的 readme / 說明檔案。
  2. 多數模組依賴遊戲的模組載入器:常見做法是用社群模組管理器(如 r2modman)選中本遊戲安裝,由管理器自動處理載入器與依賴。
  3. 手動安裝時,把模組檔案放進遊戲目錄下對應的 Mod / plugins 資料夾。
  4. 啟動遊戲確認載入成功;帶「前置依賴」的模組需要把依賴一併安裝。

不同模組的安裝位置差異較大,包內說明是最可靠的依據。

檔案與校驗

檔案名稱
SteamNetworkLib_Il2Cpp-1.6.0.zip
檔案大小
88.4 KiB