You are viewing a potentially older version of this package. View all versions.
cn_xc-TimeControlLib-0.1.0 icon

TimeControlLib

时间控制 API 库(闭源):提供 Slow / Fast / Restore,全房间同步时间缩放。供其它模组调用。

Date uploaded 2 hours ago
Version 0.1.0
Download link cn_xc-TimeControlLib-0.1.0.zip
Downloads 51
Dependency string cn_xc-TimeControlLib-0.1.0

This mod requires the following mods to function

BepInEx-BepInExPack-5.4.2100 icon
BepInEx-BepInExPack

BepInEx pack for Mono Unity games. Preconfigured and ready to use.

Preferred version: 5.4.2100

README

TimeControlLib

时间控制 API 库,为其它模组提供「世界减速 / 加速」能力。

⚠️ 未经过多人联机测试,功能随时可能改动。

交流:#腾讯频道:pd77525911


用途

本库把时间缩放逻辑封装成公共能力。

如果你只是普通玩家:不需要单独安装,安装依赖它的模组时会自动带上。

特性

  • 房主调用后写入房间属性,所有装了本库的客户端同步应用同一倍率
  • 减速时自动放大本地玩家的移动/冲刺/蹲行速度(世界慢、人不慢)
  • 支持带时长的调用,到期自动恢复并广播
  • 库销毁时强制恢复 Time.timeScale = 1,不会把游戏卡在慢速

版权

Copyright (c) 2026 cn_xc. All rights reserved.

本库为闭源专有软件,仅分发编译后的 DLL;禁止反编译、修改、单独二次分发。 完整条款见包内 LICENSE。

CHANGELOG

[0.1.0]

⚠️ 未经过多人联机测试,功能随时可能改动。

  • 首个版本:时间缩放 API(Slow / Fast / Apply / Restore / ScaleChanged)
  • 全房间同步(房间属性 cn_xc.TimeControl.Scale)
  • 玩家速度补偿、到期自动恢复、销毁兜底
  • 加入版权声明(程序集 + 运行时日志 + LICENSE)