fix: 1、更换命名空间和文件夹名字

This commit is contained in:
2026-06-02 11:11:47 +08:00
parent dfead2c461
commit 2a53f34659
4305 changed files with 582 additions and 603 deletions
+1 -1
View File
@@ -8,7 +8,7 @@ using IgnoreOPS;
using Newtonsoft.Json;
using SGModule.Common.Helper;
using SGModule.NetKit;
using BallKingdomCrush;
using ZooMatch;
using System.Linq;
public class AdExchangeManager
+1 -1
View File
@@ -1,4 +1,4 @@
namespace BallKingdomCrush
namespace ZooMatch
{
public static class App
{
+1 -1
View File
@@ -3,7 +3,7 @@
// using AppsFlyerSDK;
// using System.Collections.Generic;
// using System;
// using BallKingdomCrush;
// using ZooMatch;
// using DG.Tweening;
// using SGModule.NetKit;
//
+1 -1
View File
@@ -1,4 +1,4 @@
namespace BallKingdomCrush
namespace ZooMatch
{
public class AsyncDealData
{
@@ -1,4 +1,4 @@
namespace BallKingdomCrush
namespace ZooMatch
{
using System;
using UnityEngine;
+1 -1
View File
@@ -1,4 +1,4 @@
namespace BallKingdomCrush
namespace ZooMatch
{
using UnityEngine;
using System.Collections;
+1 -1
View File
@@ -1,4 +1,4 @@
namespace BallKingdomCrush
namespace ZooMatch
{
public abstract class BaseScene
{
+1 -1
View File
@@ -1,4 +1,4 @@
namespace BallKingdomCrush
namespace ZooMatch
{
public abstract class BaseSystem
{
+1 -1
View File
@@ -6,7 +6,7 @@ using DG.Tweening;
using Newtonsoft.Json;
using SGModule.Common.Helper;
using SGModule.NetKit;
using BallKingdomCrush;
using ZooMatch;
using UnityEngine;
+1 -1
View File
@@ -3,7 +3,7 @@ using System.Collections.Generic;
using System.Linq;
using IgnoreOPS;
using Spine.Unity;
using BallKingdomCrush;
using ZooMatch;
using UnityEngine;
public class CreatAnimalCard : MonoBehaviour
+1 -1
View File
@@ -1,7 +1,7 @@
using SGModule.Common.Helper;
using SGModule.NetKit;
namespace BallKingdomCrush {
namespace ZooMatch {
public class CloudDataSaver {
public static void UpdateData(string json, long version, bool onQuit) {
Log.Info("CloudDataSaver", $"最新数据版本: {version}, onQuit: {onQuit} ,数据: {json}");
+1 -1
View File
@@ -1,7 +1,7 @@
using System.Collections.Generic;
using IgnoreOPS;
using SGModule.DataStorage;
using BallKingdomCrush;
using ZooMatch;
public static partial class DataMgr
{
@@ -1,7 +1,7 @@
using System.Collections.Generic;
using SGModule.NetKit;
namespace BallKingdomCrush {
namespace ZooMatch {
public class PreferencesDataReadyCtrl : BaseCtrl {
private readonly List<uint> msgList = new();
+1 -1
View File
@@ -1,4 +1,4 @@
namespace BallKingdomCrush
namespace ZooMatch
{
public static class AnimConst
{
+1 -1
View File
@@ -2,7 +2,7 @@ using UnityEngine;
using System.Collections.Generic;
using SGModule.Common;
namespace BallKingdomCrush
namespace ZooMatch
{
public static class AppConst
{
@@ -1,6 +1,6 @@
using UnityEngine;
namespace BallKingdomCrush
namespace ZooMatch
{
public static class AppObjConst
{
+1 -1
View File
@@ -1,4 +1,4 @@
namespace BallKingdomCrush
namespace ZooMatch
{
public static class AudioConst
{
@@ -1,6 +1,6 @@
using UnityEngine;
namespace BallKingdomCrush
namespace ZooMatch
{
public static class CameraConst
{
@@ -1,4 +1,4 @@
namespace BallKingdomCrush
namespace ZooMatch
{
public static class FolderNames
{
@@ -1,6 +1,6 @@
using UnityEngine;
namespace BallKingdomCrush
namespace ZooMatch
{
public static class LayerMaskConst
{
+1 -1
View File
@@ -1,4 +1,4 @@
namespace BallKingdomCrush
namespace ZooMatch
{
public static class PrefsConst
{
@@ -1,4 +1,4 @@
namespace BallKingdomCrush
namespace ZooMatch
{
public static class PrefsKeyConst
{
@@ -1,6 +1,6 @@
using UnityEngine;
namespace BallKingdomCrush
namespace ZooMatch
{
public static class ScreenConst
{
@@ -1,4 +1,4 @@
namespace BallKingdomCrush
namespace ZooMatch
{
public static class UILayerConst
{
@@ -1,6 +1,6 @@
using UnityEngine;
namespace BallKingdomCrush
namespace ZooMatch
{
public static class VectorConst
{
+1 -1
View File
@@ -1,6 +1,6 @@
using UnityEngine;
namespace BallKingdomCrush
namespace ZooMatch
{
public static class YieldConst
{
@@ -1,4 +1,4 @@
namespace BallKingdomCrush
namespace ZooMatch
{
public static partial class CtrlMsg
{
@@ -1,4 +1,4 @@
namespace BallKingdomCrush
namespace ZooMatch
{
public static partial class GameMsg
{
@@ -1,4 +1,4 @@
namespace BallKingdomCrush
namespace ZooMatch
{
public static partial class UICtrlMsg
{
+1 -1
View File
@@ -1,4 +1,4 @@
namespace BallKingdomCrush
namespace ZooMatch
{
public class ChangeValue<T>
{
@@ -2,7 +2,7 @@ using System;
using UnityEngine;
using System.Collections.Generic;
namespace BallKingdomCrush
namespace ZooMatch
{
public abstract class BaseDispatcher<T, Msg, Param> : IDisposable where T : class, new() where Param : class
{
@@ -2,7 +2,7 @@ using System;
using System.Collections.Generic;
using UnityEngine;
namespace BallKingdomCrush
namespace ZooMatch
{
public class BaseMainThreadDispatcher<T, Msg, Param> : SingletonUnity<T>
where T : SingletonUnity<T>
@@ -1,4 +1,4 @@
namespace BallKingdomCrush
namespace ZooMatch
{
public class AppDispatcher : BaseDispatcher<AppDispatcher, uint, object> { }
}
@@ -1,4 +1,4 @@
namespace BallKingdomCrush
namespace ZooMatch
{
public class CtrlDispatcher : BaseDispatcher<CtrlDispatcher, uint, object>
{
@@ -1,4 +1,4 @@
namespace BallKingdomCrush
namespace ZooMatch
{
public class DataDispatcher : BaseDispatcher<DataDispatcher, string, object>
{
@@ -1,4 +1,4 @@
namespace BallKingdomCrush
namespace ZooMatch
{
public class GameDispatcher : BaseDispatcher<GameDispatcher, uint, object>
{
@@ -1,4 +1,4 @@
namespace BallKingdomCrush
namespace ZooMatch
{
public class MainThreadDispatcher : BaseMainThreadDispatcher<MainThreadDispatcher, uint, object>
{
@@ -1,4 +1,4 @@
namespace BallKingdomCrush
namespace ZooMatch
{
public class ModelDispatcher : BaseDispatcher<ModelDispatcher, uint, object>
{
@@ -1,4 +1,4 @@
namespace BallKingdomCrush
namespace ZooMatch
{
public class NetworkDispatcher : BaseDispatcher<NetworkDispatcher, uint, object>
{
@@ -1,4 +1,4 @@
namespace BallKingdomCrush
namespace ZooMatch
{
public class PreferencesDispatcher<T> : BaseDispatcher<PreferencesDispatcher<T>, string, ChangeValue<T>>
{
@@ -1,4 +1,4 @@
namespace BallKingdomCrush
namespace ZooMatch
{
public class UICtrlDispatcher : BaseDispatcher<UICtrlDispatcher, uint, object>
{
+1 -1
View File
@@ -1,6 +1,6 @@
using System.Collections.Generic;
using SGModule.NetKit;
using BallKingdomCrush;
using ZooMatch;
using UnityEngine;
public class ErrorLogger : MonoBehaviour {
+1 -1
View File
@@ -1,4 +1,4 @@
namespace BallKingdomCrush
namespace ZooMatch
{
public static class StringExtend
{
@@ -1,6 +1,6 @@
using UnityEngine;
namespace BallKingdomCrush
namespace ZooMatch
{
public static class GameObjectExtend
{
+1 -1
View File
@@ -3,7 +3,7 @@
// // using Firebase.Extensions;
// using UnityEngine;
//
// namespace BallKingdomCrush
// namespace ZooMatch
// {
// public class FireBaseManger: MonoBehaviour
// {
+1 -1
View File
@@ -13,7 +13,7 @@ using SDK_IAP;
using UnityEngine;
using UnityEngine.Purchasing;
namespace BallKingdomCrush
namespace ZooMatch
{
public class IAPPayManager : MonoBehaviour
{
-7
View File
@@ -1,7 +0,0 @@
namespace BallKingdomCrush
{
public class LoveLegendCore : SingletonUnity<LoveLegendCore>
{
}
}
+1 -1
View File
@@ -1,4 +1,4 @@
namespace BallKingdomCrush
namespace ZooMatch
{
public abstract class BaseCtrl
{
+1 -1
View File
@@ -1,4 +1,4 @@
namespace BallKingdomCrush
namespace ZooMatch
{
public abstract class BaseUICtrl : BaseCtrl
{
+1 -1
View File
@@ -1,4 +1,4 @@
namespace BallKingdomCrush
namespace ZooMatch
{
public abstract class BaseModel
{
+1 -1
View File
@@ -1,7 +1,7 @@
using FairyGUI;
using System.Collections.Generic;
namespace BallKingdomCrush
namespace ZooMatch
{
public abstract class BaseUI
{
+1 -1
View File
@@ -1,6 +1,6 @@
using FairyGUI;
namespace BallKingdomCrush
namespace ZooMatch
{
public class SubUI
{
+1 -1
View File
@@ -1,6 +1,6 @@
using UnityEngine;
namespace BallKingdomCrush
namespace ZooMatch
{
public static class UIInfoConst
{
+5 -5
View File
@@ -93,7 +93,7 @@ namespace FutureEditor
string modelClassStr =
@"
namespace BallKingdomCrush
namespace ZooMatch
{
public class #ClassName#Model : BaseModel
{
@@ -126,7 +126,7 @@ using FGUI.ZM_Common_01;
using UnityEngine;
using FairyGUI;
namespace BallKingdomCrush
namespace ZooMatch
{
public class #ClassName#UI : BaseUI
{
@@ -216,7 +216,7 @@ namespace BallKingdomCrush
string ctrlClassStr =
@"
namespace BallKingdomCrush
namespace ZooMatch
{
public class #ClassName#Ctrl : BaseCtrl
{
@@ -251,7 +251,7 @@ namespace BallKingdomCrush
string uiCtrlClassStr =
@"
namespace BallKingdomCrush
namespace ZooMatch
{
public class #ClassName#UICtrl : BaseUICtrl
{
@@ -347,7 +347,7 @@ namespace BallKingdomCrush
string uiConstPath = moduleMngRootPath + "UIConst.cs";
string uiCtrlPath = moduleMngRootPath + "UICtrlConst.cs";
string moduleMngPath = moduleMngRootPath + "ModuleManagerRegister.cs";
string UICtrlMsgPath = Application.dataPath + "/Legend/Define/Message/UICtrlMsg_OpenClose.cs";
string UICtrlMsgPath = Application.dataPath + "/ZooMatch/Define/Message/UICtrlMsg_OpenClose.cs";
//注册模块的常量
InsertString(ctrlPath, $"\tpublic const string {name}Ctrl = \"{name}Ctrl\";\n\t");
+2 -2
View File
@@ -9,7 +9,7 @@ using Unity.VisualScripting;
using UnityEngine;
namespace BallKingdomCrush
namespace ZooMatch
{
public class MainScene : BaseScene
{
@@ -55,7 +55,7 @@ namespace BallKingdomCrush
if (isAssetBundleLoad)
{
int value = 0;
LegendFileKit.GetLocalAssetBundle(
ZooMatchFileKit.GetLocalAssetBundle(
max => { GameDispatcher.Instance.Dispatch(GameMsg.UpdateHotFixMax, max + 1); }, () =>
{
value++;
@@ -1,6 +1,6 @@
using System;
namespace BallKingdomCrush
namespace ZooMatch
{
public abstract class BaseInterfaceManager<T> : IDisposable, InterfaceManager where T : BaseInterfaceManager<T>, new()
@@ -1,4 +1,4 @@
namespace BallKingdomCrush
namespace ZooMatch
{
public abstract class BaseUnityManager<T> : SingletonUnity<T>, InterfaceManager
@@ -1,4 +1,4 @@
namespace BallKingdomCrush
namespace ZooMatch
{
public interface InterfaceManager
{
@@ -2,7 +2,7 @@ using FairyGUI;
using UnityEngine;
using UnityEngine.EventSystems;
namespace BallKingdomCrush
namespace ZooMatch
{
public sealed class CameraManager : BaseInterfaceManager<CameraManager>
{
@@ -1,6 +1,6 @@
using System;
namespace BallKingdomCrush
namespace ZooMatch
{
public enum MonthType : int
{
@@ -1,5 +1,5 @@
namespace BallKingdomCrush
namespace ZooMatch
{
public sealed class GameIManager : BaseInterfaceManager<GameIManager>
{
@@ -1,7 +1,7 @@
using System;
using System.Collections.Generic;
namespace BallKingdomCrush
namespace ZooMatch
{
public sealed class ModuleManager : BaseInterfaceManager<ModuleManager>
{
@@ -1,6 +1,6 @@
using System.Collections.Generic;
namespace BallKingdomCrush
namespace ZooMatch
{
public sealed class SceneManager : BaseInterfaceManager<SceneManager>
{
+1 -1
View File
@@ -1,6 +1,6 @@
using System.Collections.Generic;
namespace BallKingdomCrush
namespace ZooMatch
{
public sealed class ManagerOfManager : Singleton<ManagerOfManager>
{
@@ -5,7 +5,7 @@ using System.Linq;
using System.Text;
using UnityEngine.Events;
namespace BallKingdomCrush
namespace ZooMatch
{
public sealed class AudioManager : BaseUnityManager<AudioManager>
{
@@ -3,7 +3,7 @@ using UnityEngine;
using System.Collections;
using UnityEngine.SceneManagement;
namespace BallKingdomCrush
namespace ZooMatch
{
public sealed class SceneSwitchManager : BaseUnityManager<SceneSwitchManager>
{
@@ -1,6 +1,6 @@
using UnityEngine;
namespace BallKingdomCrush
namespace ZooMatch
{
public enum TimerTimeType : int
{
@@ -7,7 +7,7 @@ using UnityEngine.EventSystems;
using System.Collections.Generic;
using System.Linq;
namespace BallKingdomCrush
namespace ZooMatch
{
public class UISequenceInfo
{
@@ -694,7 +694,7 @@ namespace BallKingdomCrush
{
GameObject engineEventSystemGo = new GameObject("[EngineEventSystem]");
engineEventSystemGo.AddComponent<EngineEventSystem>();
engineEventSystemGo.transform.SetParent(LoveLegendCore.Instance.transform, false);
engineEventSystemGo.transform.SetParent(ZooMatchCore.Instance.transform, false);
}
private void InitFguiConfig()
+1 -1
View File
@@ -10,7 +10,7 @@ using IgnoreOPS;
using SGModule.GooglePay;
using SGModule.Common.Helper;
using SGModule.NetKit;
using BallKingdomCrush;
using ZooMatch;
using Unity.VisualScripting;
using SGModule.Common.Extensions;
+1 -1
View File
@@ -1,4 +1,4 @@
namespace BallKingdomCrush
namespace ZooMatch
{
public static class CtrlConst
{
+1 -1
View File
@@ -1,4 +1,4 @@
namespace BallKingdomCrush
namespace ZooMatch
{
public static class ModelConst
{
@@ -1,4 +1,4 @@
namespace BallKingdomCrush
namespace ZooMatch
{
public static class ModuleManagerRegister
{
+1 -1
View File
@@ -1,4 +1,4 @@
namespace BallKingdomCrush
namespace ZooMatch
{
public static class UIConst
{
+1 -1
View File
@@ -1,4 +1,4 @@
namespace BallKingdomCrush
namespace ZooMatch
{
public static class UICtrlConst
{
@@ -1,7 +1,7 @@
using System.Collections;
using System.Collections.Generic;
namespace BallKingdomCrush
namespace ZooMatch
{
public class AdcomingCtrl : BaseCtrl
{
@@ -2,7 +2,7 @@ using System.Collections;
using System.Collections.Generic;
namespace BallKingdomCrush
namespace ZooMatch
{
public class AdcomingModel : BaseModel
{
@@ -5,7 +5,7 @@ using FutureCore;
using FairyGUI;
using DG.Tweening;
namespace BallKingdomCrush
namespace ZooMatch
{
public class AdcomingUI : BaseUI
{
@@ -1,7 +1,7 @@
using System.Collections;
using System.Collections.Generic;
namespace BallKingdomCrush
namespace ZooMatch
{
public class AdcomingUICtrl : BaseUICtrl
{
@@ -1,4 +1,4 @@
namespace BallKingdomCrush
namespace ZooMatch
{
public class AddViewCtrl : BaseCtrl
{
@@ -1,4 +1,4 @@
namespace BallKingdomCrush
namespace ZooMatch
{
public class AddViewModel : BaseModel
{
+1 -1
View File
@@ -6,7 +6,7 @@ using SGModule.NetKit;
using FGUI.ZM_Common_01;
using IgnoreOPS;
using FGUI.ZM_AddCell_12;
namespace BallKingdomCrush
namespace ZooMatch
{
public class AddViewUI : BaseUI
{
@@ -1,4 +1,4 @@
namespace BallKingdomCrush
namespace ZooMatch
{
public class AddViewUICtrl : BaseUICtrl
{
@@ -1,6 +1,6 @@
namespace BallKingdomCrush
namespace ZooMatch
{
public class AddViewoffCtrl : BaseCtrl
{
@@ -1,6 +1,6 @@
namespace BallKingdomCrush
namespace ZooMatch
{
public class AddViewoffModel : BaseModel
{
@@ -7,7 +7,7 @@ using System.Collections.Generic;
using IgnoreOPS;
using FGUI.ZM_Common_01;
namespace BallKingdomCrush
namespace ZooMatch
{
public class AddViewoffUI : BaseUI
{
@@ -1,6 +1,6 @@
namespace BallKingdomCrush
namespace ZooMatch
{
public class AddViewoffUICtrl : BaseUICtrl
{
@@ -1,6 +1,6 @@
namespace BallKingdomCrush
namespace ZooMatch
{
public class AddviewnewCtrl : BaseCtrl
{
@@ -1,6 +1,6 @@
namespace BallKingdomCrush
namespace ZooMatch
{
public class AddviewnewModel : BaseModel
{
@@ -8,7 +8,7 @@ using SGModule.NetKit;
using IgnoreOPS;
using FGUI.ZM_Common_01;
namespace BallKingdomCrush
namespace ZooMatch
{
public class AddviewnewUI : BaseUI
{
@@ -1,6 +1,6 @@
namespace BallKingdomCrush
namespace ZooMatch
{
public class AddviewnewUICtrl : BaseUICtrl
{
@@ -1,6 +1,6 @@
namespace BallKingdomCrush
namespace ZooMatch
{
public class AlbumDetailCtrl : BaseCtrl
{
@@ -1,6 +1,6 @@
namespace BallKingdomCrush
namespace ZooMatch
{
public class AlbumDetailModel : BaseModel
{
@@ -10,7 +10,7 @@ using DG.Tweening;
using SGModule.Common.Extensions;
using System.Linq;
using SGModule.NetKit;
namespace BallKingdomCrush
namespace ZooMatch
{
public class AlbumDetailUI : BaseUI
{
@@ -1,6 +1,6 @@
namespace BallKingdomCrush
namespace ZooMatch
{
public class AlbumDetailUICtrl : BaseUICtrl
{
+1 -1
View File
@@ -1,6 +1,6 @@
namespace BallKingdomCrush
namespace ZooMatch
{
public class AlubumCtrl : BaseCtrl
{
@@ -1,6 +1,6 @@
namespace BallKingdomCrush
namespace ZooMatch
{
public class AlubumModel : BaseModel
{
+1 -1
View File
@@ -7,7 +7,7 @@ using FairyGUI;
using FGUI.LG_albums;
using UnityEngine;
namespace BallKingdomCrush
namespace ZooMatch
{
public class AlubumUI : BaseUI
{
@@ -1,6 +1,6 @@
namespace BallKingdomCrush
namespace ZooMatch
{
public class AlubumUICtrl : BaseUICtrl
{
@@ -1,4 +1,4 @@
namespace BallKingdomCrush
namespace ZooMatch
{
public class BuyPropCtrl : BaseCtrl
{
@@ -1,4 +1,4 @@
namespace BallKingdomCrush
namespace ZooMatch
{
public class BuyPropModel : BaseModel
{

Some files were not shown because too many files have changed in this diff Show More