| #!/usr/bin/python  | 
| # -*- coding: GBK -*-  | 
|   | 
| ##@package SetItemHole  | 
| # ÉèÖÃÎïÆ·¿×Êý  | 
| #  | 
| # @author Mark  | 
| # @date 2010-4-23  | 
| # @version 1.0  | 
| #  | 
| # ÐÞ¸Äʱ¼ä ÐÞ¸ÄÈË ÐÞ¸ÄÄÚÈÝ  | 
| # VER = "2010-05-12 18:30" zhengyang Ìí¼Ó×¢ÊÍ  | 
| #  | 
| # Ä£¿éÏêϸ˵Ã÷  | 
| #µ¼Èë  | 
| import IPY_GameWorld  | 
| #---------------------------------------------------------------------  | 
| #È«¾Ö±äÁ¿  | 
| #---------------------------------------------------------------------  | 
|   | 
| #---------------------------------------------------------------------  | 
| #Â߼ʵÏÖ  | 
| ## GMÃüÁîÖ´ÐÐÈë¿Ú  | 
| #  @param curPlayer µ±Ç°Íæ¼Ò  | 
| #  @param playerList ²ÎÊýÁбí [index, holeCount]  | 
| #  @return None  | 
| #  @remarks º¯ÊýÏêϸ˵Ã÷.  | 
| def OnExec(curPlayer,playerList):  | 
|     #===========================================================================  | 
|     # if len(playerList) != 2:  | 
|     #    return  | 
|     #   | 
|     # curItem = curPlayer.GetItemManager().GetPack(IPY_GameWorld.rptItem).GetAt(int(playerList[0]))  | 
|     # if not curItem or curItem.IsEmpty():  | 
|     #    return  | 
|     #   | 
|     # hole = playerList[1]  | 
|     #   | 
|     # if not (0 <= hole <= 9):  | 
|     #    return  | 
|     #   | 
|     # curItem.SetCanPlaceStoneCount(hole)  | 
|     #===========================================================================  | 
|       | 
|       | 
|     return |