cull(engine-cleanup): pass-8 phase-2 cascade round 1 after CardDetailUI stub
This commit is contained in:
@@ -21,22 +21,6 @@ public class CardMake : MonoBehaviour
|
||||
|
||||
private Action _onFinishCardDestruct;
|
||||
|
||||
public void StartCardDestruct(int cardId)
|
||||
{
|
||||
if (DestructDict == null)
|
||||
{
|
||||
DestructDict = new Dictionary<string, string>();
|
||||
}
|
||||
else
|
||||
{
|
||||
DestructDict.Clear();
|
||||
}
|
||||
int possessionCardNum = 0; // Pre-Phase-5b: headless has no user inventory
|
||||
DestructDict = new Dictionary<string, string>();
|
||||
DestructDict.Add(cardId.ToString(), "1," + possessionCardNum);
|
||||
DestructCard();
|
||||
}
|
||||
|
||||
private void DestructCard()
|
||||
{
|
||||
// Pre-Phase-5b: fired CardDestructTask via NetworkManager. Headless has no wire
|
||||
@@ -76,21 +60,6 @@ public class CardMake : MonoBehaviour
|
||||
list = null;
|
||||
}
|
||||
|
||||
public void StartCardCraft(int cardId)
|
||||
{
|
||||
if (_craftDict == null)
|
||||
{
|
||||
_craftDict = new Dictionary<string, string>();
|
||||
}
|
||||
else
|
||||
{
|
||||
_craftDict.Clear();
|
||||
}
|
||||
int possessionCardNum = 0; // Pre-Phase-5b: headless has no user inventory
|
||||
_craftDict.Add(cardId.ToString(), $"{1},{possessionCardNum}");
|
||||
CraftCard();
|
||||
}
|
||||
|
||||
private void CraftCard()
|
||||
{
|
||||
// Pre-Phase-5b: fired CardCreateTask via NetworkManager. See DestructCard.
|
||||
|
||||
Reference in New Issue
Block a user