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