Skip to content

Commit

Permalink
add reportGetItem
Browse files Browse the repository at this point in the history
  • Loading branch information
trixie909 committed Apr 22, 2024
1 parent 594fa8a commit d95b708
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions src/Game/gamePlayReport.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,9 @@

namespace uking {

<<<<<<< HEAD
=======
unsigned int getQuestId(const sead::SafeString& quest_name);
int positionFunc(const sead::Vector2i& pos);

>>>>>>> cda9dce7 (add reportGetItem)
void reportKorok(const sead::Vector3f& position) {
ksys::ProductReporter::getSomeBool();
s32 id = ksys::gdt::getFlag_HiddenKorok_Number();
Expand Down Expand Up @@ -58,7 +55,6 @@ void reportDungeon(const sead::SafeString& name, const sead::SafeString& event)
}
}

<<<<<<< HEAD
unsigned int getQuestId(const sead::SafeString& quest_name) {
const sead::SafeString names[] = {
"UnknownEvent",
Expand Down Expand Up @@ -241,7 +237,8 @@ unsigned int getQuestId(const sead::SafeString& quest_name) {
}
}
return 0;
=======
}

void reportGetItem(const sead::Vector3f& pos, const sead::SafeString* targetActorName) {
ksys::ProductReporter::getSomeBool();
PlayReport report(sead::SafeString("getitem"), 7,
Expand All @@ -264,7 +261,6 @@ void reportGetItem(const sead::Vector3f& pos, const sead::SafeString* targetActo
if (reporter && reporter->isEnabled())
reporter->saveReport(&report);
}
>>>>>>> cda9dce7 (add reportGetItem)
}

void reportQuestStep(const ksys::qst::Quest* quest, int step_index) {
Expand Down Expand Up @@ -294,7 +290,8 @@ void reportQuestStep(const ksys::qst::Quest* quest, int step_index) {
}
}

PlayReport::PlayReport(const sead::FixedSafeString<32>& event_id, s32 num_entries, sead::Heap* heap)
PlayReport::PlayReport(const sead::FixedSafeString<32>& event_id, s32 num_entries,
sead::Heap* heap)
: ksys::PlayReport(event_id, num_entries, heap) {}

void PlayReport::addMapType() {
Expand Down

0 comments on commit d95b708

Please sign in to comment.