DNF90 服务端与启动器完整源码(含 GM 工具功能增强)

服务端(Go):
- GM 塞背包/带属性装备发放:在线角色推送 op14 增量物品行,背包实时刷新,无需回角色选择界面
- GM 改金币/改等级:去掉在线拒绝,落库后推送 op14 钱包/op37 等级状态,在线实时刷新
- 等级端点统一切换到新版 GMSetCharacterLevel(自带在线刷新)
- 无限/锁死疲劳模式 + 燃烧疲劳:每房间消耗 2 点、打怪与通关经验双倍
- 燃烧疲劳开关时给所有在线角色推送系统提示(op12 mode 0)
- 深渊史诗掉率:GM 全局倍率 + 城镇增益药剂窗口倍率,真实接入掉落结算

启动器(Python/JS):
- 标题栏自绘、窗口 1204x717、禁止拖拽改大小、仅最小化/关闭
- GM 工具:疲劳与燃烧、深渊史诗掉率、拍卖行上架(单一定价对齐)
- 拍卖行上架前端对齐服务端单一价格语义,修复 400 报错
This commit is contained in:
hanfuit committed 2026-11-04 14:31:55 +08:00
commit 645b64fe21
4388 files changed
+1405457

No files matched your search

@@ -0,0 +1,75 @@
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT
/**
* ArchiveDiffService owns an isolated read-only comparison. It never installs
* the comparison archive in core or initializes workspace-derived indexes.
* @module
*/
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore: Unused imports
import { Call as $Call, CancellablePromise as $CancellablePromise } from "@wailsio/runtime";
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore: Unused imports
import * as $models from "./models.js";
export function Cancel(id: string): $CancellablePromise<void> {
return $Call.ByID(3576340794, id);
}
export function Children(id: string, path: string): $CancellablePromise<$models.ArchiveDiffNode[] | null> {
return $Call.ByID(3415478687, id, path);
}
export function FileDiff(id: string, path: string): $CancellablePromise<$models.ArchiveDiffFile | null> {
return $Call.ByID(1854378037, id, path);
}
/**
* FilteredChildren 按照目录路径与操作类型(all/add/modify/delete)返回子节点列表
*/
export function FilteredChildren(id: string, path: string, operation: string): $CancellablePromise<$models.ArchiveDiffNode[] | null> {
return $Call.ByID(1031553676, id, path, operation);
}
/**
* FlatFiles 按照搜索词与操作类型返回所有差异文件的平铺列表,供双栏工作台过滤检索
*/
export function FlatFiles(id: string, query: string, operation: string): $CancellablePromise<$models.ArchiveDiffNode[] | null> {
return $Call.ByID(2926329878, id, query, operation);
}
/**
* MergeFiles 将选中的差异文件从对比归档合并到本地当前打开的归档中。
* 遵循核心锁在前、diff 锁在后的顺序防止死锁。
* @author flobit
*/
export function MergeFiles(id: string, paths: string[] | null): $CancellablePromise<$models.ArchiveDiffMergeResult | null> {
return $Call.ByID(2350138011, id, paths);
}
/**
* MergeText 将单文件编辑或段落合入后的最终文本写回到当前工作区归档。
* @author flobit
*/
export function MergeText(id: string, path: string, text: string): $CancellablePromise<void> {
return $Call.ByID(3084798427, id, path, text);
}
export function Release(): $CancellablePromise<void> {
return $Call.ByID(3139863069);
}
export function SelectArchive(): $CancellablePromise<string> {
return $Call.ByID(3235316614);
}
export function Start(request: $models.ArchiveDiffRequest): $CancellablePromise<$models.ArchiveDiffStatus | null> {
return $Call.ByID(1549978460, request);
}
export function Status(id: string): $CancellablePromise<$models.ArchiveDiffStatus | null> {
return $Call.ByID(473957762, id);
}