@@ -107,10 +107,10 @@ def __init__(self, elapsed_time, event_type, event_code, global_flag, player_id,
107107 self .bytes = bytes
108108
109109 # Added for convenience
110- self .is_init = (event_type == 0x00 )
111- self .is_player_action = (event_type == 0x01 )
112- self .is_camera_movement = (event_type == 0x03 )
113- self .is_unknown = (event_type == 0x02 or event_type == 0x04 or event_type == 0x05 )
110+ self .init = (event_type == 0x00 )
111+ self .player_action = (event_type == 0x01 )
112+ self .camera_movement = (event_type == 0x03 )
113+ self .unknown = (event_type == 0x02 or event_type == 0x04 or event_type == 0x05 )
114114
115115 def __call__ (self , elapsed_time , event_type , global_flag , player_id , event_code , bytes ):
116116 self .time , self .seconds = (elapsed_time , elapsed_time / 16 )
@@ -123,10 +123,10 @@ def __call__(self, elapsed_time, event_type, global_flag, player_id, event_code,
123123 self .abilitystr = ""
124124
125125 # Added for convenience
126- self .is_init = (event_type == 0x00 )
127- self .is_player_action = (event_type == 0x01 )
128- self .is_camera_movement = (event_type == 0x03 )
129- self .is_unknown = (event_type == 0x02 or event_type == 0x04 or event_type == 0x05 )
126+ self .init = (event_type == 0x00 )
127+ self .player_action = (event_type == 0x01 )
128+ self .camera_movement = (event_type == 0x03 )
129+ self .unknown = (event_type == 0x02 or event_type == 0x04 or event_type == 0x05 )
130130
131131 self .parse (bytes )
132132 return self
0 commit comments