refactor(pack): type PackChildGachaEntry.TypeDetail as CardPackType enum
This commit is contained in:
@@ -70,7 +70,7 @@ public class PackImporter
|
||||
pack.ChildGachas.Add(new PackChildGachaEntry
|
||||
{
|
||||
GachaId = c.GachaId,
|
||||
TypeDetail = c.TypeDetail,
|
||||
TypeDetail = (CardPackType)c.TypeDetail,
|
||||
Cost = c.Cost,
|
||||
CardCount = c.CardCount,
|
||||
ItemId = c.ItemId,
|
||||
@@ -145,7 +145,7 @@ public class PackImporter
|
||||
pack.ChildGachas.Add(new PackChildGachaEntry
|
||||
{
|
||||
GachaId = c.GachaId,
|
||||
TypeDetail = c.TypeDetail,
|
||||
TypeDetail = (CardPackType)c.TypeDetail,
|
||||
Cost = c.Cost,
|
||||
CardCount = c.CardCount,
|
||||
ItemId = c.ItemId,
|
||||
|
||||
Reference in New Issue
Block a user