14 Commits

Author SHA1 Message Date
Spirtix
fd831058c6 data model improvements 2023-10-17 07:58:04 +02:00
rpaciorek
81e5718e05
foreign keys for table PairData + DragonId column + DB schema improvements (#30)
* DB schema improvements

- add column DragonId to table PairData
- add foreign keys for table PairData
- remove unused column InventoryId from Vikings table
- simplifying relations viking -> selected dragon
  - remove SelectedViking and SelectedVikingId from Dragon
  - remove column SelectedVikingId from Dragons table
- cleanup and arrangement code in DBContext.cs

* support for dragons PairData in KeyValueService

and in "pairs" API endpoints
2023-08-31 20:46:03 +02:00
rpaciorek
d5fb8ce5f1
viking and user deletion (#19) 2023-08-19 19:16:08 +02:00
rpaciorek
406ebe20c2
initial support for XP points (#16)
* GetPetAchievementsByUserID and enum for PointTypes

* add RankService

* use AchievementPointTypes for PointTypeID

... insted of int in schema

* support for player XP, fix dragon XP

- database table
- return correct value in API call
- save XP from mission

* rename RankService to AchievementService

* use addAchievementPoints for all non item reward

this could be a good place for wallet servicing too ... so currency reward too

* return const XP value for farming and fishing

we don't have gathering method for those XPs yet

* fix avatar schema, fix coding style
2023-08-14 18:34:14 +02:00
Spirtix
1c01eb25f5 hideouts 2023-07-12 22:07:24 +02:00
Spirtix
9cef74dd26 add support for missions
still requires achievements to work corrently
2023-07-07 01:25:25 +02:00
Spirtix
94da3ff337 support for items and inventories 2023-06-22 13:59:14 +02:00
hictooth
1fdff9d27b fix dragons and images 2023-06-22 10:39:06 +01:00
hictooth
5f7921ea6f implement dragons
pets, which are dragons in SoD
2023-06-21 21:01:54 +01:00
Spirtix
0e017483f1 retain mission progress 2023-06-21 16:13:31 +02:00
hictooth
199d44f1cd create profile
works up to start of tutorial
2023-06-19 20:23:53 +01:00
Spirtix
2a4edfffef Get/Set pairs 2023-06-19 19:59:42 +02:00
hictooth
d4517b459b child registration and login 2023-06-17 22:17:36 +01:00
Spirtix
e1d4daf3b7 Add project files; implement login/registration 2023-06-16 16:16:50 +02:00