三国卡牌客户端基础资源仓库
hch
2026-01-05 2a0e6b9a6e771dd4d5d064f2a59a673f813fe0f2
0312 增加渠道独立配置
2个文件已修改
4个文件已添加
43 ■■■■■ 已修改文件
Assets/Editor/AssetBundleBrowser/AssetBundleBuildTab.cs 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Assets/Editor/Logo/txws/txwsOPConfig.txt 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Assets/Editor/Logo/txws/txwsOPConfig.txt.meta 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Assets/Editor/Logo/xssg/xssgOPConfig.txt 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Assets/Editor/Logo/xssg/xssgOPConfig.txt.meta 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Assets/Editor/Tool/BuiltInResourceSetting.cs 14 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Assets/Editor/AssetBundleBrowser/AssetBundleBuildTab.cs
@@ -652,6 +652,7 @@
            BuiltInResourceSetting.SetLaunchBackGround(publishers.Split('|')[0], (BuildTarget)m_UserData.m_BuildTarget);
            BuiltInResourceSetting.SetLoginBackGround(publishers.Split('|')[0], (BuildTarget)m_UserData.m_BuildTarget);
            BuiltInResourceSetting.SetLoginLogo(publishers.Split('|')[0], (BuildTarget)m_UserData.m_BuildTarget);
            BuiltInResourceSetting.SetOPConfig(publishers.Split('|')[0], (BuildTarget)m_UserData.m_BuildTarget);
            UpdateBuiltInSetting.SetBuiltinAssetBundleName();
            ExcuteBuildAsset("builtin");
        }
@@ -679,10 +680,12 @@
        private void ExcuteBuildConfig()
        {
            UpdateScriptableObjectsSetting.SetAllScriptableObjectAssetBundleName();
            BuiltInResourceSetting.SetOPConfig(publishers.Split('|')[0], (BuildTarget)m_UserData.m_BuildTarget);
            ExcuteBuildAsset("config");
            TableTool.CopyConfigsToOutPutPath(StringUtility.Concat(m_UserData.m_OutputPath, "/config"));
            Debug.Log("config 处理完成");
        }
        //发包时获取热更dll和裁剪AOT
        private void ExcuteBuildHybridclrBuild()
        {
Assets/Editor/Logo/txws/txwsOPConfig.txt
New file
@@ -0,0 +1,6 @@
string    string
key    content
标识    内容
banhao    本网络游戏适合年满16周岁以上的用户使用;请您确定已如实实名注册。为了您的健康,请合理控制游戏时间。</r>抵制不良游戏,拒绝盗版游戏。注意自我保护,谨防受骗上当。</r>适度游戏益脑,沉迷游戏伤身。合理安排时间,享受健康生活。</r>游戏出版版号:ISBN 978-7-498-12186-8   软件著作权号:2024SR0131918    审批文号:国新出审【2023】468号 </r>著作权人:厦门灵犀指科技有限公司     出版单位:咪咕互动娱乐有限公司 </r>运营单位:深圳市畅游天地科技有限公司     <color=#109d06><a>ICP备案号:闽ICP备2023014377号-34A|openurl=https://beian.miit.gov.cn/</a></color>
yhxy    https://res.xingwan001.com/storage/d1rhn239ao69cjnvqa9g
yszc    https://res.xingwan001.com/storage/d1rhhuj9ao69cjnvqa90
Assets/Editor/Logo/txws/txwsOPConfig.txt.meta
New file
@@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 6ad541f097ea56c4eb9af440912e0233
TextScriptImporter:
  externalObjects: {}
  userData:
  assetBundleName:
  assetBundleVariant:
Assets/Editor/Logo/xssg/xssgOPConfig.txt
New file
@@ -0,0 +1,6 @@
string    string
key    content
标识    内容
banhao    本网络游戏适合年满16周岁以上的用户使用;请您确定已如实实名注册。为了您的健康,请合理控制游戏时间。</r>抵制不良游戏,拒绝盗版游戏。注意自我保护,谨防受骗上当。</r>适度游戏益脑,沉迷游戏伤身。合理安排时间,享受健康生活。</r>游戏出版版号:ISBN 978-7-498-12186-8   软件著作权号:2024SR0131918    审批文号:国新出审【2023】468号 </r>著作权人:厦门灵犀指科技有限公司     出版单位:咪咕互动娱乐有限公司 </r>运营单位:深圳市畅游天地科技有限公司     <color=#109d06><a>ICP备案号:闽ICP备2023014377号-34A|openurl=https://beian.miit.gov.cn/</a></color>
yhxy    https://happilygame.com/ys/bl-service.htm
yszc    https://happilygame.com/ys/bl-privacy.htm
Assets/Editor/Logo/xssg/xssgOPConfig.txt.meta
New file
@@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 6f38d4e55707d3b4ea91c3aca36c9caf
TextScriptImporter:
  externalObjects: {}
  userData:
  assetBundleName:
  assetBundleVariant:
Assets/Editor/Tool/BuiltInResourceSetting.cs
@@ -152,6 +152,20 @@
        }
    }
    public static void SetOPConfig(string publisher, BuildTarget buildTarget)
    {
        var opName = GetVersionName(publisher);
        var fromPath = $"Assets/Editor/Logo/{opName}/{opName}OPConfig.txt";
        var toPath = "Assets/ResourcesOut/Config/OPConfig.txt";
        AssetDatabase.DeleteAsset(toPath);
        var root = Application.dataPath.Substring(0, Application.dataPath.Length - 6) + "/";
        File.Copy(root + fromPath, root + toPath);
        AssetDatabase.SaveAssets();
        AssetDatabase.Refresh();
    }
    static string GetVersionName(string _publisher)
    {
        var lines = File.ReadAllLines(ClientPackage.versionsFilePath);