lawless/client/temp/programming/packer-driver/targets/preview/chunks/13/13619a4d60fbb6416edf8ba7ec0b195f2fcda55a.js
徐勤民 521603a899
一些检测仍在等待运行
Docs Build / build-and-deploy (push) Waiting to run
refactor(client): 删除游戏核心管理器和场景脚本
- 移除 ConfigManager 配置管理器类
- 移除 GameManager 全局单例管理器类
- 移除 NetworkManager 网络连接管理器类
- 移除 CharacterData 和 ItemData 数据模型类
- 移除 BagScene、BattleScene、LobbyScene 等场景脚本
- 移除 EncounterBubble 和 EventFeedPanel UI组件脚本
- 更新代理邀请文档中的服务器连接方式
- 更新同步状态表格中的代理任务分配信息
- 添加 MiMo 任务完成总结和审查修复记录
2026-07-03 21:34:51 +08:00

333 行
7.9 KiB
JavaScript

System.register(["cc"], function (_export, _context) {
"use strict";
var _cclegacy, __checkObsolete__, __checkObsoleteInNamespace__, ccenum, gfx, _crd, SampleCount, BloomType;
function makeMSAA() {
return {
enabled: false,
sampleCount: SampleCount.X4
};
}
function fillRequiredMSAA(value) {
if (value.enabled === undefined) {
value.enabled = false;
}
if (value.sampleCount === undefined) {
value.sampleCount = SampleCount.X4;
}
}
function makeHBAO() {
return {
enabled: false,
radiusScale: 1,
angleBiasDegree: 10,
blurSharpness: 3,
aoSaturation: 1,
needBlur: false
};
}
function fillRequiredHBAO(value) {
if (value.enabled === undefined) {
value.enabled = false;
}
if (value.radiusScale === undefined) {
value.radiusScale = 1;
}
if (value.angleBiasDegree === undefined) {
value.angleBiasDegree = 10;
}
if (value.blurSharpness === undefined) {
value.blurSharpness = 3;
}
if (value.aoSaturation === undefined) {
value.aoSaturation = 1;
}
if (value.needBlur === undefined) {
value.needBlur = false;
}
}
function makeBloom() {
return {
enabled: false,
type: BloomType.KawaseDualFilter,
material: null,
kawaseFilterMaterial: null,
mipmapFilterMaterial: null,
enableAlphaMask: false,
iterations: 3,
threshold: 0.8,
intensity: 1
};
}
function fillRequiredBloom(value) {
if (value.enabled === undefined) {
value.enabled = false;
}
if (value.type === undefined) {
value.type = BloomType.KawaseDualFilter;
}
if (value.material === undefined) {
value.material = null;
}
if (value.kawaseFilterMaterial === undefined) {
value.kawaseFilterMaterial = value.material || null;
}
if (value.mipmapFilterMaterial === undefined) {
value.mipmapFilterMaterial = null;
}
if (value.enableAlphaMask === undefined) {
value.enableAlphaMask = false;
}
if (value.iterations === undefined) {
value.iterations = 3;
}
if (value.threshold === undefined) {
value.threshold = 0.8;
}
if (value.intensity === undefined) {
value.intensity = 1;
}
}
function makeColorGrading() {
return {
enabled: false,
material: null,
contribute: 1,
colorGradingMap: null
};
}
function fillRequiredColorGrading(value) {
if (value.enabled === undefined) {
value.enabled = false;
}
if (value.material === undefined) {
value.material = null;
}
if (value.contribute === undefined) {
value.contribute = 1;
}
if (value.colorGradingMap === undefined) {
value.colorGradingMap = null;
}
}
function makeFSR() {
return {
enabled: false,
material: null,
sharpness: 0.8
};
}
function fillRequiredFSR(value) {
if (value.enabled === undefined) {
value.enabled = false;
}
if (value.material === undefined) {
value.material = null;
}
if (value.sharpness === undefined) {
value.sharpness = 0.8;
}
}
function makeFXAA() {
return {
enabled: false,
material: null
};
}
function fillRequiredFXAA(value) {
if (value.enabled === undefined) {
value.enabled = false;
}
if (value.material === undefined) {
value.material = null;
}
}
function makeToneMapping() {
return {
material: null
};
}
function fillRequiredToneMapping(value) {
if (value.material === undefined) {
value.material = null;
}
}
function makePipelineSettings() {
return {
msaa: makeMSAA(),
enableShadingScale: false,
shadingScale: 0.5,
bloom: makeBloom(),
toneMapping: makeToneMapping(),
colorGrading: makeColorGrading(),
fsr: makeFSR(),
fxaa: makeFXAA()
};
}
function fillRequiredPipelineSettings(value) {
if (!value.msaa) {
value.msaa = makeMSAA();
} else {
fillRequiredMSAA(value.msaa);
}
if (value.enableShadingScale === undefined) {
value.enableShadingScale = false;
}
if (value.shadingScale === undefined) {
value.shadingScale = 0.5;
}
if (!value.bloom) {
value.bloom = makeBloom();
} else {
fillRequiredBloom(value.bloom);
}
if (!value.toneMapping) {
value.toneMapping = makeToneMapping();
} else {
fillRequiredToneMapping(value.toneMapping);
}
if (!value.colorGrading) {
value.colorGrading = makeColorGrading();
} else {
fillRequiredColorGrading(value.colorGrading);
}
if (!value.fsr) {
value.fsr = makeFSR();
} else {
fillRequiredFSR(value.fsr);
}
if (!value.fxaa) {
value.fxaa = makeFXAA();
} else {
fillRequiredFXAA(value.fxaa);
}
}
_export({
makeMSAA: makeMSAA,
fillRequiredMSAA: fillRequiredMSAA,
makeHBAO: makeHBAO,
fillRequiredHBAO: fillRequiredHBAO,
makeBloom: makeBloom,
fillRequiredBloom: fillRequiredBloom,
makeColorGrading: makeColorGrading,
fillRequiredColorGrading: fillRequiredColorGrading,
makeFSR: makeFSR,
fillRequiredFSR: fillRequiredFSR,
makeFXAA: makeFXAA,
fillRequiredFXAA: fillRequiredFXAA,
makeToneMapping: makeToneMapping,
fillRequiredToneMapping: fillRequiredToneMapping,
makePipelineSettings: makePipelineSettings,
fillRequiredPipelineSettings: fillRequiredPipelineSettings
});
return {
setters: [function (_cc) {
_cclegacy = _cc.cclegacy;
__checkObsolete__ = _cc.__checkObsolete__;
__checkObsoleteInNamespace__ = _cc.__checkObsoleteInNamespace__;
ccenum = _cc.ccenum;
gfx = _cc.gfx;
}],
execute: function () {
_crd = true;
_cclegacy._RF.push({}, "cbf30kCUX9A3K+QpVC6wnzx", "builtin-pipeline-types", undefined);
/*
Copyright (c) 2021-2024 Xiamen Yaji Software Co., Ltd.
https://www.cocos.com
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
of the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/
/**
* ========================= !DO NOT CHANGE THE FOLLOWING SECTION MANUALLY! =========================
* The following section is auto-generated.
* ========================= !DO NOT CHANGE THE FOLLOWING SECTION MANUALLY! =========================
*/
/* eslint-disable max-len */
__checkObsolete__(['Material', 'Texture2D', 'ccenum', 'gfx']);
({
SampleCount
} = gfx);
_export("BloomType", BloomType = /*#__PURE__*/function (BloomType) {
BloomType[BloomType["KawaseDualFilter"] = 0] = "KawaseDualFilter";
BloomType[BloomType["MipmapFilter"] = 1] = "MipmapFilter";
return BloomType;
}({}));
ccenum(BloomType);
_cclegacy._RF.pop();
_crd = false;
}
};
});
//# sourceMappingURL=13619a4d60fbb6416edf8ba7ec0b195f2fcda55a.js.map