public static void DeleteUserChip(GameWebAPI.RespDataCS_ChipListLogic.UserChipList[] chipList) { if (chipList != null) { foreach (GameWebAPI.RespDataCS_ChipListLogic.UserChipList userChipList in chipList) { ChipDataMng.DeleteUserChipData(userChipList.userChipId); } } }
protected void RemoveEquipChip(bool destroyChip, string userMonsterId) { GameWebAPI.RespDataCS_ChipListLogic.UserChipList[] monsterChipList = ChipDataMng.GetMonsterChipList(userMonsterId); if (monsterChipList != null) { foreach (GameWebAPI.RespDataCS_ChipListLogic.UserChipList userChipList in monsterChipList) { if (destroyChip) { ChipDataMng.DeleteUserChipData(userChipList.userChipId); } else { userChipList.resetUserMonsterID(); } } } }