#!/usr/bin/python
|
# -*- coding: GBK -*-
|
#---------------------------------------------------------------------
|
#
|
#---------------------------------------------------------------------
|
##@package GY_Query_CreatePlayerRoomID
|
# @todo: ÉèÖÃÍæ¼Ò·¿¼äID
|
#
|
# @author: whx
|
# @date 2012-11-08 14:30
|
# @version 1.1
|
#
|
# @change: "2012-12-28 17:50" hyx Ìí¼ÓÉèÖ÷¿¼äLog
|
# @note:
|
#---------------------------------------------------------------------
|
"""Version = 2012-12-28 17:50"""
|
#------------------------------------------------------------------------------
|
import IPY_GameWorld
|
import GameWorld
|
import ChConfig
|
import PlayerControl
|
import ShareDefine
|
#---------------------------------------------------------------------
|
|
|
## Ö´Ðнá¹û
|
# @param curPlayer ·¢³öÇëÇóµÄÍæ¼Ò
|
# @param callFunName ¹¦ÄÜÃû³Æ
|
# @param funResult ²éѯµÄ½á¹û
|
# @param tick µ±Ç°Ê±¼ä
|
# @return None
|
# @remarks º¯ÊýÏêϸ˵Ã÷.
|
def DoResult(curPlayer, callFunName, funResult, tick):
|
roomID = int(funResult)
|
|
GameWorld.Log("SetPlayerRoomID playerID=%s, roomID=%s"%(curPlayer.GetPlayerID(), roomID))
|
curPlayer.SetVsRoomId(roomID)
|
|
return
|
|
|
|
|
|