hxp
5 天以前 26958aff1b844a743a805b4f9075bee800b72a46
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/PyMongoDB/LogicProcess/UserCtrlDB.py
@@ -455,6 +455,15 @@
            return dbPlayer
        return rec
    
    def updateDBPlayerName(self, playerID, newName):
        ## 根据玩家ID更新dbPlayer的玩家名,一般是改名用
        col = self.db[UCN_DBPlayer]
        dbPlayer = DataServerPlayerData.tagDBPlayer()
        if not dbPlayer.adoLoadCEx(col, {"PlayerID":playerID}):
            return
        dbPlayer.PlayerName = newName
        return dbPlayer.adoUpdateC(col)
    def requestLogicProcess(self, pack):
        db = self.db
        if self.IsMergeServer():