@@ -89,15 +89,9 @@ public void IncrementCombo()
8989
9090 public void IncrementKills ( string enemyTypeString )
9191 {
92- < << << << HEAD
93- /* BEFORE CONFLICT
9492 if ( ! SerializedData . EnemiesKilledByType . ContainsKey ( enemyTypeString ) )
9593 SerializedData . EnemiesKilledByType . Add ( enemyTypeString , 0 ) ;
9694 SerializedData . EnemiesKilledByType [ enemyTypeString ] ++ ;
97- SerializedData.EnemiesKilled++;
98- */
99- == = == ==
100- >>> > >>> Develop
10195 SerializedData . EnemiesKilled ++ ;
10296 }
10397
@@ -116,12 +110,9 @@ public void IncrementDeaths()
116110
117111 public void IncrementWins ( )
118112 {
119- /* BEFORE CONFLICT
120113 SerializedData . TotalWins ++ ;
121114 SerializedData . RoomsEntered += CurrentDungeon . RoomsEntered ;
122115 SerializedData . UniqueRoomsEntered += CurrentDungeon . UniqueRoomsEntered ;
123- */
124- SerializedData . TotalWins ++ ;
125116 CurrentDungeon . IncrementWins ( ) ;
126117 }
127118
@@ -173,11 +164,7 @@ public void RefreshJson()
173164 }
174165 }
175166
176- < << << << HEAD
177167 public void AddCollectedItem ( int amount )
178- == == == =
179- public void AddCollectedTreasure( int amount )
180- >>> >>> > Develop
181168 {
182169 SerializedData . TreasuresCollected += amount ;
183170 }
@@ -230,7 +217,6 @@ public void LoadState(object state)
230217 SerializedData . TotalNpcs = saveData . TotalNpcs ;
231218 SerializedData . TotalEnemies = saveData . TotalEnemies ;
232219 SerializedData . EnemiesKilled = saveData . EnemiesKilled ;
233- < << << << HEAD
234220 SerializedData . TotalEnemiesByType = saveData . TotalEnemiesByType ;
235221 SerializedData . EnemiesKilledByType = saveData . EnemiesKilledByType ;
236222 SerializedData . TotalCollectableItems = saveData . TotalCollectableItems ;
@@ -239,11 +225,6 @@ public void LoadState(object state)
239225 SerializedData . ItemsRead = saveData . ItemsRead ;
240226 SerializedData . TotalLostHealth = saveData . TotalLostHealth ;
241227 SerializedData . InitialHealth = saveData . InitialHealth ;
242- = == == ==
243- SerializedData . TotalTreasure = saveData . TotalTreasure ;
244- SerializedData . TreasuresCollected = saveData . TreasuresCollected ;
245- SerializedData . TotalLostHealth = saveData . TotalLostHealth ;
246- > >>> >>> Develop
247228 SerializedData . MaxCombo = saveData . MaxCombo ;
248229 SerializedData . KeysCollected = saveData . KeysCollected ;
249230 SerializedData . TotalKeys = saveData . TotalKeys ;
@@ -253,10 +234,7 @@ public void LoadState(object state)
253234 SerializedData . UniqueRoomsEntered = saveData . UniqueRoomsEntered ;
254235 SerializedData . RoomsEntered = saveData . RoomsEntered ;
255236 SerializedData . PlayerProfile = saveData . PlayerProfile ;
256- < << << << HEAD
257237 SerializedData . PreviousPlayerProfiles = saveData . PreviousPlayerProfiles ;
258- = == == ==
259- >>> >>> > Develop
260238 SerializedData . GivenPlayerProfile = saveData . GivenPlayerProfile ;
261239 SerializedData . TotalQuests = saveData . TotalQuests ;
262240 SerializedData . CompletedQuests = saveData . CompletedQuests ;
@@ -296,14 +274,11 @@ public void LoadState(object state)
296274 [ Serializable ]
297275 public class PlayerSerializedData
298276 {
299- < << << << HEAD
300277
301278#if ! UNITY_WEBGL || UNITY_EDITOR
302279 [ FirestoreProperty ]
303280#endif
304281 [ field: SerializeField ] public bool UseFixedProfile { get ; set ; }
305- = = == == =
306- >>> >>> > Develop
307282#if ! UNITY_WEBGL || UNITY_EDITOR
308283 [ FirestoreProperty ]
309284#endif
@@ -343,7 +318,6 @@ public class PlayerSerializedData
343318#if ! UNITY_WEBGL || UNITY_EDITOR
344319 [ FirestoreProperty ]
345320#endif
346- < << << << HEAD
347321 [ field: SerializeField ] public Dictionary < string , int > TotalEnemiesByType { get ; set ; }
348322#if ! UNITY_WEBGL || UNITY_EDITOR
349323 [ FirestoreProperty ]
@@ -353,17 +327,13 @@ public class PlayerSerializedData
353327 [ FirestoreProperty ]
354328#endif
355329 [ field: SerializeField ] public int TotalCollectableItems { get ; set ; }
356- = = == == =
357- [ field: SerializeField ] public int TotalTreasure { get ; set ; }
358- > >>> >>> Develop
359330#if ! UNITY_WEBGL || UNITY_EDITOR
360331 [ FirestoreProperty ]
361332#endif
362333 [ field: SerializeField ] public int TreasuresCollected { get ; set ; }
363334#if ! UNITY_WEBGL || UNITY_EDITOR
364335 [ FirestoreProperty ]
365336#endif
366- < << << << HEAD
367337 [ field: SerializeField ] public int TotalReadableItems { get ; set ; }
368338#if ! UNITY_WEBGL || UNITY_EDITOR
369339 [ FirestoreProperty ]
@@ -372,19 +342,14 @@ public class PlayerSerializedData
372342#if ! UNITY_WEBGL || UNITY_EDITOR
373343 [ FirestoreProperty ]
374344#endif
375- == == == =
376- >>> >>> > Develop
377345 [ field: SerializeField ] public int TotalLostHealth { get ; set ; }
378346#if ! UNITY_WEBGL || UNITY_EDITOR
379347 [ FirestoreProperty ]
380348#endif
381- << < << << HEAD
382349 [ field: SerializeField ] public int InitialHealth { get ; set ; }
383350#if ! UNITY_WEBGL || UNITY_EDITOR
384351 [ FirestoreProperty ]
385352#endif
386- == = == ==
387- >>> > >>> Develop
388353 [ field: SerializeField ] public int MaxCombo { get ; set ; }
389354#if ! UNITY_WEBGL || UNITY_EDITOR
390355 [ FirestoreProperty ]
@@ -421,13 +386,10 @@ public class PlayerSerializedData
421386#if ! UNITY_WEBGL || UNITY_EDITOR
422387 [ FirestoreProperty ]
423388#endif
424- << < << << HEAD
425389 [ field: SerializeField ] public List < PlayerProfile > PreviousPlayerProfiles { get ; set ; }
426390#if ! UNITY_WEBGL || UNITY_EDITOR
427391 [ FirestoreProperty ]
428392#endif
429- == = == ==
430- >>> > >>> Develop
431393 [ field: SerializeField ] public PlayerProfile GivenPlayerProfile { get ; set ; }
432394#if ! UNITY_WEBGL || UNITY_EDITOR
433395 [ FirestoreProperty ]
0 commit comments