Beispiel #1
0
 def ensureCanSignInMatch(self, userId, mp):
     ok, cond = dizhumatchcond.checkMatchSigninCond(userId, self.roomId)
     if not ok:
         raise SigninConditionNotEnoughException(cond.failure)
Beispiel #2
0
 def ensureCanSignInMatch(cls, room, uid, mo):
     ok, cond = dizhumatchcond.checkMatchSigninCond(uid, room.roomId)
     if not ok:
         raise SigninConditionNotEnoughException(cond.failure)
Beispiel #3
0
 def ensureCanSignInMatch(self, userId, mp):
     ok, cond = dizhumatchcond.checkMatchSigninCond(userId, self.roomId)
     if not ok:
         raise MatchSigninConditionException(self.match.matchId, 4, cond.failure)