コード例 #1
0
 def actions(self):
     return [
         Action('auth:check_credentials', self.check_credentials, 10),
         Action('auth:token', self.get_new_token, 10),
         Action('auth:check_token', self.check_token, 10),
         Action('auth:get_user_id', self.get_user_id, 10)
         Action('auth:get_address', self.get_address, 10),
         Action('auth:set_address', self.set_address, 10),
         #Action('auth:check_banned', self.check_banned, 10),
         #Action('auth:check_permission', self.check_permission, 10),
         #Action('auth:check_locked', self.check_locked, 10),
         #Action('auth:check_activated', self.check_activated, 10),
         #Action('auth:check_schedule', self.check_schedule, 10),
         Action('auth:new_subscriber', self.get_new_subscriber, 10),
         Action('auth:free_to_play', self.get_lego_club, 10),
         Action('auth:lego_club', self.get_lego_club, 10),
     ]
コード例 #2
0
 def actions(self):
     return [
         Action('pkt:session_info', self.verify_session, 10),
         Action('rn:user_packet', self.allow_packet, 10),
     ]
コード例 #3
0
ファイル: login.py プロジェクト: ethanlindley/pylus
 def actions(self):
     return [
         Action('pkt:login_request', self.login_request, 10)
     ]
コード例 #4
0
 def actions(self):
     return [
         Action('rn:user_packet', self.on_packet, 10)
     ]
コード例 #5
0
 def actions(self):
     return [
         Action('char:characters', self.get_characters, 10),
         Action('char:front_char_index', self.get_front_character, 10),
     ]
コード例 #6
0
 def actions(self):
     return [
         Action('pkt:unknown_packet', self.log_unknown, 10)
     ]
コード例 #7
0
ファイル: list.py プロジェクト: ethanlindley/pylus
 def actions(self):
     return [
         Action('pkt:client_character_list_request', self.character_list_request, 10)
     ]
コード例 #8
0
 def actions(self):
     return [
         Action('pkt:handshake', self.handshake, 10),
         Action('rn:disconnect', self.remove_connection, 10)
     ]