Example #1
0
	def remove(roleid):
		"""
		从天梯上移除
		"""
		ld = ladder.instance()
		ld.remove(roleid)
		return ld.show_all()
Example #2
0
    def remove(roleid):
        """
		从天梯上移除
		"""
        ld = ladder.instance()
        ld.remove(roleid)
        return ld.show_all()
Example #3
0
	def show_all():
		"""
		显示全部
		"""
		ld = ladder.instance()
		return ld.show_all()
Example #4
0
	def convert(roleid, score):
		"""
		兑换奖励
		"""
		ld = ladder.instance()
		return ld.convert(str(roleid), score)
Example #5
0
	def defeat(offenceRoleid, defenceRoleid):
		"""
		击败
		"""
		ld = ladder.instance()
		return ld.defeat(str(offenceRoleid), str(defenceRoleid))
Example #6
0
    def defeat(offenceRoleid, defenceRoleid):
        """
		击败
		"""
        ld = ladder.instance()
        return ld.defeat(str(offenceRoleid), str(defenceRoleid))
Example #7
0
	def tower_stand(roleid, level, point, name, floor):
		"""
		站上天梯
		"""
		ld = ladder.instance()
		return ld.tower_stand(str(roleid), level, point ,name, floor)
Example #8
0
	def award_score(roleid, awardScore):
		"""
		天梯奖励分数
		"""
		ld = ladder.instance()
		return ld.award_score(str(roleid), int(awardScore))
Example #9
0
    def show(roleid):
        """
		显示天梯
		"""
        ld = ladder.instance()
        return ld.show(str(roleid))
Example #10
0
    def award_score(roleid, awardScore):
        """
		天梯奖励分数
		"""
        ld = ladder.instance()
        return ld.award_score(str(roleid), int(awardScore))
Example #11
0
    def score(roleid):
        """
		天梯分数
		"""
        ld = ladder.instance()
        return ld.score(str(roleid))
Example #12
0
    def set_avatar_id(roleid, avatar_id):
        """
		设置avatar_id
		"""
        ld = ladder.instance()
        return ld.set_avatar_id(str(roleid), avatar_id)
Example #13
0
    def show_all():
        """
		显示全部
		"""
        ld = ladder.instance()
        return ld.show_all()
Example #14
0
    def convert(roleid, score):
        """
		兑换奖励
		"""
        ld = ladder.instance()
        return ld.convert(str(roleid), score)
Example #15
0
	def set_avatar_id(roleid, avatar_id):
		"""
		设置avatar_id
		"""
		ld = ladder.instance()
		return ld.set_avatar_id(str(roleid), avatar_id)
Example #16
0
    def tower_stand(roleid, level, point, name, floor):
        """
		站上天梯
		"""
        ld = ladder.instance()
        return ld.tower_stand(str(roleid), level, point, name, floor)
Example #17
0
	def score(roleid):
		"""
		天梯分数
		"""
		ld = ladder.instance()
		return ld.score(str(roleid))
Example #18
0
    def show_ladder():
        """
		显示天梯
		"""
        ld = ladder.instance()
        return ld.show_ladder()
Example #19
0
	def show(roleid):
		"""
		显示天梯
		"""
		ld = ladder.instance()
		return ld.show(str(roleid))
Example #20
0
	def stand(roleid):		
		"""
		加入天梯
		"""
		ld = ladder.instance()		
		return ld.stand(str(roleid))
Example #21
0
	def show_ladder():
		"""
		显示天梯
		"""
		ld = ladder.instance()
		return ld.show_ladder()
Example #22
0
    def stand(roleid):
        """
		加入天梯
		"""
        ld = ladder.instance()
        return ld.stand(str(roleid))