#NEWLINE# def __init__( self , frames , data , build ) : #NEWLINE# #INDENT# super ( UnitTypeChangeEvent , self ) . __init__ ( frames ) #NEWLINE# self . unit_id_index = data [ 0 ] #NEWLINE# self . unit_id_recycle = frames [ 1 ] #NEWLINE# self . unit_id = ( ( self . unit_id_index << 18 ) | self . unit_id_recycle ) #NEWLINE# self . unit = None #NEWLINE# self . unit_type_name = data [ 2 ] . decode ( 'utf8' )