summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClaudius 'keldu' Holeksa <mail@keldu.de>2024-07-29 16:51:26 +0200
committerClaudius 'keldu' Holeksa <mail@keldu.de>2024-07-29 16:51:26 +0200
commitff4f8f1200aefbe7618dc02cc47915cefcc00940 (patch)
tree1c0539bcc78f74b7fd67b9715c882fe3dd3e5533
parent438cda831d0ee7d28e41cc7045d1efbc9a968c67 (diff)
Renamed to proper cpp name
-rw-r--r--c++/schema.hpp (renamed from c++/schema.h)16
1 files changed, 8 insertions, 8 deletions
diff --git a/c++/schema.h b/c++/schema.hpp
index a4a86e6..e97ee49 100644
--- a/c++/schema.h
+++ b/c++/schema.hpp
@@ -1,10 +1,10 @@
#pragma once
-#include <forstio/codec/schema.h>
+#include <forstio/codec/schema.hpp>
namespace kel {
namespace slay {
-namespace schema {
+namespace sch {
using namespace saw::schema;
using RunCampfireChoice = Struct<
@@ -32,7 +32,7 @@ using Run = Struct<
Member<UInt32, "score">,
Member<String, "play_id">,
Member<String, "local_time">,
- // Member<Bool, "is_ascension_mode">,
+ Member<Bool, "is_ascension_mode">,
Member<Array<RunCampfireChoice>, "campfire_choices">,
Member<String, "neow_cost">,
Member<UInt64, "seed_source_timestamp">,
@@ -43,7 +43,7 @@ using Run = Struct<
Member<Array<RunDamageTaken>, "damage_taken">,
Member<String,"seed_played">,
Member<Array<RunPotionsObtained>,"potions_obtained">,
- // Member<Bool, "is_trial">,
+ Member<Bool, "is_trial">,
Member<Array<String>, "path_per_floor">,
Member<String, "character_chosen">,
// Member< , "items_purchased"> ????
@@ -52,16 +52,16 @@ using Run = Struct<
Member<Array<UInt32>, "current_hp_per_floor">,
Member<UInt32, "gold">,
Member<String, "neow_bonus">,
- // Member<Bool, "is_prod">,
- // Member<Bool, "is_daily">,
- // Member<Bool, "chose_seed">,
+ Member<Bool, "is_prod">,
+ Member<Bool, "is_daily">,
+ Member<Bool, "chose_seed">,
Member<UInt32, "campfire_upgraded">,
Member<UInt32, "win_rate">,
Member<UInt64, "timestamp">,
Member<Array<String>, "path_taken">,
Member<String, "build_version">,
Member<UInt32, "purchased_purges">,
- // Member<Bool, "victory">,
+ Member<Bool, "victory">,
Member<Array<UInt32>, "max_hp_per_floor">,
// Member<Array<RunCardChoice>, "card_choices">,
Member<UInt64, "player_experience">,