Exemplo n.º 1
0
 public static void DeleteUserChip(GameWebAPI.RespDataCS_ChipListLogic.UserChipList[] chipList)
 {
     if (chipList != null)
     {
         foreach (GameWebAPI.RespDataCS_ChipListLogic.UserChipList userChipList in chipList)
         {
             ChipDataMng.DeleteUserChipData(userChipList.userChipId);
         }
     }
 }
Exemplo n.º 2
0
 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();
             }
         }
     }
 }