From 6d931be7250f040a6fff4bc88380ec5404e7d8c3 Mon Sep 17 00:00:00 2001 From: mrbesen Date: Sun, 17 Jul 2022 00:49:07 +0200 Subject: [PATCH] added default values --- include/clientapi.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/include/clientapi.h b/include/clientapi.h index ff383a9..35b6555 100644 --- a/include/clientapi.h +++ b/include/clientapi.h @@ -54,11 +54,11 @@ public: static ChampSelectActionType toChampSelectActionType(const std::string& str); struct TimerInfo { - int64_t adjustedTimeLeftInPhase; - int64_t internalNowInEpochMs; - bool isefinite; - ChampSelectPhase phase; - int64_t totalTimeInPhase; + int64_t adjustedTimeLeftInPhase = 0; + int64_t internalNowInEpochMs = 0; + bool isefinite = false; + ChampSelectPhase phase = ChampSelectPhase::INVALID; + int64_t totalTimeInPhase = 0; bool valid = false; @@ -91,7 +91,7 @@ public: }; struct ChampSelectCell { - Position position; + Position position = Position::INVALID; int32_t cellID = 0; int32_t championID = 0; int32_t championPickIntentID = 0;