Skip to content

Commit

Permalink
WIP: Working raw parsing and processing
Browse files Browse the repository at this point in the history
  • Loading branch information
Grennith committed Feb 10, 2024
1 parent fc44589 commit 10cf0de
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mapadroid/db/DbPogoProtoSubmitRaw.py
Original file line number Diff line number Diff line change
Expand Up @@ -712,7 +712,8 @@ async def quest(self, session: AsyncSession, quest_proto: pogoprotos.FortSearchO
target: Optional[int] = goal.target
condition: RepeatedCompositeFieldContainer[pogoprotos.QuestConditionProto] = goal.condition

json_condition: str = ProtoHelper.to_json(condition)
# TODO: Json dumping protos...
json_condition: str = json.dumps(condition)
task = await quest_gen.questtask(int(quest_type), json_condition, int(target), quest_template,
quest_title_resource_id)
quest: Optional[TrsQuest] = await TrsQuestHelper.get(session, fort_id, quest_layer)
Expand Down

0 comments on commit 10cf0de

Please sign in to comment.