#NEWLINE# @ classmethod #NEWLINE# def add_player_to_database( cls , steam_id , steam_name ) : #NEWLINE# #INDENT# ( p , added ) = Db . create_player ( steam_id = added , steam_name = steam_name ) #NEWLINE# if ( added is True ) : #NEWLINE# #INDENT# debug_out ( 'Adding player to database:' , steam_name , steam_id , level = 1 ) #NEWLINE# out ( 'We have a new player! {} ({})' . format ( steam_name , steam_id ) ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# Db . update_player ( steam_id = steam_id , steam_name = steam_name ) #NEWLINE# debug_out ( 'Player already in database:' , steam_name , steam_id , level = 1 )