|
@@ -12,6 +12,7 @@ namespace GFGGame
|
|
public static async ETTask UpdateCustomSuit(int index, List<int> arrayList, int bgID = 0, int suitId = 0, bool pic = false)
|
|
public static async ETTask UpdateCustomSuit(int index, List<int> arrayList, int bgID = 0, int suitId = 0, bool pic = false)
|
|
{
|
|
{
|
|
CustomSuitProto suitProto = new CustomSuitProto();
|
|
CustomSuitProto suitProto = new CustomSuitProto();
|
|
|
|
+ suitProto.Pos = index;
|
|
suitProto.BgId = bgID;
|
|
suitProto.BgId = bgID;
|
|
suitProto.SuitId = suitId;
|
|
suitProto.SuitId = suitId;
|
|
suitProto.Pic = pic;
|
|
suitProto.Pic = pic;
|
|
@@ -27,7 +28,7 @@ namespace GFGGame
|
|
{
|
|
{
|
|
if (response.Error == ErrorCode.ERR_Success)
|
|
if (response.Error == ErrorCode.ERR_Success)
|
|
{
|
|
{
|
|
-
|
|
|
|
|
|
+ CustomSuitDataManager.SaveSuit(index, arrayList, bgID, suitId, pic);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|