cull(engine-cleanup): pass-8 phase-2 cascade round 2
[trim] fully-unreachable files deleted: 3 [trim] files edited: 21, files deleted: 0, nodes removed: 38 [type-trim] files edited: 3, types removed: 3 Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
@@ -145,26 +145,7 @@ public class BackGroundBase
|
|||||||
yield return new WaitForSeconds(0f);
|
yield return new WaitForSeconds(0f);
|
||||||
}
|
}
|
||||||
|
|
||||||
protected virtual IEnumerator RunFieldShake()
|
|
||||||
{
|
|
||||||
yield return new WaitForSeconds(0f);
|
|
||||||
}
|
|
||||||
|
|
||||||
public virtual void UpdateFieldRandom()
|
public virtual void UpdateFieldRandom()
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
public List<Transform> FindAllChildByName(Transform parent, string name)
|
|
||||||
{
|
|
||||||
List<Transform> list = new List<Transform>();
|
|
||||||
for (int i = 0; i < parent.childCount; i++)
|
|
||||||
{
|
|
||||||
Transform child = parent.GetChild(i);
|
|
||||||
if (child.name == name)
|
|
||||||
{
|
|
||||||
list.Add(child);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return list;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -9,10 +9,6 @@ public class BattleCamera
|
|||||||
|
|
||||||
public Camera _backgroundCamera;
|
public Camera _backgroundCamera;
|
||||||
|
|
||||||
public Vector3 BattleCameraPos { get; private set; }
|
|
||||||
|
|
||||||
public Vector3 BattleCameraRot { get; private set; }
|
|
||||||
|
|
||||||
public BattleCamera()
|
public BattleCamera()
|
||||||
{
|
{
|
||||||
Camera = null;
|
Camera = null;
|
||||||
|
|||||||
@@ -13,9 +13,6 @@ public class BattleKeywordInfoListMgr : MonoBehaviour
|
|||||||
|
|
||||||
private static readonly string[] KEYWORD_PATTERNS = new string[2] { "\\[u\\]\\[(ffcd45|524522)\\](?<KEYWORD>.*?)\\[-\\]\\[/u\\]", "\\[b\\](?<KEYWORD>.*?)\\[/b\\]" };
|
private static readonly string[] KEYWORD_PATTERNS = new string[2] { "\\[u\\]\\[(ffcd45|524522)\\](?<KEYWORD>.*?)\\[-\\]\\[/u\\]", "\\[b\\](?<KEYWORD>.*?)\\[/b\\]" };
|
||||||
|
|
||||||
[SerializeField]
|
|
||||||
private UIPanel _panel;
|
|
||||||
|
|
||||||
public static IList<string> GetKeywords(CardParameter cardParameter)
|
public static IList<string> GetKeywords(CardParameter cardParameter)
|
||||||
{
|
{
|
||||||
return GetKeywords(cardParameter.SkillDescription + cardParameter.EvoSkillDescription);
|
return GetKeywords(cardParameter.SkillDescription + cardParameter.EvoSkillDescription);
|
||||||
|
|||||||
@@ -917,8 +917,6 @@ public abstract class BattlePlayerBase : IBattlePlayerReadOnlyInfo
|
|||||||
|
|
||||||
public event Action OnPlayComplete;
|
public event Action OnPlayComplete;
|
||||||
|
|
||||||
public event Action<ClassCharaPrm.EmotionType, bool> OnEmotion;
|
|
||||||
|
|
||||||
public event Action<bool> OnClearDestroyedCardList;
|
public event Action<bool> OnClearDestroyedCardList;
|
||||||
|
|
||||||
public void SetCurrentEpCount(int setCount)
|
public void SetCurrentEpCount(int setCount)
|
||||||
|
|||||||
@@ -55,7 +55,6 @@ public class ClassCharaPrm
|
|||||||
PROVOCATION,
|
PROVOCATION,
|
||||||
LOSE,
|
LOSE,
|
||||||
SURRENDER_LOSE,
|
SURRENDER_LOSE,
|
||||||
STORY_LOSE,
|
|
||||||
NEGOTIATION_1,
|
NEGOTIATION_1,
|
||||||
NEGOTIATION_2,
|
NEGOTIATION_2,
|
||||||
NEGOTIATION_3,
|
NEGOTIATION_3,
|
||||||
|
|||||||
@@ -105,7 +105,6 @@ public class DataMgr
|
|||||||
BossRushQuest = 45,
|
BossRushQuest = 45,
|
||||||
SecretBossQuest = 46,
|
SecretBossQuest = 46,
|
||||||
CompetitionTwoPick = 47,
|
CompetitionTwoPick = 47,
|
||||||
Avatar = 48,
|
|
||||||
None = 100
|
None = 100
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -300,56 +299,6 @@ public class DataMgr
|
|||||||
SetEnemySleeveId(_enemySleeveId);
|
SetEnemySleeveId(_enemySleeveId);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void RegisterAICommonData()
|
|
||||||
{
|
|
||||||
for (int i = 0; i < Data.Master.AIBasicDataList.Set.Count; i++)
|
|
||||||
{
|
|
||||||
AICardDataAsset asset = Data.Master.AIBasicDataList.Set[i];
|
|
||||||
m_AIDataLibrary.RegisterBasicData(asset);
|
|
||||||
}
|
|
||||||
for (int j = 0; j < Data.Master.AICommonDataList.Set.Count; j++)
|
|
||||||
{
|
|
||||||
AICardDataAsset asset2 = Data.Master.AICommonDataList.Set[j];
|
|
||||||
m_AIDataLibrary.RegisterCommonData(asset2);
|
|
||||||
}
|
|
||||||
for (int k = 0; k < Data.Master.AIAllyCommonDataList.Set.Count; k++)
|
|
||||||
{
|
|
||||||
AICardDataAsset asset3 = Data.Master.AIAllyCommonDataList.Set[k];
|
|
||||||
m_AIDataLibrary.RegisterAllyCommonData(asset3);
|
|
||||||
}
|
|
||||||
m_AIDataLibrary.RegisterCommonStyle(Data.Master.AIStyleCommonDataList);
|
|
||||||
}
|
|
||||||
|
|
||||||
public void RegisterAIDeckData()
|
|
||||||
{
|
|
||||||
if (Data.Master.AIDeckDic == null)
|
|
||||||
{
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
foreach (KeyValuePair<string, AICardDataAssetSet> item in Data.Master.AIDeckDic)
|
|
||||||
{
|
|
||||||
m_AIDataLibrary.RegisterDeckToDeckDic(item.Key, item.Value.Set);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public void RegisterAIStyleData()
|
|
||||||
{
|
|
||||||
foreach (KeyValuePair<string, List<AIPolicyDataAsset>> item in Data.Master.AIStyleDic)
|
|
||||||
{
|
|
||||||
m_AIDataLibrary.RegisterDeckStyle(item.Key, item.Value);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public void RegisterAIEmoteData()
|
|
||||||
{
|
|
||||||
foreach (KeyValuePair<string, List<AIEmoteDataAsset>> item in Data.Master.AIEmoteDic)
|
|
||||||
{
|
|
||||||
AIEmoteSet aIEmoteSet = new AIEmoteSet();
|
|
||||||
aIEmoteSet.CreateFromAsset(item.Value);
|
|
||||||
m_AIDataLibrary.RegisterEmoteSet(item.Key, aIEmoteSet);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public void SetPlayerCharaId(int charaId)
|
public void SetPlayerCharaId(int charaId)
|
||||||
{
|
{
|
||||||
_playerCharaId = charaId;
|
_playerCharaId = charaId;
|
||||||
@@ -738,15 +687,6 @@ public class DataMgr
|
|||||||
return GetEnemyCharaData().Is3d;
|
return GetEnemyCharaData().Is3d;
|
||||||
}
|
}
|
||||||
|
|
||||||
public bool IsEvolveSkin(bool isPlayer)
|
|
||||||
{
|
|
||||||
if (isPlayer)
|
|
||||||
{
|
|
||||||
return GetPlayerCharaData().IsEvolveSkin;
|
|
||||||
}
|
|
||||||
return GetEnemyCharaData().IsEvolveSkin;
|
|
||||||
}
|
|
||||||
|
|
||||||
public IList<int> GetCurrentDeckData()
|
public IList<int> GetCurrentDeckData()
|
||||||
{
|
{
|
||||||
return _currentDeckCardIdList;
|
return _currentDeckCardIdList;
|
||||||
@@ -780,11 +720,6 @@ public class DataMgr
|
|||||||
return _possessionCardDict;
|
return _possessionCardDict;
|
||||||
}
|
}
|
||||||
|
|
||||||
public bool HasPossesionCardInfo(int cardId, bool isIncludingSpotCard)
|
|
||||||
{
|
|
||||||
return GetUserOwnCardData(isIncludingSpotCard).ContainsKey(cardId);
|
|
||||||
}
|
|
||||||
|
|
||||||
public int GetPossessionCardNum(int cardId, bool isIncludingSpotCard)
|
public int GetPossessionCardNum(int cardId, bool isIncludingSpotCard)
|
||||||
{
|
{
|
||||||
int value = 0;
|
int value = 0;
|
||||||
@@ -818,11 +753,6 @@ public class DataMgr
|
|||||||
_possessionCardDictIncludingSpotCard = SpotCardData.CreateDictionaryIncludingSpotCard(_possessionCardDict);
|
_possessionCardDictIncludingSpotCard = SpotCardData.CreateDictionaryIncludingSpotCard(_possessionCardDict);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void SetDirtyPossessionCardDict()
|
|
||||||
{
|
|
||||||
_isDirtyPossessionCardDict = true;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void SetIsNewCard(int cardId, bool isNew)
|
public void SetIsNewCard(int cardId, bool isNew)
|
||||||
{
|
{
|
||||||
_isNewCardDict[cardId] = isNew;
|
_isNewCardDict[cardId] = isNew;
|
||||||
|
|||||||
@@ -6,8 +6,6 @@ public class Effect : MonoBehaviour
|
|||||||
|
|
||||||
private GameObject m_GameObjIns;
|
private GameObject m_GameObjIns;
|
||||||
|
|
||||||
private ParticleSystem m_ParticleSystem;
|
|
||||||
|
|
||||||
private Vector3 m_Pos;
|
private Vector3 m_Pos;
|
||||||
|
|
||||||
private bool m_Use;
|
private bool m_Use;
|
||||||
|
|||||||
@@ -19,9 +19,7 @@ public abstract class HandControl
|
|||||||
|
|
||||||
public enum HandVisible
|
public enum HandVisible
|
||||||
{
|
{
|
||||||
Invisible,
|
Invisible }
|
||||||
Visible
|
|
||||||
}
|
|
||||||
|
|
||||||
protected readonly GameObject _gameObject;
|
protected readonly GameObject _gameObject;
|
||||||
|
|
||||||
|
|||||||
@@ -52,8 +52,6 @@ public class InputMgr
|
|||||||
|
|
||||||
private IList<GameObject> m_DragEfcList = new List<GameObject>();
|
private IList<GameObject> m_DragEfcList = new List<GameObject>();
|
||||||
|
|
||||||
private bool _isBackKeyEnable = true;
|
|
||||||
|
|
||||||
public BattleCamera m_BattleCamera;
|
public BattleCamera m_BattleCamera;
|
||||||
|
|
||||||
private bool _wentOverDrag;
|
private bool _wentOverDrag;
|
||||||
|
|||||||
@@ -469,13 +469,6 @@ public class Mail : UIBase
|
|||||||
// method becomes a no-op (the scroll wrap paths above handle empty results cleanly).
|
// method becomes a no-op (the scroll wrap paths above handle empty results cleanly).
|
||||||
}
|
}
|
||||||
|
|
||||||
private void UpdateScrollSize()
|
|
||||||
{
|
|
||||||
WrapContent.minIndex = -(_currentList.Count - 1);
|
|
||||||
WrapScrollbar.ContentUpdate();
|
|
||||||
ScrollView.UpdateScrollbars();
|
|
||||||
}
|
|
||||||
|
|
||||||
protected override void onClose()
|
protected override void onClose()
|
||||||
{
|
{
|
||||||
base.onClose();
|
base.onClose();
|
||||||
|
|||||||
@@ -33,17 +33,6 @@ public class AIDataLibrary
|
|||||||
emoteDic = new Dictionary<string, AIEmoteSet>();
|
emoteDic = new Dictionary<string, AIEmoteSet>();
|
||||||
}
|
}
|
||||||
|
|
||||||
public void Clear()
|
|
||||||
{
|
|
||||||
_basicDic.Clear();
|
|
||||||
_commonDic.Clear();
|
|
||||||
_allyCommonDic.Clear();
|
|
||||||
_deckDic.Clear();
|
|
||||||
_commonStyle.Clear();
|
|
||||||
_deckStyleDic.Clear();
|
|
||||||
emoteDic.Clear();
|
|
||||||
}
|
|
||||||
|
|
||||||
public void SaveBattleSetUpInfo(int classID, AI_LOGIC_LV logicLv, string deckName, string styleName, string emoteName, bool useEmote, bool useInnerEmote, int enemyAiID, List<int> specialAbilityList)
|
public void SaveBattleSetUpInfo(int classID, AI_LOGIC_LV logicLv, string deckName, string styleName, string emoteName, bool useEmote, bool useInnerEmote, int enemyAiID, List<int> specialAbilityList)
|
||||||
{
|
{
|
||||||
setupInfoBuf = new AISetUpData(classID, logicLv, deckName, styleName, emoteName, useEmote, useInnerEmote, enemyAiID, specialAbilityList);
|
setupInfoBuf = new AISetUpData(classID, logicLv, deckName, styleName, emoteName, useEmote, useInnerEmote, enemyAiID, specialAbilityList);
|
||||||
|
|||||||
@@ -102,22 +102,6 @@ public class AIPolicyData
|
|||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
public static AICategory ConvertClassIDToCategory(int id)
|
|
||||||
{
|
|
||||||
return id switch
|
|
||||||
{
|
|
||||||
1 => AICategory.ELF,
|
|
||||||
2 => AICategory.ROYAL,
|
|
||||||
3 => AICategory.WITCH,
|
|
||||||
4 => AICategory.DRAGON,
|
|
||||||
5 => AICategory.NECROMANCE,
|
|
||||||
6 => AICategory.VAMPIRE,
|
|
||||||
7 => AICategory.BISHOP,
|
|
||||||
8 => AICategory.NEMESIS,
|
|
||||||
_ => AICategory.ALL,
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
||||||
public bool CheckCondition(AIVirtualCard owner, List<int> playPtn, AIVirtualField field, AISituationInfo situation)
|
public bool CheckCondition(AIVirtualCard owner, List<int> playPtn, AIVirtualField field, AISituationInfo situation)
|
||||||
{
|
{
|
||||||
return _conditionExpr.CheckCondition(owner, playPtn, field, situation);
|
return _conditionExpr.CheckCondition(owner, playPtn, field, situation);
|
||||||
|
|||||||
@@ -81,19 +81,4 @@ public class AIStyleData
|
|||||||
policyDic.Add(key, list2);
|
policyDic.Add(key, list2);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void MixInStyle(AIStyleData addStyle)
|
|
||||||
{
|
|
||||||
foreach (KeyValuePair<AIStyleKey, List<AIPolicyData>> pair in addStyle.policyDic)
|
|
||||||
{
|
|
||||||
if (pair.Value == null || (categoryFilter != null && !categoryFilter.Any((AICategory c) => c == pair.Key.category)))
|
|
||||||
{
|
|
||||||
continue;
|
|
||||||
}
|
|
||||||
foreach (AIPolicyData item in pair.Value)
|
|
||||||
{
|
|
||||||
MixInPolicy(pair.Key, item);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -7,7 +7,6 @@ public class CardCreateTask : BaseTask
|
|||||||
{
|
{
|
||||||
public class CardCreateTaskParam : BaseParam
|
public class CardCreateTaskParam : BaseParam
|
||||||
{
|
{
|
||||||
public string card_id_number_array;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public CardCreateTask()
|
public CardCreateTask()
|
||||||
|
|||||||
@@ -7,7 +7,6 @@ public class CardDestructTask : BaseTask
|
|||||||
{
|
{
|
||||||
public class CardDestructTaskParam : BaseParam
|
public class CardDestructTaskParam : BaseParam
|
||||||
{
|
{
|
||||||
public string card_id_number_array;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public CardDestructTask()
|
public CardDestructTask()
|
||||||
|
|||||||
@@ -38,15 +38,6 @@ public class Emotion
|
|||||||
return Data.Master.GetEmoteWordText(id);
|
return Data.Master.GetEmoteWordText(id);
|
||||||
}
|
}
|
||||||
|
|
||||||
public string GetVoiceId(bool isEvolved = false)
|
|
||||||
{
|
|
||||||
if (!isEvolved)
|
|
||||||
{
|
|
||||||
return voice_id;
|
|
||||||
}
|
|
||||||
return evolved_voice_id;
|
|
||||||
}
|
|
||||||
|
|
||||||
public string GetText(bool isEvolved = false)
|
public string GetText(bool isEvolved = false)
|
||||||
{
|
{
|
||||||
if (!isEvolved)
|
if (!isEvolved)
|
||||||
|
|||||||
@@ -90,10 +90,6 @@ public class Master
|
|||||||
|
|
||||||
public Dictionary<string, List<AIEmoteDataAsset>> AIEmoteDic { get; set; }
|
public Dictionary<string, List<AIEmoteDataAsset>> AIEmoteDic { get; set; }
|
||||||
|
|
||||||
public Dictionary<string, Dictionary<ClassCharaPrm.EmotionType, Emotion>> _emotionDic { get; set; }
|
|
||||||
|
|
||||||
public StoryAISettingDataSet QuestAISettingList { get; set; }
|
|
||||||
|
|
||||||
public List<string> AICommonFileNameList { get; set; }
|
public List<string> AICommonFileNameList { get; set; }
|
||||||
|
|
||||||
public List<string> AIAllyCommonFileNameList { get; set; }
|
public List<string> AIAllyCommonFileNameList { get; set; }
|
||||||
@@ -496,53 +492,4 @@ public class Master
|
|||||||
aiPaths.Add(Toolbox.ResourcesManager.GetAssetTypePath(fileName, ResourcesManager.AssetLoadPathType.Master));
|
aiPaths.Add(Toolbox.ResourcesManager.GetAssetTypePath(fileName, ResourcesManager.AssetLoadPathType.Master));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private void RegisterAICommonCsvPath(List<string> aiPaths)
|
|
||||||
{
|
|
||||||
aiPaths.Add(Toolbox.ResourcesManager.GetAssetTypePath("ai_basic", ResourcesManager.AssetLoadPathType.Master));
|
|
||||||
if (AICommonDataList == null)
|
|
||||||
{
|
|
||||||
RegisterAICommonCsvFilePaths(aiPaths);
|
|
||||||
}
|
|
||||||
if (AIAllyCommonDataList == null)
|
|
||||||
{
|
|
||||||
RegisterAIAllyCommonCsvFilePaths(aiPaths);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
private void RegisterAIIndividualCsvPath(List<string> aiPaths, AICsvLoadingInfo info)
|
|
||||||
{
|
|
||||||
if (info.DeckId >= 0)
|
|
||||||
{
|
|
||||||
RegisterAIDeckCsvFilePath(aiPaths, info.DeckId);
|
|
||||||
}
|
|
||||||
RegisterAIStyleCsvFilePath(aiPaths, info.StyleId);
|
|
||||||
RegisterAIEmoteCsvFilePath(aiPaths, info.EmoteId);
|
|
||||||
}
|
|
||||||
|
|
||||||
private void StartLoadAIBasicAndCommonData()
|
|
||||||
{
|
|
||||||
if (AIBasicDataList == null)
|
|
||||||
{
|
|
||||||
StartLoadAIBasicData();
|
|
||||||
}
|
|
||||||
if (AICommonDataList == null)
|
|
||||||
{
|
|
||||||
StartLoadAICommonData(AICommonFileNameList);
|
|
||||||
}
|
|
||||||
if (AIAllyCommonDataList == null)
|
|
||||||
{
|
|
||||||
StartLoadAIAllyCommonData(AIAllyCommonFileNameList);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
private void StartLoadAIIndividualData(AICsvLoadingInfo info)
|
|
||||||
{
|
|
||||||
if (info.DeckId >= 0)
|
|
||||||
{
|
|
||||||
StartLoadAIDeckData(info.DeckId);
|
|
||||||
}
|
|
||||||
StartLoadAIEmoteData(info.EmoteId);
|
|
||||||
StartLoadAIStyleData(info.StyleId);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,30 +0,0 @@
|
|||||||
namespace Wizard;
|
|
||||||
|
|
||||||
public class PracticeAISettingData
|
|
||||||
{
|
|
||||||
public int ClassId { get; private set; }
|
|
||||||
|
|
||||||
public int Difficulty { get; private set; }
|
|
||||||
|
|
||||||
public int DeckId { get; private set; }
|
|
||||||
|
|
||||||
public int StyleId { get; private set; }
|
|
||||||
|
|
||||||
public int EmoteId { get; private set; }
|
|
||||||
|
|
||||||
public int LogicLevel { get; private set; }
|
|
||||||
|
|
||||||
public int MaxLife { get; private set; }
|
|
||||||
|
|
||||||
public PracticeAISettingData(string[] columns)
|
|
||||||
{
|
|
||||||
int num = 0;
|
|
||||||
ClassId = AIScriptParser.ParseInt(columns[num++]);
|
|
||||||
Difficulty = AIScriptParser.ParseInt(columns[num++]);
|
|
||||||
DeckId = AIScriptParser.ParseInt(columns[num++]);
|
|
||||||
StyleId = AIScriptParser.ParseInt(columns[num++]);
|
|
||||||
EmoteId = AIScriptParser.ParseInt(columns[num++]);
|
|
||||||
LogicLevel = AIScriptParser.ParseInt(columns[num++]);
|
|
||||||
MaxLife = AIScriptParser.ParseInt(columns[num++]);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,14 +0,0 @@
|
|||||||
using System.Collections.Generic;
|
|
||||||
using System.Linq;
|
|
||||||
|
|
||||||
namespace Wizard;
|
|
||||||
|
|
||||||
public class PracticeAISettingDataSet
|
|
||||||
{
|
|
||||||
private List<PracticeAISettingData> _dataTable;
|
|
||||||
|
|
||||||
public PracticeAISettingDataSet()
|
|
||||||
{
|
|
||||||
_dataTable = new List<PracticeAISettingData>();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -11,9 +11,4 @@ public class StoryAISettingDataSet
|
|||||||
{
|
{
|
||||||
_dataTable = new List<StoryAISettingData>();
|
_dataTable = new List<StoryAISettingData>();
|
||||||
}
|
}
|
||||||
|
|
||||||
public StoryAISettingData GetSettingData(int enemyAiId)
|
|
||||||
{
|
|
||||||
return _dataTable.First((StoryAISettingData d) => d.EnemyAiId == enemyAiId);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,24 +0,0 @@
|
|||||||
namespace Wizard;
|
|
||||||
|
|
||||||
public class VoteTask : BaseTask
|
|
||||||
{
|
|
||||||
public class VoteTaskParam : BaseParam
|
|
||||||
{
|
|
||||||
public int vote_id;
|
|
||||||
|
|
||||||
public int target_id;
|
|
||||||
}
|
|
||||||
|
|
||||||
public VoteTask()
|
|
||||||
{
|
|
||||||
base.type = ApiType.Type.Vote;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void SetParameter(int voteId, int targetId)
|
|
||||||
{
|
|
||||||
VoteTaskParam voteTaskParam = new VoteTaskParam();
|
|
||||||
voteTaskParam.vote_id = voteId;
|
|
||||||
voteTaskParam.target_id = targetId;
|
|
||||||
base.Params = voteTaskParam;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -476,14 +476,6 @@ public class iTween : MonoBehaviour
|
|||||||
Launch(target, args);
|
Launch(target, args);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void ShakePosition(GameObject target, Hashtable args)
|
|
||||||
{
|
|
||||||
args = CleanArgs(args);
|
|
||||||
args["type"] = "shake";
|
|
||||||
args["method"] = "position";
|
|
||||||
Launch(target, args);
|
|
||||||
}
|
|
||||||
|
|
||||||
private void GenerateTargets()
|
private void GenerateTargets()
|
||||||
{
|
{
|
||||||
string text = type;
|
string text = type;
|
||||||
|
|||||||
@@ -4,9 +4,4 @@ using LitJson;
|
|||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
namespace Wizard
|
namespace Wizard
|
||||||
{
|
{
|
||||||
public partial class MailTopTask
|
|
||||||
{
|
|
||||||
public partial class MailTopTaskParam { }
|
|
||||||
public MailTopTask() { }
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -41,7 +41,7 @@ namespace Wizard.Battle.Touch { public partial class FusionWaitProcessor : SetCa
|
|||||||
namespace Wizard.Battle.View.Vfx { }
|
namespace Wizard.Battle.View.Vfx { }
|
||||||
namespace Wizard.Battle.View.Vfx { }
|
namespace Wizard.Battle.View.Vfx { }
|
||||||
namespace Wizard.UI.Dialog.ImageSelection { public partial class ImageSelection : MonoBehaviour { } }
|
namespace Wizard.UI.Dialog.ImageSelection { public partial class ImageSelection : MonoBehaviour { } }
|
||||||
namespace Wizard { public partial class MailTopTask : BaseTask { } }
|
namespace Wizard { }
|
||||||
namespace Wizard.Battle.View.Vfx { }
|
namespace Wizard.Battle.View.Vfx { }
|
||||||
namespace Wizard { }
|
namespace Wizard { }
|
||||||
namespace Wizard.Battle.UI { }
|
namespace Wizard.Battle.UI { }
|
||||||
|
|||||||
@@ -95,9 +95,6 @@ public partial class UIManager : UnityEngine.MonoBehaviour
|
|||||||
|
|
||||||
namespace Wizard
|
namespace Wizard
|
||||||
{
|
{
|
||||||
// RankWinnerReward, CardDestructTask, CardCreateTask, MissionInfoTask already exist
|
|
||||||
// in the copied set (declared in other files) -- only these three were missing.
|
|
||||||
public partial class MailTopTask { }
|
|
||||||
public partial class DeckUpdateTask { }
|
public partial class DeckUpdateTask { }
|
||||||
// UIManager no-op return types (empty stubs; methods returning them return null)
|
// UIManager no-op return types (empty stubs; methods returning them return null)
|
||||||
public partial class LoadingViewManager { }
|
public partial class LoadingViewManager { }
|
||||||
|
|||||||
@@ -143,8 +143,6 @@ namespace UnityEngine
|
|||||||
public Vector3 InverseTransformPoint(Vector3 p) => p;
|
public Vector3 InverseTransformPoint(Vector3 p) => p;
|
||||||
public Vector3 TransformDirection(Vector3 d) => d;
|
public Vector3 TransformDirection(Vector3 d) => d;
|
||||||
public Vector3 InverseTransformDirection(Vector3 d) => d;
|
public Vector3 InverseTransformDirection(Vector3 d) => d;
|
||||||
public void Rotate(Vector3 e) { }
|
|
||||||
public void Rotate(float x, float y, float z) { }
|
|
||||||
public void LookAt(Transform t, Vector3 worldUp) { }
|
public void LookAt(Transform t, Vector3 worldUp) { }
|
||||||
public void LookAt(Vector3 p, Vector3 worldUp) { }
|
public void LookAt(Vector3 p, Vector3 worldUp) { }
|
||||||
public Transform Find(string n, bool includeInactive) => Find(n);
|
public Transform Find(string n, bool includeInactive) => Find(n);
|
||||||
@@ -277,7 +275,7 @@ namespace UnityEngine
|
|||||||
{
|
{
|
||||||
public void Play() { } public void Play(bool withChildren) { }
|
public void Play() { } public void Play(bool withChildren) { }
|
||||||
public void Stop() { } public void Stop(bool withChildren) { }
|
public void Stop() { } public void Stop(bool withChildren) { }
|
||||||
public void Clear() { } public int particleCount => 0;
|
public int particleCount => 0;
|
||||||
public MainModule main => default;
|
public MainModule main => default;
|
||||||
public int GetParticles(Particle[] p) => 0;
|
public int GetParticles(Particle[] p) => 0;
|
||||||
public void SetParticles(Particle[] p, int n) { }
|
public void SetParticles(Particle[] p, int n) { }
|
||||||
@@ -322,7 +320,7 @@ public void Clear() { } public int particleCount => 0;
|
|||||||
public partial class Animation : Component, IEnumerable { public bool isPlaying => false; public void Play() { } public void Play(string n) { } public IEnumerator GetEnumerator() { yield break; } }
|
public partial class Animation : Component, IEnumerable { public bool isPlaying => false; public void Play() { } public void Play(string n) { } public IEnumerator GetEnumerator() { yield break; } }
|
||||||
public class Animator : Component
|
public class Animator : Component
|
||||||
{
|
{
|
||||||
public void SetTrigger(string n) { } public void Play(string n, int layer, float normalizedTime) { }
|
public void Play(string n, int layer, float normalizedTime) { }
|
||||||
public void Play(int hash, int layer, float normalizedTime) { }
|
public void Play(int hash, int layer, float normalizedTime) { }
|
||||||
public float speed { get; set; } public void Update(float dt) { }
|
public float speed { get; set; } public void Update(float dt) { }
|
||||||
public AnimatorStateInfo GetCurrentAnimatorStateInfo(int layer) => default;
|
public AnimatorStateInfo GetCurrentAnimatorStateInfo(int layer) => default;
|
||||||
|
|||||||
Reference in New Issue
Block a user