DNF90 服务端与启动器完整源码(含 GM 工具功能增强)
服务端(Go): - GM 塞背包/带属性装备发放:在线角色推送 op14 增量物品行,背包实时刷新,无需回角色选择界面 - GM 改金币/改等级:去掉在线拒绝,落库后推送 op14 钱包/op37 等级状态,在线实时刷新 - 等级端点统一切换到新版 GMSetCharacterLevel(自带在线刷新) - 无限/锁死疲劳模式 + 燃烧疲劳:每房间消耗 2 点、打怪与通关经验双倍 - 燃烧疲劳开关时给所有在线角色推送系统提示(op12 mode 0) - 深渊史诗掉率:GM 全局倍率 + 城镇增益药剂窗口倍率,真实接入掉落结算 启动器(Python/JS): - 标题栏自绘、窗口 1204x717、禁止拖拽改大小、仅最小化/关闭 - GM 工具:疲劳与燃烧、深渊史诗掉率、拍卖行上架(单一定价对齐) - 拍卖行上架前端对齐服务端单一价格语义,修复 400 报错
This commit is contained in:
commit
645b64fe21
4388 files changed
+1405457
No files matched your search
@@ -0,0 +1,105 @@
|
||||
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
|
||||
// This file is automatically generated. DO NOT EDIT
|
||||
|
||||
/**
|
||||
* EditorService: 文件内容读取、内存编辑、保存/另存为、导出与整包解包。
|
||||
* @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";
|
||||
|
||||
/**
|
||||
* CancelUnpack 请求中止进行中的解包。
|
||||
*/
|
||||
export function CancelUnpack(): $CancellablePromise<void> {
|
||||
return $Call.ByID(1164216096);
|
||||
}
|
||||
|
||||
/**
|
||||
* ExportFilesDialog 将选中的文件或目录导出到目标目录,文件内容使用渲染后的 UTF-8 文本。
|
||||
* 目录会递归展开,并保留归档内的相对路径。
|
||||
*/
|
||||
export function ExportFilesDialog(scopes: string[] | null): $CancellablePromise<string> {
|
||||
return $Call.ByID(2444537465, scopes);
|
||||
}
|
||||
|
||||
/**
|
||||
* GetAnnotations recomputes annotations against the exact current editor text.
|
||||
*/
|
||||
export function GetAnnotations(index: number): $CancellablePromise<$models.EditorAnnotation[] | null> {
|
||||
return $Call.ByID(1902721074, index);
|
||||
}
|
||||
|
||||
/**
|
||||
* GetAnnotationsForText annotates a frontend draft without committing it to the archive.
|
||||
*/
|
||||
export function GetAnnotationsForText(index: number, text: string): $CancellablePromise<$models.EditorAnnotation[] | null> {
|
||||
return $Call.ByID(1012716402, index, text);
|
||||
}
|
||||
|
||||
/**
|
||||
* GetFile 返回文件的反编译文本(内存编辑视图)。
|
||||
*/
|
||||
export function GetFile(index: number): $CancellablePromise<$models.FileMeta | null> {
|
||||
return $Call.ByID(1304838230, index);
|
||||
}
|
||||
|
||||
/**
|
||||
* GetFileBasic returns the rendered file body without annotations or indexed
|
||||
* metadata so the editor can display useful content before enrichment loads.
|
||||
*/
|
||||
export function GetFileBasic(index: number): $CancellablePromise<$models.FileMeta | null> {
|
||||
return $Call.ByID(1614034244, index);
|
||||
}
|
||||
|
||||
/**
|
||||
* IsUnpacking 报告解包是否进行中。
|
||||
*/
|
||||
export function IsUnpacking(): $CancellablePromise<boolean> {
|
||||
return $Call.ByID(3758982134);
|
||||
}
|
||||
|
||||
/**
|
||||
* Save 把全部内存修改写回源文件(原子写:临时文件 + rename)。
|
||||
*/
|
||||
export function Save(): $CancellablePromise<$models.ArchiveInfo> {
|
||||
return $Call.ByID(1087792513);
|
||||
}
|
||||
|
||||
/**
|
||||
* SaveAsDialog 弹出保存对话框并另存为新 PVF。返回保存路径。
|
||||
*/
|
||||
export function SaveAsDialog(): $CancellablePromise<string> {
|
||||
return $Call.ByID(3571654109);
|
||||
}
|
||||
|
||||
/**
|
||||
* SetPlaceholderText rewrites the display text behind one `<table::key>`
|
||||
* placeholder of a script. index is the script being edited; tableIndex and key
|
||||
* come from the placeholder annotation. Only the `.str` payload changes — the
|
||||
* script keeps its placeholder, so no stored script data is altered.
|
||||
*/
|
||||
export function SetPlaceholderText(index: number, tableIndex: number, key: string, text: string): $CancellablePromise<void> {
|
||||
return $Call.ByID(62517930, index, tableIndex, key, text);
|
||||
}
|
||||
|
||||
/**
|
||||
* SetText 把编辑后的文本写入内存 overlay(不落盘)。
|
||||
*/
|
||||
export function SetText(index: number, text: string): $CancellablePromise<void> {
|
||||
return $Call.ByID(1812312363, index, text);
|
||||
}
|
||||
|
||||
/**
|
||||
* UnpackDialog 选择目录后,在后台协程把整包解包到该目录。
|
||||
* 进度通过事件 "unpack:progress" {done,total} 推送,结束发 "unpack:done"。
|
||||
*/
|
||||
export function UnpackDialog(): $CancellablePromise<boolean> {
|
||||
return $Call.ByID(4045253730);
|
||||
}
|
||||
Reference in new issue
Block a user