4 Commits

Author SHA1 Message Date
Yue-bin
023602e364 📃 docs(readme): 补充功能 2026-02-27 02:26:57 +08:00
Yue-bin
dde47af2d8 📃 docs(readme): v3.1.1 2026-02-27 02:25:43 +08:00
Yue-bin
8d7d08b99e ci: 正确的仓库
All checks were successful
Publish Release / build (push) Successful in 1m3s
2026-02-19 18:46:31 +08:00
Yue-bin
8262b70292 ci(gitea): 固定 workflow action 版本以提高安全性
Some checks failed
Publish Release / build (push) Failing after 3s
将 actions/checkout 和 actions/setup-dotnet 从浮动版本标签
更新为固定的提交哈希和特定版本号,防止潜在的安全风险并
确保 CI/CD 构建的可重复性。
2026-02-19 18:39:06 +08:00
3 changed files with 31 additions and 3 deletions

View File

@@ -12,10 +12,10 @@ jobs:
steps:
- name: Checkout
uses: http://MonBianG.lan:3000/actions/checkout@v4
uses: http://MonBianG.lan:3000/action/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Setup .NET
uses: http://MonBianG.lan:3000/actions/setup-dotnet@v4
uses: http://MonBianG.lan:3000/action/setup-dotnet@v4.3.0
with:
dotnet-version: 8.0.x
@@ -27,7 +27,7 @@ jobs:
# 使用 Gitea Release Action 创建 Release
- name: Create Release
uses: http://MonBianG.lan:3000/actions/gitea-release-action@main
uses: http://MonBianG.lan:3000/action/gitea-release-action@main
with:
# 使用推送的标签名作为版本号
tag: ${{ github.ref_name }}

20
Patches/LogLeverAngle.cs Normal file
View File

@@ -0,0 +1,20 @@
using HarmonyLib;
using stick.plugins.playermanager;
using Steamworks;
using UnityEngine;
[HarmonyPatch(typeof(HostLeverHandler), "Update")]
class LogLeverAngle
{
static Vector3 lastForward = Vector3.zero;
public static void PostFix()
{
Vector3 currentForward = PlayerManager.HostLeverHandler.lever.transform.forward;
if (currentForward != lastForward)
{
Debug.Log("Current Lever Angle: " + currentForward);
lastForward = currentForward;
}
}
}

View File

@@ -14,9 +14,17 @@
- 拉黑玩家,当你是房主的时候生效
- 可选择开启,默认开启的防踢
- 可配置的界面开启按键默认为F2
- 可以随时切换房间的公开性
## 更新日志
### v3.1.1
1. 添加了房间公开性切换功能
2. 更改房间筛选条件现在会触发刷新列表
3. 现在房间列表不会在房间内显示,防止误触导致的游戏状态不一致
4. 一些重构和优化
### v3.0.3
1. 修复了kick按钮无论如何都会显示的问题难道他真的是猪