cull(engine-cleanup): pass-8 phase-2 cascade round 3
[trim] fully-unreachable files deleted: 3 [trim] files edited: 6, files deleted: 0, nodes removed: 23 [type-trim] files edited: 0, types removed: 0 Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
@@ -38,37 +38,6 @@ public class AIDataLibrary
|
||||
setupInfoBuf = new AISetUpData(classID, logicLv, deckName, styleName, emoteName, useEmote, useInnerEmote, enemyAiID, specialAbilityList);
|
||||
}
|
||||
|
||||
public void RegisterBasicData(AICardDataAsset asset)
|
||||
{
|
||||
_basicDic.RegisterCardData(asset);
|
||||
}
|
||||
|
||||
public bool RegisterCommonData(AICardDataAsset asset)
|
||||
{
|
||||
AICardData mergeData = _basicDic.SearchCardData(asset.CardID);
|
||||
return _commonDic.RegisterCardData(asset, mergeData);
|
||||
}
|
||||
|
||||
public bool RegisterAllyCommonData(AICardDataAsset asset)
|
||||
{
|
||||
AICardData mergeData = _basicDic.SearchCardData(asset.CardID);
|
||||
return _allyCommonDic.RegisterCardData(asset, mergeData);
|
||||
}
|
||||
|
||||
public void RegisterDeckToDeckDic(string deckName, List<AICardDataAsset> cardDataAssetList)
|
||||
{
|
||||
AIDeckData aIDeckData = new AIDeckData();
|
||||
for (int i = 0; i < cardDataAssetList.Count; i++)
|
||||
{
|
||||
AICardDataAsset aICardDataAsset = cardDataAssetList[i];
|
||||
int cardID = aICardDataAsset.CardID;
|
||||
bool useCommon = aICardDataAsset.UseCommon;
|
||||
AICardData mergeData = ((!useCommon) ? _basicDic.SearchCardData(cardID) : _allyCommonDic.SearchCardData(cardID));
|
||||
aIDeckData.RegisterCardData(aICardDataAsset, mergeData, useCommon);
|
||||
}
|
||||
RegisterDeck(deckName, aIDeckData);
|
||||
}
|
||||
|
||||
public bool RegisterDeck(string deckName, AIDeckData deck)
|
||||
{
|
||||
if (_deckDic.ContainsKey(deckName))
|
||||
@@ -79,16 +48,6 @@ public class AIDataLibrary
|
||||
return true;
|
||||
}
|
||||
|
||||
public bool RegisterEmoteSet(string emoteSetName, AIEmoteSet emoteSet)
|
||||
{
|
||||
if (emoteDic.ContainsKey(emoteSetName))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
emoteDic.Add(emoteSetName, emoteSet);
|
||||
return true;
|
||||
}
|
||||
|
||||
public AIDeckData SearchDeckData(string name)
|
||||
{
|
||||
if (!_deckDic.ContainsKey(name))
|
||||
@@ -125,21 +84,4 @@ public class AIDataLibrary
|
||||
{
|
||||
return _allyCommonDic;
|
||||
}
|
||||
|
||||
public void RegisterCommonStyle(List<AIPolicyDataAsset> assetList)
|
||||
{
|
||||
_commonStyle.CreateFromAsset(assetList);
|
||||
}
|
||||
|
||||
public bool RegisterDeckStyle(string styleName, List<AIPolicyDataAsset> assetList)
|
||||
{
|
||||
if (_deckStyleDic.ContainsKey(styleName))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
AIStyleData aIStyleData = new AIStyleData();
|
||||
aIStyleData.CreateFromAsset(assetList);
|
||||
_deckStyleDic.Add(styleName, aIStyleData);
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user