cull(engine-cleanup): pass-8 phase-2 cascade round 1
[trim] fully-unreachable files deleted: 6 [trim] files edited: 55, files deleted: 0, nodes removed: 244 [type-trim] files edited: 1, types removed: 1 Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
@@ -22,7 +22,6 @@ public partial class BattleLogManager
|
||||
public static BattleLogManager GetInstance() => _instance ??= new BattleLogManager(); // HEADLESS-FIX (M9): non-null singleton so the draw's unguarded BattleLog tail (UpdateFusionedCardSkillDrewCard, and the IsBattleLog AddLogSkillDrawCard calls) no-ops instead of NRE on a null instance
|
||||
private BattleLogManager() { }
|
||||
public void SetUp(Transform parent, BattleManagerBase battleMgr, OperateMgr operateMgr, BattlePlayer battlePlayer) { }
|
||||
public void Clear() { }
|
||||
public void ClearDestroyedCardList(bool isPlayer) { }
|
||||
public void SetActiveShowButton(bool isActive) { }
|
||||
public void HideLog() { }
|
||||
|
||||
@@ -15,7 +15,6 @@ public partial class BattlePlayerView
|
||||
public BattlePlayerView(BattlePlayer battlePlayer) { }
|
||||
public static bool HasKeyword(CardParameter cardParameter) => default!;
|
||||
public bool IsMoving() => default!;
|
||||
public static DialogBase CreateKeyPanel(UILabel label, IList<string> keywordList, CardMaster.CardMasterId cardMasterId) => default!;
|
||||
public static DialogBase CreateKeyPanel(string skillDescription, UILabel label, CardMaster.CardMasterId cardMasterId) => default!;
|
||||
public static void PressKeyWordColorChange(UILabel label, bool press) { }
|
||||
public static void SetKeyWordLabelColor(UILabel label, string colorCode = "[ffcd45]") { }
|
||||
|
||||
@@ -8,7 +8,5 @@ public partial class GameObjMgr
|
||||
public void DisposeUIGameObj() { }
|
||||
public GameObject AddUIContainerChildPrefab(string str) => default!;
|
||||
public GameObject AddUIManagerRootChildPrefab(string str) => default!;
|
||||
public GameObject GetUIContainer() => default!;
|
||||
public Camera GetUIContainerCam() => default!;
|
||||
public GameObject GetSubUIContainer() => default!;
|
||||
}
|
||||
|
||||
@@ -7,12 +7,6 @@ namespace Wizard
|
||||
public partial class MailTopTask
|
||||
{
|
||||
public partial class MailTopTaskParam { }
|
||||
public int? LastPageRead { get; set; }
|
||||
public long ServerTime { get; set; }
|
||||
public long RequestTime { get; set; }
|
||||
public MailTopTask() { }
|
||||
public void SetToFirstPage() { }
|
||||
public void SetParameter(bool isTutorial) { }
|
||||
public void SetParameterToNextPage() { }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -112,7 +112,6 @@ public partial class UIManager
|
||||
public void closeInSceneCenterLoading(bool force = true, bool disableCollider = false) { }
|
||||
public LoadingInScene createInSceneLoadingMatching(bool notBlack = false, bool notCollider = false) => default!;
|
||||
public LoadingInScene CloseInSceneLoadingMatching() => default!;
|
||||
public LoadingInScene CloseInSceneLoadingBattle() => default!;
|
||||
public void createInSceneNotNetwork() { }
|
||||
public void closeInSceneNotNetwork() { }
|
||||
public void CreatFadeOpen(Action onFinishCallback = null) { }
|
||||
|
||||
@@ -14,7 +14,6 @@ public partial class UIManager
|
||||
{
|
||||
public partial class ChangeViewSceneParam
|
||||
{
|
||||
public Action OnBeforeChange { get; set; }
|
||||
public Action OnChange { get; set; }
|
||||
public bool IsShow_CardIntroduction { get; set; }
|
||||
public int MyPageMenuIndex { get; set; }
|
||||
|
||||
@@ -15,30 +15,17 @@ public class EffectMgr
|
||||
{
|
||||
public enum EffectType
|
||||
{
|
||||
NONE, CMN_CARD_DRAW_2, CMN_CARD_SET_1, CMN_CARD_SET_2, CMN_CARD_SET_3, CMN_CARD_ACCELERATE_1, CMN_CARD_CRYSTALLIZE_1, CMN_CARD_TARGET_1, CMN_CARD_TARGET_2, CMN_CARD_SELECT_3, CMN_UI_TURN_1, CMN_UI_TURN_5, CMN_UI_TURN_6, CMN_FRAME_BTN_1, CMN_RESULT_TITLE_2, CMN_RESULT_TITLE_3, CMN_FIELD_SET_1, CMN_FIELD_SET_2, CMN_FIELD_SET_3, CMN_FIELD_SET_4, CMN_FIELD_SET_5, CMN_FIELD_SET_6, CMN_FIELD_SET_7, CMN_FIELD_SET_8, CMN_FIELD_SET_9, CMN_FIELD_SET_10, CMN_FIELD_SET_20, CMN_FIELD_SET_21, CMN_FIELD_SET_22, CMN_FIELD_SET_23, CMN_FIELD_SET_30, CMN_FIELD_SET_31, CMN_FIELD_SET_32, CMN_FIELD_SET_33, CMN_FIELD_SET_34, CMN_FIELD_SET_41, CMN_FIELD_SET_42, CMN_FIELD_SET_43, CMN_FIELD_SET_51, CMN_FIELD_SET_52, CMN_FIELD_SET_61, CMN_FIELD_SET_62, CMN_FIELD_SET_71, CMN_FIELD_SET_72, CMN_FIELD_SET_74, CMN_FIELD_SET_76, CMN_FIELD_SET_1001, CMN_FIELD_SET_1002, CMN_FIELD_SET_1003, CMN_FIELD_SET_1004, CMN_FIELD_SET_1005, CMN_FIELD_SET_1006, CMN_FIELD_SET_1007, CMN_FIELD_SET_1008, CMN_FIELD_SET_1009, CMN_FIELD_SET_1010, CMN_FIELD_SET_1011, CMN_FIELD_SET_1012, CMN_FIELD_TAP_1_1, CMN_FIELD_TAP_1_2, CMN_FIELD_TAP_2_1, CMN_FIELD_TAP_3_1, CMN_FIELD_TAP_3_2, CMN_FIELD_TAP_4_1, CMN_FIELD_TAP_4_2, CMN_FIELD_TAP_5_1, CMN_FIELD_TAP_6_1, CMN_FIELD_TAP_6_2, CMN_FIELD_TAP_7_1, CMN_FIELD_TAP_8_1, CMN_FIELD_TAP_9_1, CMN_FIELD_TAP_10_1, CMN_FIELD_TAP_10_2, CMN_FIELD_TAP_20_1, CMN_FIELD_TAP_20_2, CMN_FIELD_TAP_21_1, CMN_FIELD_TAP_21_2, CMN_FIELD_TAP_22_1, CMN_FIELD_TAP_23_1, CMN_FIELD_TAP_23_2, CMN_FIELD_TAP_30_1, CMN_FIELD_TAP_31_1, CMN_FIELD_TAP_31_2, CMN_FIELD_TAP_32_1, CMN_FIELD_TAP_33_1, CMN_FIELD_TAP_33_2, CMN_FIELD_TAP_34_1, CMN_FIELD_TAP_41_1, CMN_FIELD_TAP_42_1, CMN_FIELD_TAP_43_1, CMN_FIELD_TAP_51_1, CMN_FIELD_TAP_52_1, CMN_FIELD_TAP_61_1, CMN_FIELD_TAP_61_2, CMN_FIELD_TAP_62_1, CMN_FIELD_TAP_71_1, CMN_FIELD_TAP_72_1, CMN_FIELD_TAP_74_1, CMN_FIELD_TAP_76_1, CMN_FIELD_TAP_1001_1, CMN_FIELD_TAP_1002_1, CMN_FIELD_TAP_1003_1, CMN_FIELD_TAP_1004_1, CMN_FIELD_TAP_1005_1, CMN_FIELD_TAP_1006_1, CMN_FIELD_TAP_1007_1, CMN_FIELD_TAP_1007_2, CMN_FIELD_TAP_1008_1, CMN_FIELD_TAP_1009_1, CMN_FIELD_TAP_1010_1, CMN_FIELD_TAP_1011_1, CMN_FIELD_TAP_1012_1, CMN_TUTORIAL_TAP_1, CMN_CRAFT_CARD_1, CMN_CRAFT_CARD_2, CMN_CRAFT_ICON_1, CMN_CRAFT_TRACK_1, CMN_CRAFT_SPLASH_1, CMN_CRAFT_SPLASH_2, CMN_CRAFT_SPLASH_3, CMN_CRAFT_SPLASH_4, CMN_MAP_CHAPTER_1, CMN_MAP_MAPICON_CLEARED, CMN_MAP_MAPICON_NOTCLEARED, CMN_MAP_PLAYERICON, }
|
||||
NONE, CMN_CARD_DRAW_2, CMN_CARD_SET_1, CMN_CARD_SET_2, CMN_CARD_SET_3, CMN_CARD_ACCELERATE_1, CMN_CARD_CRYSTALLIZE_1, CMN_CARD_TARGET_1, CMN_CARD_TARGET_2, CMN_CARD_SELECT_3, CMN_UI_TURN_1, CMN_UI_TURN_5, CMN_UI_TURN_6, }
|
||||
public static System.Collections.IEnumerator LoadAndInstantiate2dEffectCoroutine(string effectName, System.Action<UnityEngine.GameObject, System.Collections.Generic.List<string>> finishCallback) { yield break; }
|
||||
public enum MoveType
|
||||
{
|
||||
NONE, SKIP, DIRECT, DIRECT_HAND, DIRECT_DECK, DIRECT_LEADER, CENTER }
|
||||
public enum TargetType { NONE, NONE_WAIT, SINGLE, SINGLE_ONLY_OPPONENT, AREA_ALL, AREA_OPPONENT, AREA_SELF }
|
||||
public enum EngineType { NONE, SHURIKEN}
|
||||
public bool IsFieldEffectReady => true;
|
||||
public bool IsBattleUIEffectReady => true;
|
||||
|
||||
public Effect Start(EffectType type, Vector3 pos, Quaternion rot, int layer = -1) => null;
|
||||
public Effect Start(EffectType type, Vector3 pos, GameObject obj = null) => null;
|
||||
public Effect Start(EffectType type, float posX, float posY) => null;
|
||||
public Effect Start(EffectType type) => null;
|
||||
public Effect StartBuff(EffectType type, GameObject obj) => null;
|
||||
public Effect StopBuff(EffectType type, GameObject obj) => null;
|
||||
public Effect Stop(EffectType type) => null;
|
||||
public List<string> InitCommonEffect(string filePath, bool isBattle = false, bool isField = false, bool isBattleEffect = false, Action callback = null) => new List<string>();
|
||||
public List<string> SetUIParticleShader(List<GameObject> effectObjList, Action callback, bool isBattle = false, bool isField = false) => new List<string>();
|
||||
public List<string> SetUIParticleShader(GameObject effectObj, Action callback, bool isBattle = false, bool isField = false) => new List<string>();
|
||||
public void ChangeMaskShader(GameObject effectObj, int stencil = 1) { }
|
||||
public void DisposeLatestMadeEffects() { }
|
||||
public void ClearLastCacheEffect() { }
|
||||
public void DestroyBattleEffectContainer() { }
|
||||
public void ImmediateDestroyBattleEffectContainer() { }
|
||||
public void ClearBattleFeildEffect() { }
|
||||
public void RestUnneededEffect() { }
|
||||
@@ -53,18 +40,9 @@ public partial class GameObjMgr { public GameObjMgr() { } }
|
||||
|
||||
public class GameMgr
|
||||
{
|
||||
// Phase-5 chunk 47: the ambient is gone. GameMgr.GetIns() has no scope-based mechanism —
|
||||
// BattleManagerBase.GetIns() returns null unconditionally, and every direct engine consumer
|
||||
// was migrated to per-mgr reads through the mgr's own `.GameMgr` property. The residual
|
||||
// static throws to catch any straggler that still calls it; MultiInstanceEngineTests pins
|
||||
// the null-null-throw shape.
|
||||
public static GameMgr GetIns() =>
|
||||
throw new System.InvalidOperationException(
|
||||
"GameMgr.GetIns() is retired. Read via `mgr.GameMgr` on a BattleManagerBase instance.");
|
||||
|
||||
public GameObject m_GameManagerObj;
|
||||
public float ScreenAspect = 1.777f;
|
||||
public DateTime AnnounceTime;
|
||||
|
||||
// Six mode flags collapsed to const-false getters in Phase 4 (2026-07-02): headless
|
||||
// is neither watching, replaying, admin-watching, an AI-network client, a puzzle
|
||||
@@ -101,12 +79,6 @@ public class GameMgr
|
||||
public BattleControl GetBattleCtrl() => _battleCtrl ??= new BattleControl();
|
||||
public NetworkUserInfoData GetNetworkUserInfoData() => _netUser;
|
||||
public void SetNetworkUserInfoData(NetworkUserInfoData infoData) => _netUser = infoData;
|
||||
public Wizard.MailTopTask GetMailTopTask() => null;
|
||||
public Wizard.DeckUpdateTask GetDeckUpdateTask() => null;
|
||||
public Wizard.CardDestructTask GetCardDestructTask() => null;
|
||||
public Wizard.CardCreateTask GetCardCreateTask() => null;
|
||||
public Wizard.MissionInfoTask GetMissionInfoTask() => null;
|
||||
public void DestroyBattleManagements() { }
|
||||
public bool IsUseUnapprovedList(bool isPlayer) => false;
|
||||
}
|
||||
|
||||
|
||||
@@ -50,7 +50,7 @@ namespace UnityEngine
|
||||
public static AsyncOperation UnloadUnusedAssets() => null;
|
||||
}
|
||||
|
||||
public class ResourceRequest : AsyncOperation { public Object asset => null; }
|
||||
public class ResourceRequest : AsyncOperation { }
|
||||
|
||||
public enum KeyCode
|
||||
{
|
||||
|
||||
@@ -271,7 +271,6 @@ namespace UnityEngine
|
||||
public int sortingOrder { get; set; }
|
||||
}
|
||||
public class MeshRenderer : Renderer { }
|
||||
public class SkinnedMeshRenderer : Renderer { }
|
||||
public class SpriteRenderer : Renderer { public Color color { get; set; } }
|
||||
public class MeshFilter : Component { public Mesh mesh { get; set; } public Mesh sharedMesh { get; set; } }
|
||||
public class ParticleSystem : Component
|
||||
|
||||
@@ -32,7 +32,6 @@ namespace UnityEngine
|
||||
public bool hasChanged { get; set; }
|
||||
public Matrix4x4 localToWorldMatrix => default;
|
||||
public Matrix4x4 worldToLocalMatrix => default;
|
||||
public void Rotate(float x, float y) { }
|
||||
public void Translate(Vector3 translation, Space relativeTo) { }
|
||||
public void Rotate(Vector3 eulers, Space relativeTo) { }
|
||||
}
|
||||
@@ -75,8 +74,6 @@ namespace UnityEngine
|
||||
|
||||
public partial class Texture2D
|
||||
{
|
||||
public byte[] EncodeToPNG() => Array.Empty<byte>();
|
||||
public bool LoadImage(byte[] data) => false;
|
||||
}
|
||||
|
||||
public partial class Sprite
|
||||
|
||||
Reference in New Issue
Block a user