Core/Common/ResourcesPath.cs
@@ -1,5 +1,6 @@ using UnityEngine; [XLua.LuaCallCSharp] public class ResourcesPath : Singleton<ResourcesPath> { Core/Common/Singleton.cs
@@ -1,4 +1,5 @@ [XLua.LuaCallCSharp] public class Singleton<T> where T : class, new() { private static T m_Instance; Core/Common/SingletonMonobehaviour.cs
@@ -1,5 +1,6 @@ using UnityEngine; [XLua.LuaCallCSharp] public class SingletonMonobehaviour<T> : MonoBehaviour where T : MonoBehaviour { Core/GameEngine/Common/Equation.cs
@@ -5,6 +5,7 @@ using System.Text.RegularExpressions; using UnityEngine; [XLua.LuaCallCSharp] public class Equation : Singleton<Equation> { public static readonly List<char> operatorList = new List<char>() { '*', '-', '+', '/', '^', '!', '@', '%', ';', '#', '$', '~', '&' }; Core/GameEngine/Login/LaunchPostProcess.cs
@@ -5,6 +5,7 @@ using TableConfig; using System; [XLua.LuaCallCSharp] public class LaunchPostProcess : SingletonMonobehaviour<LaunchPostProcess> { Core/GameEngine/Model/ConfigManager.cs
@@ -8,6 +8,7 @@ using UnityEngine; using System.Threading; [XLua.LuaCallCSharp] public class Config : Singleton<Config> { Core/GameEngine/Model/Player/Equip/PlayerStoneData.cs
@@ -7,6 +7,7 @@ /// <summary> /// 宝石数据 /// </summary> [XLua.LuaCallCSharp] public class PlayerStoneData : Singleton<PlayerStoneData> { private Dictionary<int, uint[]> stoneDic = new Dictionary<int, uint[]>(); Core/GameEngine/SnxxzGame.cs
@@ -3,6 +3,7 @@ using UnityEngine.Events; using UnityEngine; [XLua.LuaCallCSharp] public class SnxxzGame : SingletonMonobehaviour<SnxxzGame> { private event UnityAction m_UpdateActions; Core/NetworkPackage/GameNetSystem.cs
@@ -4,6 +4,7 @@ using System.Collections.Generic; using Snxxz.UI; [XLua.LuaCallCSharp] public class GameNetSystem : Singleton<GameNetSystem> { NetUpdateBehaviour m_NetUpdateBehaviour; Core/ResModule/AssetBundle/AssetBundleUtility.cs
@@ -4,6 +4,7 @@ using System.Collections.Generic; using UnityEngine; [XLua.LuaCallCSharp] public class AssetBundleUtility : SingletonMonobehaviour<AssetBundleUtility> { private List<AssetBundleInfo> m_AssetBundleInfoList = new List<AssetBundleInfo>(); @@ -28,7 +29,7 @@ } public IEnumerator InitalizeUIResources() { { #if !UNITY_IOS yield return StartCoroutine(Co_LoadAssetBundle(ResourcesPath.windowFileBundleName)); yield return StartCoroutine(Co_LoadAssetBundle(ResourcesPath.uiprefabFileBundleName)); @@ -245,7 +246,7 @@ #endif Sync_LoadAssetBundle(assetBundleName); if (m_AssetBundleDict.ContainsKey(assetBundleName)) if (m_AssetBundleDict.ContainsKey(assetBundleName)) { if (_type != null) { Core/ResModule/GameObjectPoolManager.cs
@@ -3,6 +3,7 @@ using System; using TableConfig; [XLua.LuaCallCSharp] public class GameObjectPoolManager : SingletonMonobehaviour<GameObjectPoolManager> { #if UNITY_EDITOR Core/SDK/SDKUtility.cs
@@ -4,6 +4,7 @@ using System.Collections; using System.Collections.Generic; [XLua.LuaCallCSharp] public class SDKUtility : SingletonMonobehaviour<SDKUtility> { [System.Runtime.InteropServices.DllImport("__Internal")] Core/SFX/SFXPlayUtility.cs
@@ -2,6 +2,7 @@ using System.Collections.Generic; using TableConfig; [XLua.LuaCallCSharp] public class SFXPlayUtility : SingletonMonobehaviour<SFXPlayUtility> { Core/Utilities/AnyCountDownUtility.cs
@@ -2,6 +2,7 @@ using UnityEngine.Events; using System.Collections.Generic; [XLua.LuaCallCSharp] public class AnyCountDownUtility : SingletonMonobehaviour<AnyCountDownUtility> { private Stack<CDItem> m_FreeStack; Core/Utilities/AssetPreLoad.cs
@@ -1,10 +1,11 @@ using System.Collections; using System.Collections.Generic; using UnityEngine; using TableConfig; using System.Collections; using System.Collections.Generic; using UnityEngine; using TableConfig; [XLua.LuaCallCSharp] public class AssetPreLoad : SingletonMonobehaviour<AssetPreLoad> { { public void PreLoadNPC(int _mapId) { NpcPreloadConfig _config = Config.Instance.Get<NpcPreloadConfig>(_mapId); @@ -36,8 +37,8 @@ get { return m_Effects ?? (m_Effects = Config.Instance.GetAllValues<EffectConfig>()); } } List<int> loadedJobs = new List<int>(); List<int> loadedJobs = new List<int>(); public void PreLoadJobEffect(int _job) { if (loadedJobs.Contains(_job)) @@ -61,8 +62,8 @@ { StartCoroutine(Co_AsyncLoadEffects(preLoadEffects)); } } } IEnumerator Co_AsyncLoadEffects(List<int> _effectIds) { for (int i = 0; i < _effectIds.Count; i++) @@ -72,14 +73,14 @@ yield return null; } } } private void OnAsyncLoadEffect(bool _ok, Object _object) { if (_ok) { GameObjectPoolManager.Instance.CacheGameObject(_object as GameObject, 1, false); } } } } } Fight/Actor/Skill/FlyObject/FlyObjectManager.cs
@@ -1,6 +1,8 @@ using System.Collections.Generic; [XLua.LuaCallCSharp] public class FlyObjectManager : Singleton<FlyObjectManager> { private ObjectPool<IFlyObject> m_FlyObjectPool; Fight/Actor/Skill/SkillHelper.cs
@@ -6,7 +6,9 @@ /// <summary> /// 对所有技能数据进行处理和缓存的类 /// </summary> [XLua.LuaCallCSharp] public class SkillHelper : Singleton<SkillHelper> { private Dictionary<int, SkillInfo> m_SkillInfoDict; private Dictionary<int, List<SkillInfo>> m_SkillToSpSkill; Fight/Actor/Status/StatusMgr.cs
@@ -3,7 +3,9 @@ using UnityEngine; using UnityEngine.Events; [XLua.LuaCallCSharp] public class StatusMgr : SingletonMonobehaviour<StatusMgr> { public static event UnityAction<string> OnGainStatus; Fight/BossFakeLineUtility.cs
@@ -5,7 +5,9 @@ using System; using Snxxz.UI; [XLua.LuaCallCSharp] public class BossFakeLineUtility : Singleton<BossFakeLineUtility> { int m_MakeFakeLineTimes = 0; public int makeFakeLineTimes { Fight/GameActor/BattleEffectPlayRule.cs
@@ -1,7 +1,9 @@ using System.Collections.Generic; using UnityEngine; [XLua.LuaCallCSharp] public class BattleEffectPlayRule : Singleton<BattleEffectPlayRule> { public List<uint> sortPlayerList = new List<uint>(); Fight/GameActor/GAMgr.cs
@@ -5,7 +5,9 @@ using TableConfig; using System.Collections; [XLua.LuaCallCSharp] public class GAMgr : SingletonMonobehaviour<GAMgr> { private List<BossSkillTip_JudgeSummon> m_BossSkillTipList = new List<BossSkillTip_JudgeSummon>(); Fight/MapTransferUtility.cs
@@ -4,6 +4,7 @@ using Snxxz.UI; using TableConfig; [XLua.LuaCallCSharp] public class MapTransferUtility : SingletonMonobehaviour<MapTransferUtility> { public static UnityEngine.Events.UnityAction s_OnHeroLeaveFuncNpc; Fight/PreFightMission.cs
@@ -5,7 +5,9 @@ using System.Collections; using TableConfig; [XLua.LuaCallCSharp] public class PreFightMission : Singleton<PreFightMission> { private Vector3 m_FirstTrransferStartPos = new Vector3(183.84f, 62.44f, 25.56f); private Vector3 m_FirstTrransferEndPos = new Vector3(161.33f, 51.545f, 34.84f); Fight/PrepareHandler.cs
@@ -1,7 +1,9 @@ using UnityEngine; using Snxxz.UI; [XLua.LuaCallCSharp] public class PrepareHandler : Singleton<PrepareHandler> { public struct ClientH0812 { Fight/Stage/StageManager.cs
@@ -6,7 +6,9 @@ using Snxxz.UI; using TableConfig; [XLua.LuaCallCSharp] public class StageManager : Singleton<StageManager> { private Stage m_CurrentStage; Lua/LuaBehaviour.cs
@@ -87,4 +87,12 @@ luaStart = null; table.Dispose(); } #if UNITY_EDITOR [ContextMenu("LuaReload")] public void ReLoadLua() { LuaUtility.DoString(fileName, "LuaBehaviour", table); } #endif } Lua/LuaWindow.cs
@@ -137,4 +137,21 @@ } } #if UNITY_EDITOR [ContextMenu("LuaReload")] public void ReLoadLua() { LuaUtility.Do(string.Format("window.{0}", this.gameObject.name), this.gameObject.name, table); if (onBindController != null) { onBindController(); } if (onAddListeners != null) { onAddListeners(); } } #endif } System/AssetVersion/DownLoadAndDiscompressTask.cs
@@ -5,7 +5,9 @@ using Snxxz.UI; using System.Threading; [XLua.LuaCallCSharp] public class DownLoadAndDiscompressTask : Singleton<DownLoadAndDiscompressTask> { public const int BYTE_PER_KILOBYTE = 1024; public const int BYTE_PER_MILLIONBYTE = 1048576; System/AssetVersion/InGameDownLoad.cs
@@ -6,7 +6,9 @@ using System.Text.RegularExpressions; using TableConfig; [XLua.LuaCallCSharp] public class InGameDownLoad : SingletonMonobehaviour<InGameDownLoad> { public const int BYTE_PER_KILOBYTE = 1024; public const int BYTE_PER_MILLIONBYTE = 1048576; System/BossShow/BossShowModel.cs
@@ -7,7 +7,9 @@ namespace Snxxz.UI { public class BossShowModel : Singleton<BossShowModel> [XLua.LuaCallCSharp] public class BossShowModel : Singleton<BossShowModel> { public BossShowModel() { System/Chat/VoiceHttpRequest.cs
@@ -4,7 +4,9 @@ using System.Text; using UnityEngine; [XLua.LuaCallCSharp] public class VoiceHttpRequest : SingletonMonobehaviour<VoiceHttpRequest> { const string uploadUrl = "http://{0}.voice.2460web.com:53001/voice/upload"; const string downloadUrl = "http://{0}.voice.2460web.com:53001/voice/download"; System/ClientVersion/VersionUtility.cs
@@ -12,7 +12,9 @@ using Snxxz.UI; using System.Text; [XLua.LuaCallCSharp] public class VersionUtility : Singleton<VersionUtility> { public static readonly string[] VERSION_URL = new string[] { "http://pub.game.2460web.com:11000/appversion/?" , "http://111.230.234.252:11000/appversion/?"}; System/DailyQuest/DailyQuestActionTimer.cs
@@ -10,7 +10,9 @@ namespace Snxxz.UI { public class DailyQuestActionTimer : SingletonMonobehaviour<DailyQuestActionTimer> [XLua.LuaCallCSharp] public class DailyQuestActionTimer : SingletonMonobehaviour<DailyQuestActionTimer> { DailyQuestModel model { get { return ModelCenter.Instance.GetModel<DailyQuestModel>(); } } public event Action RefreshDailyQuestState; System/Debug/DebugUtility.cs
@@ -5,6 +5,7 @@ using LitJson; using System.IO; [XLua.LuaCallCSharp] public class DebugUtility : Singleton<DebugUtility> { const string url = "http://pub.game.2460web.com:11000/dbg_player/?"; @@ -12,11 +13,9 @@ GameObject debugRoot; bool m_DebugAccount = false; public bool debugAccount { public bool debugAccount { get { return m_DebugAccount; } private set { private set { if (m_DebugAccount != value) { m_DebugAccount = value; System/FakeDungeon/FakeDungeonUtility.cs
@@ -2,7 +2,9 @@ using System.Collections.Generic; using UnityEngine; [XLua.LuaCallCSharp] public class FakeDungeonUtility : Singleton<FakeDungeonUtility> { int m_TureMapId = -1; System/FindPrecious/FindPreciousTimer.cs
@@ -11,7 +11,9 @@ namespace Snxxz.UI { public class FindPreciousTimer : SingletonMonobehaviour<FindPreciousTimer> [XLua.LuaCallCSharp] public class FindPreciousTimer : SingletonMonobehaviour<FindPreciousTimer> { FindPreciousModel model { get { return ModelCenter.Instance.GetModel<FindPreciousModel>(); } } Dictionary<int, BossRebornClock> clocks = new Dictionary<int, BossRebornClock>(); System/HeavenBattle/HeavenBattleInfo.cs
@@ -6,7 +6,9 @@ namespace Snxxz.UI { public class HeavenBattleInfo : Singleton<HeavenBattleInfo> [XLua.LuaCallCSharp] public class HeavenBattleInfo : Singleton<HeavenBattleInfo> { public HeavenBattleInfo() { System/HttpRequest/HttpRequest.cs
@@ -6,7 +6,9 @@ using System.Text; using UnityEngine; public class HttpRequest : SingletonMonobehaviour<HttpRequest> [XLua.LuaCallCSharp] public class HttpRequest : SingletonMonobehaviour<HttpRequest> { public const string defaultHttpContentType = "application/x-www-form-urlencoded"; public const string jsonHttpContentType = "application/json ; charset=utf-8"; System/KnapSack/KnapsackTimeCDMgr.cs
@@ -6,7 +6,9 @@ namespace Snxxz.UI { public class KnapsackTimeCDMgr : SingletonMonobehaviour<KnapsackTimeCDMgr> [XLua.LuaCallCSharp] public class KnapsackTimeCDMgr : SingletonMonobehaviour<KnapsackTimeCDMgr> { private List<ItemCDCool> itemCDList = new List<ItemCDCool>(); private List<NormalCDCool> normalCDList = new List<NormalCDCool>(); System/KnapSack/Logic/PackSendQuestMgr.cs
@@ -7,7 +7,9 @@ namespace Snxxz.UI { public class PackSendQuestMgr : Singleton<PackSendQuestMgr> [XLua.LuaCallCSharp] public class PackSendQuestMgr : Singleton<PackSendQuestMgr> { PlayerPackModel _playerPack; PlayerPackModel playerPack System/KnapSack/New/BatchUseModel.cs
@@ -6,7 +6,9 @@ namespace Snxxz.UI { public class BatchUseModel : Singleton<BatchUseModel> [XLua.LuaCallCSharp] public class BatchUseModel : Singleton<BatchUseModel> { #region 批量使用数据 public string guid { get; private set; } System/KnapSack/New/KnapSackEventMgr.cs
@@ -2,7 +2,9 @@ using UnityEngine; using Snxxz.UI; [XLua.LuaCallCSharp] public class KnapSackEventMgr : Singleton<KnapSackEventMgr> { public Action<GameObject> AddEquipWinTempObjEvent; System/Login/ServerListCenter.cs
@@ -6,7 +6,9 @@ using Snxxz.UI; using TableConfig; [XLua.LuaCallCSharp] public class ServerListCenter : Singleton<ServerListCenter> { public static readonly string[] JUMP_URL = new string[] { "http://pub.game.2460web.com:11000/server_list/?" ,"http://111.230.234.252:11000/server_list/?"}; System/MainInterfacePanel/MainRedDot.cs
@@ -10,7 +10,9 @@ namespace Snxxz.UI { public class MainRedDot : Singleton<MainRedDot> { [XLua.LuaCallCSharp] public class MainRedDot : Singleton<MainRedDot> { public const int RedPoint_key = 1; public const int FAIRY_REDPOINT_KEY1 = 107; System/MainInterfacePanel/TaskAllocation.cs
@@ -12,7 +12,9 @@ namespace Snxxz.UI { public class TaskAllocation : Singleton<TaskAllocation> [XLua.LuaCallCSharp] public class TaskAllocation : Singleton<TaskAllocation> { private static StringBuilder textBuilder = new StringBuilder(); System/MainInterfacePanel/TipPanel.cs
@@ -12,7 +12,9 @@ { //用于主界面的Tip的引导结束后出现 public class TipPanel : Singleton<TipPanel> [XLua.LuaCallCSharp] public class TipPanel : Singleton<TipPanel> { PlayerMainDate m_MainModel; PlayerMainDate mainModel { get { return m_MainModel ?? (m_MainModel = ModelCenter.Instance.GetModel<PlayerMainDate>()); } } System/Market/PutawayData.cs
@@ -3,7 +3,9 @@ using UnityEngine; using Snxxz.UI; [XLua.LuaCallCSharp] public class PutawayData:Singleton<PutawayData> { public byte priceType = 0; public uint priceCnt = 0;//出售价格 public string pwd = string.Empty;//交易密码 System/Message/BattleHint.cs
@@ -4,7 +4,9 @@ using UnityEngine; namespace Snxxz.UI { public class BattleHint : Singleton<BattleHint> [XLua.LuaCallCSharp] public class BattleHint : Singleton<BattleHint> { DungeonModel dungeonModel { get { return ModelCenter.Instance.GetModel<DungeonModel>(); } } System/Message/SysNotifyMgr.cs
@@ -6,7 +6,9 @@ using TableConfig; using UnityEngine.UI; [XLua.LuaCallCSharp] public class SysNotifyMgr : SingletonMonobehaviour<SysNotifyMgr> { /// <summary> /// 服务端下发的数据 System/NewBieGuidance/FunctionalGuideCenter.cs
@@ -11,7 +11,9 @@ namespace Snxxz.UI { public class FunctionalGuideCenter : Singleton<FunctionalGuideCenter> [XLua.LuaCallCSharp] public class FunctionalGuideCenter : Singleton<FunctionalGuideCenter> { public event Action<int> beginGuideEvent; public event Action<int> finishGuideEevent; System/NewBieGuidance/NewBieCenter.cs
@@ -12,7 +12,9 @@ namespace Snxxz.UI { public class NewBieCenter : Singleton<NewBieCenter> [XLua.LuaCallCSharp] public class NewBieCenter : Singleton<NewBieCenter> { int m_CurrentGuide = 0; System/OpenServerActivity/ImpactRankModel.cs
@@ -681,7 +681,9 @@ #endregion } public class OpenServerActivityCenter : Singleton<OpenServerActivityCenter> [XLua.LuaCallCSharp] public class OpenServerActivityCenter : Singleton<OpenServerActivityCenter> { public event Action openServerActivityStateChange; System/Pet/PetReinforceModel.cs
@@ -8,7 +8,9 @@ using System.Text; public class PetReinforceModel:Singleton<PetReinforceModel> [XLua.LuaCallCSharp] public class PetReinforceModel:Singleton<PetReinforceModel> { public PetReinforceTitle PetTitle = PetReinforceTitle.EvolveTrain; System/Redpoint/RedpointCenter.cs
@@ -5,7 +5,9 @@ namespace Snxxz.UI { public class RedpointCenter : Singleton<RedpointCenter> [XLua.LuaCallCSharp] public class RedpointCenter : Singleton<RedpointCenter> { public event Action<int> redpointValueChangeEvent; System/Skill/QuickSetting.cs
@@ -7,7 +7,9 @@ /// <summary> /// 服务端Setting配置,存储一些快捷设置,目前长度为100 /// </summary> [XLua.LuaCallCSharp] public class QuickSetting : Singleton<QuickSetting> { public QuickSetting() { System/StartCoroutine/CoroutineMgr.cs
@@ -6,7 +6,9 @@ using Snxxz.UI; using System.Linq; [XLua.LuaCallCSharp] public class CoroutineMgr : SingletonMonobehaviour<CoroutineMgr> { public event Action MainHighTipCdTimeEvent;//主界面上层切换CD时间 System/Store/BuyItemPopModel.cs
@@ -5,7 +5,9 @@ using System.Text; using TableConfig; [XLua.LuaCallCSharp] public class BuyItemPopModel : Singleton<BuyItemPopModel> { public StoreConfig storeConfig { get; private set; } System/Store/Logic/BuySuccessModel.cs
@@ -5,7 +5,9 @@ namespace Snxxz.UI { public class BuySuccessModel : Singleton<BuySuccessModel> [XLua.LuaCallCSharp] public class BuySuccessModel : Singleton<BuySuccessModel> { public int ItemID { get; private set; } public int itemCnt { get; private set; } System/Strengthening/EquipReinforceModel.cs
@@ -4,7 +4,9 @@ using System.Linq; using System.Text; [XLua.LuaCallCSharp] public class EquipReinforceModel : Singleton<EquipReinforceModel> { public EquipReinforceFuncTitle funcTitle = EquipReinforceFuncTitle.Strength; System/SystemSetting/ChatSetting.cs
@@ -33,7 +33,9 @@ //AllianceVoice4G, //同盟语音4G } public class ChatSetting : Singleton<ChatSetting> [XLua.LuaCallCSharp] public class ChatSetting : Singleton<ChatSetting> { const string ChatBoolSet_Key = "ChatBoolSet"; System/SystemSetting/HangUpSetModel.cs
@@ -24,7 +24,9 @@ isAutoReborn,//是否自动买活 } [XLua.LuaCallCSharp] public class HangUpSetModel : Singleton<HangUpSetModel> { const string HpSet_Key = "HpSet"; const string HangUpBoolSet_Key = "HangUpBoolSet"; System/SystemSetting/PrivateRemind.cs
@@ -14,7 +14,9 @@ } [XLua.LuaCallCSharp] public class PrivateRemind : Singleton<HangUpSetModel> { //const string const string BoolSet_Key = "BoolSet"; System/SystemSetting/SettingEffectMgr.cs
@@ -7,7 +7,9 @@ using TableConfig; using System.Collections; [XLua.LuaCallCSharp] public class SettingEffectMgr : SingletonMonobehaviour<SettingEffectMgr> { private bool _isAutoHangUp = false; private ItemConfig _tagItemModel; System/SystemSetting/SettingMgr.cs
@@ -4,7 +4,9 @@ using System.Text; using UnityEngine; [XLua.LuaCallCSharp] public class SettingMgr : Singleton<SettingMgr> { public string accountKey = ""; System/SystemSetting/SystemSetting.cs
@@ -6,7 +6,9 @@ using Snxxz.UI; using System.Collections; [XLua.LuaCallCSharp] public class SystemSetting : Singleton<SystemSetting> { const string QUALITY_LEVEL_KEY = "GameQualityLevel"; const string SOUND_VOLUME_KEY = "SoundRatioKey"; //音乐 System/Team/GroupDungeonChallengeProcessor.cs
@@ -5,7 +5,9 @@ namespace Snxxz.UI { public class GroupDungeonChallengeProcessor : SingletonMonobehaviour<GroupDungeonChallengeProcessor> [XLua.LuaCallCSharp] public class GroupDungeonChallengeProcessor : SingletonMonobehaviour<GroupDungeonChallengeProcessor> { int mapId = 0; int lineId = 0; System/Tip/PwdKeyboard.cs
@@ -2,6 +2,8 @@ using System.Collections.Generic; using UnityEngine; [XLua.LuaCallCSharp] public class PwdKeyboard : Singleton<PwdKeyboard> { public string pwd = string.Empty; } System/Voice/SpeechTranslate.cs
@@ -3,7 +3,9 @@ using UnityEngine; using System.Collections.Generic; [XLua.LuaCallCSharp] public class SpeechTranslate : Singleton<SpeechTranslate> { public const int AUDIO_TIMELIMIT = 8;//秒 System/Welfare/OperationTimeHepler.cs
@@ -5,6 +5,7 @@ using UnityEngine; namespace Snxxz.UI { [XLua.LuaCallCSharp] public class OperationTimeHepler : Singleton<OperationTimeHepler> { private Dictionary<Operation, OperationBase> operationDict = new Dictionary<Operation, OperationBase>(); @@ -322,7 +323,7 @@ operationBase.startDate = ParseOperationDate(package.StartDate); operationBase.endDate = ParseOperationDate(package.EndtDate); operationBase.resetType = package.ResetType; ModelCenter.Instance.GetModel<BossRebornModel>().UpdateTaskBaseInfos(package.TaskInfo); ModelCenter.Instance.GetModel<BossRebornModel>().UpdateTaskBaseInfos(package.TaskInfo); } } System/Welfare/WelfareCenter.cs
@@ -3,7 +3,9 @@ using UnityEngine; namespace Snxxz.UI { public class WelfareCenter : Singleton<WelfareCenter> [XLua.LuaCallCSharp] public class WelfareCenter : Singleton<WelfareCenter> { SignInModel signInModel { get { return ModelCenter.Instance.GetModel<SignInModel>(); } } System/WindowBase/ModelCenter.cs
@@ -52,6 +52,7 @@ void OnSwitchAccount(); } [XLua.LuaCallCSharp] public class ModelCenter : Singleton<ModelCenter> { bool inited = false; System/WindowBase/WindowCenter.cs
@@ -4,7 +4,9 @@ namespace Snxxz.UI { public class WindowCenter : Singleton<WindowCenter> [XLua.LuaCallCSharp] public class WindowCenter : Singleton<WindowCenter> { public event Action<Window> windowBeforeOpenEvent; public event Action<Window> windowAfterOpenEvent; System/WindowJump/WindowJumpMgr.cs
@@ -3,6 +3,7 @@ using TableConfig; using Snxxz.UI; [XLua.LuaCallCSharp] public class WindowJumpMgr : Singleton<WindowJumpMgr> { private FuncConfigConfig funcOpenBagItem = null; System/WorldMap/WorldMapSkip.cs
@@ -4,7 +4,9 @@ using UnityEngine; using TableConfig; [XLua.LuaCallCSharp] public class WorldMapSkip : SingletonMonobehaviour<WorldMapSkip> { Action onSceneLoadCompleted; UI/Common/TimeDownMgr.cs
@@ -3,7 +3,9 @@ using System.Collections.Generic; using UnityEngine; [XLua.LuaCallCSharp] public class TimeDownMgr : SingletonMonobehaviour<TimeDownMgr> { public enum CoolTimeType { UI/Common/UI3DModelExhibition.cs
@@ -11,7 +11,7 @@ namespace Snxxz.UI { [XLua.LuaCallCSharp] public class UI3DModelExhibition : MonoBehaviour { [SerializeField] Transform m_PlayerShowPoint; @@ -66,10 +66,8 @@ public static UI3DModelExhibition Instance { get; private set; } static UI3DModelExhibition m_InstanceClone1 = null; public static UI3DModelExhibition InstanceClone1 { get { public static UI3DModelExhibition InstanceClone1 { get { if (m_InstanceClone1 == null) { CreateCloneStage(); @@ -102,6 +100,11 @@ DontDestroyOnLoad(gameObject); } public string GetName() { return this.name; } public void ShowLoginPlayer(RawImage _rawImage, int _job) { var clothesItemId = 0; UI/Effect/EffectMgr.cs
@@ -1,6 +1,8 @@ using Snxxz.UI; using UnityEngine; [XLua.LuaCallCSharp] public class EffectMgr : SingletonMonobehaviour<EffectMgr> { public UIEffectBehaviour GetUIEffect(int id, bool _destroy = false) { UI/Effect/TimeMgr.cs
@@ -3,7 +3,9 @@ using System.Collections.Generic; using UnityEngine; [XLua.LuaCallCSharp] public class TimeMgr : SingletonMonobehaviour<TimeMgr> { private Dictionary<Component, TimeItem> timeItems = new Dictionary<Component, TimeItem>(); private List<TimeItem> timeItemList = new List<TimeItem>(); Utility/GMCommand.cs
@@ -7,7 +7,9 @@ using Snxxz.UI; using LitJson; [XLua.LuaCallCSharp] public class GMCommand : SingletonMonobehaviour<GMCommand> { public void Begin() Utility/GlobalTimeEvent.cs
@@ -3,7 +3,9 @@ using UnityEngine; using System; public class GlobalTimeEvent : SingletonMonobehaviour<GlobalTimeEvent> [XLua.LuaCallCSharp] public class GlobalTimeEvent : SingletonMonobehaviour<GlobalTimeEvent> { public event Action secondEvent; public event Action minuteEvent; Utility/LanguageVerify.cs
@@ -7,7 +7,9 @@ using System.Text.RegularExpressions; using UnityEngine; [XLua.LuaCallCSharp] public class LanguageVerify : Singleton<LanguageVerify> { const string Sercret = "c345a165b566d1c421afd8a748373d7f"; bool requireVerify Utility/OperationLogCollect.cs
@@ -5,7 +5,9 @@ using Snxxz.UI; using LitJson; [XLua.LuaCallCSharp] public class OperationLogCollect : Singleton<OperationLogCollect> { const string url = "http://pub.game.2460web.com:11000/event_receiver?"; Utility/RunTimeExceptionUtility.cs
@@ -5,7 +5,9 @@ using System.IO; using System.Threading; public class RunTimeExceptionUtility : Singleton<RunTimeExceptionUtility> [XLua.LuaCallCSharp] public class RunTimeExceptionUtility : Singleton<RunTimeExceptionUtility> { List<string> logWriteToFileTemp = new List<string>();