def parse(log_part_lst): """ 解析 """ result = dict() result['action'] = int(log_part_lst[0]) result['union_uid'] = int(log_part_lst[1]) result['add_gold'] = int(log_part_lst[2]) result['cur_gold'] = int(log_part_lst[3]) result['add_stone'] = int(log_part_lst[4]) result['cur_stone'] = int(log_part_lst[5]) result['add_monster_list'] = action_base.list_parse(log_part_lst[6]) result['add_item_list'] = action_base.list_parse(log_part_lst[7]) 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["add_gold"] = int(log_part_lst[2]) result["cur_gold"] = int(log_part_lst[3]) result["add_stone"] = int(log_part_lst[4]) result["cur_stone"] = int(log_part_lst[5]) result["add_monster_list"] = action_base.list_parse(log_part_lst[6]) result["add_item_list"] = action_base.list_parse(log_part_lst[7]) return result
def parse(log_part_lst): """ 解析 """ result = dict() result['action'] = int(log_part_lst[0]) result['cost_stamina'] = int(log_part_lst[1]) result['add_item_list'] = action_base.list_parse(log_part_lst[2]) 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_gold'] = int(log_part_lst[2]) result['cur_gold'] = int(log_part_lst[3]) result['add_stone'] = int(log_part_lst[4]) result['cur_stone'] = int(log_part_lst[5]) result['add_free_draw'] = int(log_part_lst[6]) result['cur_free_draw'] = int(log_part_lst[7]) result['add_equip_list'] = action_base.list_parse(log_part_lst[8]) result['add_item_list'] = action_base.list_parse(log_part_lst[9]) 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['cost_union_point'] = int(log_part_lst[1]) result['cur_union_point'] = int(log_part_lst[2]) result['add_item_list'] = action_base.list_parse(log_part_lst[3]) result['old_union_point'] = result['cur_union_point'] + result['cost_union_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['union_name'] = log_part_lst[2].decode('utf-8') result['union_level'] = int(log_part_lst[3]) result['cost_union_point'] = int(log_part_lst[4]) result['cur_union_point'] = int(log_part_lst[5]) result['add_gold'] = int(log_part_lst[6]) result['cur_gold'] = int(log_part_lst[7]) result['add_stone'] = int(log_part_lst[8]) result['cur_stone'] = int(log_part_lst[9]) result['add_free_draw'] = int(log_part_lst[10]) result['cur_free_draw'] = int(log_part_lst[11]) result['add_item_list'] = action_base.list_parse(log_part_lst[12]) result['add_equip_list'] = action_base.list_parse(log_part_lst[13]) 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_name"] = log_part_lst[2].decode("utf-8") result["union_level"] = int(log_part_lst[3]) result["cost_union_point"] = int(log_part_lst[4]) result["cur_union_point"] = int(log_part_lst[5]) result["add_gold"] = int(log_part_lst[6]) result["cur_gold"] = int(log_part_lst[7]) result["add_stone"] = int(log_part_lst[8]) result["cur_stone"] = int(log_part_lst[9]) result["add_free_draw"] = int(log_part_lst[10]) result["cur_free_draw"] = int(log_part_lst[11]) result["add_item_list"] = action_base.list_parse(log_part_lst[12]) result["add_equip_list"] = action_base.list_parse(log_part_lst[13]) return result
def parse(log_part_lst): """ 解析 """ result = dict() result['action'] = int(log_part_lst[0]) result['add_free_draw'] = int(log_part_lst[1]) result['cur_free_draw'] = int(log_part_lst[2]) result['add_item_list'] = action_base.list_parse(log_part_lst[3]) 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['cost_union_point'] = int(log_part_lst[1]) result['cur_union_point'] = int(log_part_lst[2]) result['add_item_list'] = action_base.list_parse(log_part_lst[3]) result['old_union_point'] = result['cur_union_point'] + result[ 'cost_union_point'] return result
def parse(log_part_lst): """ 解析 """ result = dict() result['action'] = int(log_part_lst[0]) result['buddy_uid_lst'] = action_base.list_parse(log_part_lst[1]) result['add_stamina'] = (int(log_part_lst[2]))*(len(result['buddy_uid_lst'])) result['cur_stamina'] = int(log_part_lst[3]) result['old_stamina'] = result['cur_stamina'] - result['add_stamina'] 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['add_union_point'] = int(log_part_lst[2]) result['cur_union_point'] = 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_item_list'] = action_base.list_parse(log_part_lst[8]) return result