def parse(log_part_lst): """ 解析 """ result = dict() result['action'] = int(log_part_lst[0]) result['activity_tid'] = int(log_part_lst[1]) result['add_exp'] = int(log_part_lst[2]) result['cur_exp'] = int(log_part_lst[3]) result['add_gold'] = int(log_part_lst[4]) result['cur_gold'] = int(log_part_lst[5]) result['add_stone'] = int(log_part_lst[6]) result['cur_stone'] = int(log_part_lst[7]) result['add_free_draw'] = int(log_part_lst[8]) result['cur_free_draw'] = int(log_part_lst[9]) result['add_monster_list'] = action_base.get_val(log_part_lst, 10, [], True) result['add_equip_list'] = action_base.get_val(log_part_lst, 11, [], True) result['add_item_list'] = action_base.get_val(log_part_lst, 12, [], True) result['old_exp'] = result['cur_exp'] - result['add_exp'] result['old_gold'] = result['cur_gold'] - result['add_gold'] result['old_stone'] = result['cur_stone'] - result['add_stone'] result['old_free_draw'] = result['cur_free_draw'] - result['add_free_draw'] return result
def parse(log_part_lst): """ 解析 """ result = dict() result['action'] = int(log_part_lst[0]) result['union_uid'] = int(log_part_lst[1]) result['union_sign_type'] = int(log_part_lst[2]) result['cost_gold'] = int(log_part_lst[3]) result['cur_gold'] = int(log_part_lst[4]) result['cost_stone'] = int(log_part_lst[5]) result['cur_stone'] = int(log_part_lst[6]) result['union_add_progress'] = int(log_part_lst[7]) result['union_cur_progress'] = int(log_part_lst[8]) result['union_add_exp'] = int(log_part_lst[9]) result['union_cur_exp'] = int(log_part_lst[10]) result['add_union_point'] = int(log_part_lst[11]) result['cur_union_point'] = int(log_part_lst[12]) result['union_level'] = int(log_part_lst[13]) result['total_cost_gold'] = int( action_base.get_val(log_part_lst, 14, 0, False)) result['total_cost_stone'] = int( action_base.get_val(log_part_lst, 15, 0, False)) return result
def parse(log_part_lst): """ 解析 """ result = dict() result['action'] = int(log_part_lst[0]) result['remove_treasure_frag_list'] = action_base.get_val(log_part_lst, 1, [], True) result['add_treasure_list'] = action_base.get_val(log_part_lst, 2, [], True) return result
def parse(log_part_lst): """ 解析 """ result = dict() result['action'] = int(log_part_lst[0]) result['cost_item_list'] = action_base.get_val(log_part_lst, 1, [], True) result['add_item_list'] = action_base.get_val(log_part_lst, 2, [], True) return result
def parse(log_part_lst): """ 解析 """ result = dict() result['action'] = int(log_part_lst[0]) result['remove_treasure_frag_list'] = action_base.get_val( log_part_lst, 1, [], True) result['add_treasure_list'] = action_base.get_val(log_part_lst, 2, [], True) return result
def parse(log_part_lst): """ 解析 """ result = dict() result['action'] = int(log_part_lst[0]) result['cost_item_list'] = action_base.get_val(log_part_lst, 1, [], True) result['add_monster_list'] = action_base.get_val(log_part_lst, 2, [], True) result['cost_universal_fragment'] = int(log_part_lst[3]) result['cur_universal_fragment'] = int(log_part_lst[4]) result['old_universal_fragment'] = result['cur_universal_fragment'] + result['cost_universal_fragment'] return result
def parse(log_part_lst): """ 解析 """ result = dict() result["action"] = int(log_part_lst[0]) result["cost_stone"] = int(log_part_lst[1]) result["cur_stone"] = int(log_part_lst[2]) result["cost_item_list"] = action_base.get_val(log_part_lst, 3, [], True) result["total_cost_stone"] = int(log_part_lst[4]) result["chat_content"] = action_base.get_val(log_part_lst, 5, "", False) result["old_stone"] = result["cur_stone"] + result["cost_stone"] return result
def parse(log_part_lst): """ 解析 """ result = dict() result['action'] = int(log_part_lst[0]) result['cost_stone'] = int(log_part_lst[1]) result['cur_stone'] = int(log_part_lst[2]) result['add_item_list'] = action_base.get_val(log_part_lst, 3, [], True) result['total_cost_stone'] = int(log_part_lst[4]) result['cost_stamina'] = action_base.get_val(log_part_lst, 5, 0, False) result['old_stone'] = result['cur_stone'] + result['cost_stone'] return result
def parse(log_part_lst): """ 解析 """ result = dict() result['action'] = int(log_part_lst[0]) result['cost_stone'] = int(log_part_lst[1]) result['cur_stone'] = int(log_part_lst[2]) result['cost_item_list'] = action_base.get_val(log_part_lst, 3, [], True) result['add_item_list'] = action_base.get_val(log_part_lst, 4, [], True) result['total_cost_stone'] = int(log_part_lst[5]) result['old_stone'] = result['cur_stone'] + result['cost_stone'] return result
def parse(log_part_lst): """ 解析 """ result = dict() result['action'] = int(log_part_lst[0]) result['add_gold'] = int(log_part_lst[1]) result['cur_gold'] = int(log_part_lst[2]) result['add_monster_list'] = action_base.get_val(log_part_lst, 3, [], True) result['add_equip_list'] = action_base.get_val(log_part_lst, 4, [], True) result['add_item_list'] = action_base.get_val(log_part_lst, 5, [], True) result['old_gold'] = result['cur_gold'] - result['add_gold'] return result
def parse(log_part_lst): """ 解析 """ result = dict() result['action'] = int(log_part_lst[0]) result['add_monster_list'] = action_base.get_val(log_part_lst, 1, [], True) result['add_equip_list'] = action_base.get_val(log_part_lst, 2, [], True) result['add_item_list'] = action_base.get_val(log_part_lst, 3, [], True) result['cost_stone'] = int(log_part_lst[4]) result['cur_stone'] = int(log_part_lst[5]) result['total_cost_stone'] = int(log_part_lst[6]) result['old_stone'] = result['cur_stone'] + result['cost_stone'] return result
def parse(log_part_lst): """ 解析 """ result = dict() result['action'] = int(log_part_lst[0]) result['add_gold'] = int(log_part_lst[1]) result['cur_gold'] = int(log_part_lst[2]) result['add_gym_point'] = int(log_part_lst[3]) result['cur_gym_point'] = int(log_part_lst[4]) result['add_item_list'] = action_base.get_val(log_part_lst, 5, [], True) result['remove_equip_list'] = action_base.get_val(log_part_lst, 6, [], True) result['old_gold'] = result['cur_gold'] - result['add_gold'] result['old_gym_point'] = result['cur_gym_point'] - result['add_gym_point'] return result
def parse(log_part_lst): """ 解析 """ result = dict() result['action'] = int(log_part_lst[0]) result['stage_index'] = log_part_lst[1] result['add_exp'] = int(log_part_lst[2]) result['cur_exp'] = int(log_part_lst[3]) result['add_gold'] = int(log_part_lst[4]) result['cur_gold'] = int(log_part_lst[5]) result['add_monster_list'] = action_base.get_val(log_part_lst, 6, [], True) result['add_equip_list'] = action_base.get_val(log_part_lst, 7, [], True) result['add_item_list'] = action_base.get_val(log_part_lst, 8, [], True) result['old_exp'] = result['cur_exp'] - result['add_exp'] result['old_gold'] = result['cur_gold'] - result['add_gold'] return result
def parse(log_part_lst): """ 解析 """ result = dict() result["action"] = int(log_part_lst[0]) result["add_treasure_frag_list"] = action_base.get_val(log_part_lst, 1, [], True) return result
def parse(log_part_lst): """ 解析 """ result = dict() result['action'] = int(log_part_lst[0]) result['add_gold'] = int(log_part_lst[1]) result['cur_gold'] = int(log_part_lst[2]) result['add_stone'] = int(log_part_lst[3]) result['cur_stone'] = int(log_part_lst[4]) result['add_treasure_frag_list'] = action_base.get_val(log_part_lst, 5, [], True) result['add_item_list'] = action_base.get_val(log_part_lst, 6, [], True) result['old_gold'] = result['cur_gold'] - result['add_gold'] result['old_stone'] = result['cur_stone'] - result['add_stone'] return result
def parse(log_part_lst): """ 解析 """ result = dict() result['action'] = int(log_part_lst[0]) result['add_gold'] = int(log_part_lst[1]) result['cur_gold'] = int(log_part_lst[2]) result['add_stone'] = int(log_part_lst[3]) result['cur_stone'] = int(log_part_lst[4]) result['add_treasure_frag_list'] = action_base.get_val( log_part_lst, 5, [], True) result['add_item_list'] = action_base.get_val(log_part_lst, 6, [], True) result['old_gold'] = result['cur_gold'] - result['add_gold'] result['old_stone'] = result['cur_stone'] - result['add_stone'] return result
def parse(log_part_lst): """ 解析 """ result = dict() result['action'] = int(log_part_lst[0]) result['add_gold'] = int(log_part_lst[1]) result['cur_gold'] = int(log_part_lst[2]) result['add_stone'] = int(log_part_lst[3]) result['cur_stone'] = int(log_part_lst[4]) result['add_free_draw'] = int(log_part_lst[5]) result['cur_free_draw'] = int(log_part_lst[6]) result['add_equip_list'] = action_base.get_val(log_part_lst, 7, [], True) result['add_item_list'] = action_base.get_val(log_part_lst, 8, [], True) result['old_gold'] = result['cur_gold'] - result['add_gold'] result['old_stone'] = result['cur_stone'] - result['add_stone'] result['old_free_draw'] = result['cur_free_draw'] - result['add_free_draw'] return result
def parse(log_part_lst): """ 解析 """ result = dict() result['action'] = int(log_part_lst[0]) result['add_exp'] = int(log_part_lst[1]) result['cur_exp'] = int(log_part_lst[2]) result['add_gold'] = int(log_part_lst[3]) result['cur_gold'] = int(log_part_lst[4]) result['add_stone'] = int(log_part_lst[5]) result['cur_stone'] = int(log_part_lst[6]) result['add_item_list'] = action_base.get_val(log_part_lst, 7, [], True) result['cost_fishing_count'] = int(action_base.get_val(log_part_lst, 8, 0, False)) result['old_exp'] = result['cur_exp'] - result['add_exp'] result['old_gold'] = result['cur_gold'] - result['add_gold'] result['old_stone'] = result['cur_stone'] - result['add_stone'] return result
def parse(log_part_lst): """ 解析 """ result = dict() result["action"] = int(log_part_lst[0]) result["name"] = "test" result["role_id"] = log_part_lst[2] result["add_monster_list"] = action_base.get_val(log_part_lst, 3, [], True) return result
def parse(log_part_lst): """ 解析 """ result = dict() result['action'] = int(log_part_lst[0]) result['name'] = "test" result['role_id'] = log_part_lst[2] result['add_monster_list'] = action_base.get_val(log_part_lst, 3, [], True) return result
def parse(log_part_lst): """ 解析 """ result = dict() result['action'] = int(log_part_lst[0]) result['add_exp'] = int(log_part_lst[1]) result['cur_exp'] = int(log_part_lst[2]) result['add_gold'] = int(log_part_lst[3]) result['cur_gold'] = int(log_part_lst[4]) result['add_stone'] = int(log_part_lst[5]) result['cur_stone'] = int(log_part_lst[6]) result['add_item_list'] = action_base.get_val(log_part_lst, 7, [], True) result['cost_fishing_count'] = int( action_base.get_val(log_part_lst, 8, 0, False)) result['old_exp'] = result['cur_exp'] - result['add_exp'] result['old_gold'] = result['cur_gold'] - result['add_gold'] result['old_stone'] = result['cur_stone'] - result['add_stone'] return result
def parse(log_part_lst): """ 解析 """ result = dict() result['action'] = int(log_part_lst[0]) result['add_stone'] = int(log_part_lst[1]) result['cur_stone'] = int(log_part_lst[2]) result['newbie_id'] = int(action_base.get_val(log_part_lst, 3, 0, False)) result['old_stone'] = result['cur_stone'] - result['add_stone'] return result
def parse(log_part_lst): """ 解析 """ result = dict() result['action'] = int(log_part_lst[0]) result['cost_world_boss_point'] = int(log_part_lst[1]) result['cur_world_boss_point'] = int(log_part_lst[2]) result['add_item_list'] = action_base.get_val(log_part_lst, 3, [], True) result['old_world_boss_point'] = result['cur_world_boss_point'] + result['cost_world_boss_point'] return result
def parse(log_part_lst): """ 解析 """ result = dict() result['action'] = int(log_part_lst[0]) result['cost_consumption_point'] = float(log_part_lst[1]) result['cur_consumption_point'] = float(log_part_lst[2]) result['add_monster_list'] = action_base.get_val(log_part_lst, 3, [], True) result['old_consumption_point'] = result['cur_consumption_point'] + result['cost_consumption_point'] return result
def parse(log_part_lst): """ 解析 """ result = dict() result['action'] = int(log_part_lst[0]) result['cost_consumption_point'] = float(log_part_lst[1]) result['cur_consumption_point'] = float(log_part_lst[2]) result['add_monster_list'] = action_base.get_val(log_part_lst, 3, [], True) result['old_consumption_point'] = result['cur_consumption_point'] + result[ 'cost_consumption_point'] return result
def parse(log_part_lst): """ 解析 """ result = dict() result['action'] = int(log_part_lst[0]) result['cost_gold'] = int(log_part_lst[1]) result['cur_gold'] = int(log_part_lst[2]) result['cost_item_list'] = action_base.get_val(log_part_lst, 3, [], True) result['total_cost_gold'] = int(log_part_lst[4]) result['old_gold'] = result['cur_gold'] + result['cost_gold'] return result
def parse(log_part_lst): """ 解析 """ result = dict() result['action'] = int(log_part_lst[0]) result['cost_world_boss_point'] = int(log_part_lst[1]) result['cur_world_boss_point'] = int(log_part_lst[2]) result['add_item_list'] = action_base.get_val(log_part_lst, 3, [], True) result['old_world_boss_point'] = result['cur_world_boss_point'] + result[ 'cost_world_boss_point'] return result
def parse(log_part_lst): """ 解析 """ result = dict() result["action"] = int(log_part_lst[0]) result["activity_tid"] = int(log_part_lst[1]) result["add_exp"] = int(log_part_lst[2]) result["cur_exp"] = int(log_part_lst[3]) result["add_gold"] = int(log_part_lst[4]) result["cur_gold"] = int(log_part_lst[5]) result["add_stone"] = int(log_part_lst[6]) result["cur_stone"] = int(log_part_lst[7]) result["add_free_draw"] = int(log_part_lst[8]) result["cur_free_draw"] = int(log_part_lst[9]) result["add_equip_list"] = action_base.get_val(log_part_lst, 10, [], True) result["add_item_list"] = action_base.get_val(log_part_lst, 11, [], True) result["old_exp"] = result["cur_exp"] - result["add_exp"] result["old_gold"] = result["cur_gold"] - result["add_gold"] result["old_stone"] = result["cur_stone"] - result["add_stone"] result["old_free_draw"] = result["cur_free_draw"] - result["add_free_draw"] return result
def parse(log_part_lst): """ 解析 """ result = dict() result['action'] = int(log_part_lst[0]) result['union_uid'] = int(log_part_lst[1]) result['cost_stone'] = int(log_part_lst[2]) result['cur_stone'] = int(log_part_lst[3]) result['total_cost_stone'] = int(action_base.get_val(log_part_lst, 4, 0, False)) result['old_stone'] = result['cur_stone'] + result['cost_stone'] return result
def parse(log_part_lst): """ 解析 """ result = dict() result['action'] = int(log_part_lst[0]) result['cost_gold'] = int(log_part_lst[1]) result['cur_gold'] = int(log_part_lst[2]) result['total_cost_gold'] = int(log_part_lst[3]) result['remove_monster_list'] = action_base.get_val( log_part_lst, 4, [], True) result['old_gold'] = result['cur_gold'] + result['cost_gold'] return result
def parse(log_part_lst): """ 解析 """ # print("action_gym_shop log_part_lst: "+str(log_part_lst)) result = dict() result['action'] = int(log_part_lst[0]) result['cost_gym_point'] = int(log_part_lst[1]) result['cur_gym_point'] = int(log_part_lst[2]) result['add_item_list'] = action_base.get_val(log_part_lst, 3, [], True) result['old_gym_point'] = result['cur_gym_point'] + result['cost_gym_point'] return result
def parse(log_part_lst): """ 解析 """ result = dict() result['action'] = int(log_part_lst[0]) result['union_uid'] = int(log_part_lst[1]) result['cost_stone'] = int(log_part_lst[2]) result['cur_stone'] = int(log_part_lst[3]) result['total_cost_stone'] = int( action_base.get_val(log_part_lst, 4, 0, False)) result['old_stone'] = result['cur_stone'] + result['cost_stone'] return result
def parse(log_part_lst): """ 解析 """ result = dict() result['action'] = int(log_part_lst[0]) result['activity_tid'] = int(log_part_lst[1]) result['cost_gold'] = int(log_part_lst[2]) result['add_gold'] = int(log_part_lst[3]) result['cur_gold'] = int(log_part_lst[4]) result['cost_stone'] = int(log_part_lst[5]) result['add_stone'] = int(log_part_lst[6]) result['cur_stone'] = int(log_part_lst[7]) result['add_free_draw'] = int(log_part_lst[8]) result['cur_free_draw'] = int(log_part_lst[9]) result['cost_item_list'] = action_base.get_val(log_part_lst, 10, [], True) result['add_item_list'] = action_base.get_val(log_part_lst, 11, [], True) result['old_free_draw'] = result['cur_free_draw'] - result['add_free_draw'] result['total_cost_gold'] = int(log_part_lst[12]) result['total_cost_stone'] = int(log_part_lst[13]) result['old_gold'] = result['cur_gold'] + result['cost_gold'] - result['add_gold'] result['old_stone'] = result['cur_stone'] + result['cost_stone'] - result['add_stone'] return result
def parse(log_part_lst): """ 解析 """ result = dict() result['action'] = int(log_part_lst[0]) result['add_exp'] = int(log_part_lst[1]) result['cur_exp'] = int(log_part_lst[2]) result['add_gold'] = int(log_part_lst[3]) result['cur_gold'] = int(log_part_lst[4]) result['add_stone'] = int(log_part_lst[5]) result['cur_stone'] = int(log_part_lst[6]) result['add_free_draw'] = int(log_part_lst[7]) result['cur_free_draw'] = int(log_part_lst[8]) result['add_monster_list'] = action_base.get_val(log_part_lst, 9, [], True) result['add_equip_list'] = action_base.get_val(log_part_lst, 10, [], True) result['add_item_list'] = action_base.get_val(log_part_lst, 11, [], True) result['seven_power_id'] = action_base.get_val(log_part_lst, 12, [], False) result['old_exp'] = result['cur_exp'] - result['add_exp'] result['old_gold'] = result['cur_gold'] - result['add_gold'] result['old_stone'] = result['cur_stone'] - result['add_stone'] result['old_free_draw'] = result['cur_free_draw'] - result['add_free_draw'] return result
def parse(log_part_lst): """ 解析 """ result = dict() result['action'] = int(log_part_lst[0]) result['player_name'] = log_part_lst[1] result['account_id'] = log_part_lst[2] result['account_name'] = log_part_lst[3] result['dev_id'] = log_part_lst[4] result['login_ip'] = log_part_lst[5] result['month_card_days'] = int(log_part_lst[6]) result['login_dis_days'] = int(log_part_lst[7]) result['team_list'] = map(int, action_base.get_val(log_part_lst, 8, [], True)) return result
def parse(log_part_lst): """ 解析 """ result = dict() result['action'] = int(log_part_lst[0]) result['treasure_id'] = int(log_part_lst[1]) result['treasure_old_exp'] = int(log_part_lst[2]) result['treasure_new_exp'] = int(log_part_lst[3]) result['treasure_old_level'] = int(log_part_lst[4]) result['treasure_new_level'] = int(log_part_lst[5]) result['treasure_level_up_material'] = action_base.get_val(log_part_lst, 6, [], True) result['cost_gold'] = int(log_part_lst[7]) result['cur_gold'] = int(log_part_lst[8]) result['total_cost_gold'] = int(log_part_lst[9]) result['old_gold'] = result['cur_gold'] + result['cost_gold'] return result
def parse(log_part_lst): """ 解析 """ # print(log_part_lst) result = dict() result['action'] = int(log_part_lst[0]) result['treasure_id'] = int(log_part_lst[1]) result['treasure_old_phase'] = int(log_part_lst[2]) result['treasure_new_phase'] = int(log_part_lst[3]) result['treasure_need_material_num'] = int(log_part_lst[4]) result['treasure_phase_up_material'] = action_base.get_val(log_part_lst, 5, [], True) result['cost_gold'] = int(log_part_lst[6]) result['cur_gold'] = int(log_part_lst[7]) result['total_cost_gold'] = int(log_part_lst[8]) result['old_gold'] = result['cur_gold'] + result['cost_gold'] return result
def parse(log_part_lst): """ 解析 """ # print(log_part_lst) result = dict() result['action'] = int(log_part_lst[0]) result['treasure_id'] = int(log_part_lst[1]) result['treasure_old_phase'] = int(log_part_lst[2]) result['treasure_new_phase'] = int(log_part_lst[3]) result['treasure_need_material_num'] = int(log_part_lst[4]) result['treasure_phase_up_material'] = action_base.get_val( log_part_lst, 5, [], True) result['cost_gold'] = int(log_part_lst[6]) result['cur_gold'] = int(log_part_lst[7]) result['total_cost_gold'] = int(log_part_lst[8]) result['old_gold'] = result['cur_gold'] + result['cost_gold'] return result
def parse(log_part_lst): """ 解析 """ result = dict() result['action'] = int(log_part_lst[0]) result['treasure_id'] = int(log_part_lst[1]) result['treasure_old_exp'] = int(log_part_lst[2]) result['treasure_new_exp'] = int(log_part_lst[3]) result['treasure_old_level'] = int(log_part_lst[4]) result['treasure_new_level'] = int(log_part_lst[5]) result['treasure_level_up_material'] = action_base.get_val( log_part_lst, 6, [], True) result['cost_gold'] = int(log_part_lst[7]) result['cur_gold'] = int(log_part_lst[8]) result['total_cost_gold'] = int(log_part_lst[9]) result['old_gold'] = result['cur_gold'] + result['cost_gold'] return result