火龙MOD网
首页游戏库玩家合集工具辅助
游戏库/致命公司/前置运行/前置依赖运行库与拓展接口 (CSync)

前置依赖运行库与拓展接口 (CSync)

适用版本:v68 / 2026最新版MOD 版本:v5.0.1文件大小:72.2 KB更新日期:2026-11-17

### 【模组详细说明与实操指南】

# CSync <img align="right" width="128" height="128" src="https://github.com/lc-sigurd/CSync/raw/main/CSync/assets/icons/icon.png">

A BepInEx configuration file syncing library.

This library will help you force clients to have the same settings as the host!

> [!IMPORTANT]

> - This is **NOT** a standalone mod, it is intended for mod developers and does nothing on its own!<br>

> - This does **NOT** edit or replace config files directly, everything is done in-memory.<br>

> - It will **NOT** sync configs from mods that aren't dependent upon it.<br>

> - CSync uses Unity Netcode's **NetworkBehaviour** with **NetworkList** to sync values.

## Disclaimer

This project is a **fork** of the original CSync project authored by

@Owen3H.

## Features

- A serializable, drop-in replacement for `ConfigEntry`: `SyncedEntry`

- No seperate config file system, retains BepInEx support

- Uses `TomlTypeConverter`, the same system used by BepInEx to save/load values to/from config files

- Provides extension methods for conveniently binding `SyncedEntry` instances

## Setup & Usage

A guide to both setting up and using CSync is available on Lethal Wiki.

## License

This project has the `CC BY-NC-SA 4.0` license.<br>

This means the following terms apply:

**Attribution**<br>

If you remix or adapt this project, appropriate credit must be given.<br>

Cloning the repo with intent to contribute is not subject to this.

**NonCommercial**<br>

You may not use this material for commercial purposes.

**ShareAlike**<br>

When remixing, adapting or building upon this material, you must

distribute the new material under the same license as the original.

### 【联机规则与注意事项】

* **联机兼容性**:【开黑全员需装】(涉及联机机制、地图或实体同步,建议房间内所有开黑好友安装同版本)

* **前置依赖需求**:BepInEx-BepInExPack-5.4.2100, Evaisa-FixPluginTypesSerialization-1.1.1

* **当前模组版本**:`5.0.1`

* **适配版本**:针对《致命公司》2026 最新稳定版(v68+)整理适配