合并本地领先源码:旧UI、GM疲劳燃烧、白金徽章孔、宠物修复、支援兵普攻开关

This commit is contained in:
hanfuit committed 2026-11-04 19:20:49 +08:00
1 parent f2debaf9bf
commit 70b3c5a6dc
57 files changed
+4256 -30

No files matched your search

@@ -45,6 +45,20 @@ type gameSession struct {
completedAutoNextRuntime *runtimeDungeonState
conn net.Conn
// companionVirtual marks a synthetic session that exists only so the native
// friend list and party frame can resolve an offline volunteer as an online
// character. It has no socket and must never receive a normal send path.
companionVirtual bool
// companionHeadless is a real session in gameSessions with a sink transport.
// Party/dungeon owners treat it as a real member; no client is attached.
companionHeadless bool
companionOwnerID uint16
// companionForceEnter marks the admin-driven op16 so dungeon entry can log
// its exact refusal reason to the plaintext headless debug file.
companionForceEnter bool
// headlessActorPublished marks that this headless member's own actor rows
// were projected to the leader after the dungeon room committed.
headlessActorPublished bool
// writer owns this session's blocking socket writes so the event loop never
// parks on a client that stopped reading. See game_session_writer.go for the
// live 48-second stall measurement that made it necessary. nil means "no