7937fb6cae
Disable internal process for UserManagerFile. It's not needed anymore.
2025-05-03 21:11:41 +02:00
0927580e78
Fix saving files in UserManagerFile.
2025-05-03 20:51:16 +02:00
e9e2e72665
Now UserManager::_create_user() has a User as a parameter.
...
This shoukld make it easier to customize user creation. Similar idea to
how TerrainWorld's _create_chunk() works.
2025-05-03 20:25:32 +02:00
ca1f9c7674
Improved UserManagerFile's internals.
2025-05-03 20:13:52 +02:00
fd13bb3c51
Now get_all_as_vector() in UserManager is not virtual anymore. Also removed other implementations.
...
- This had to be done as get_all_as_vector() cannot be customized by
scripts, and if an inherited UserManager needs to set up UserModules
this will cause issues later down the line.
- Other solutions like a user_setup() method could also work, but then
that would cause more individual (non-optimizable) lookups to db-based
backends (and likely others too), so this solution seems to be the best
currently.
2025-05-03 17:07:24 +02:00
14100c3ac0
Added a method to get all users from the UserDB and UserManagers.
2024-11-20 21:57:35 +01:00
429575fab6
File copyright header updates pt8.
2023-12-18 00:18:53 +01:00
4faeb67438
Implemented getting users using their email from the UserDB.
2023-09-22 16:33:21 +02:00
04feb63860
Moved Engine and projectSettings.
2022-08-17 15:35:28 +02:00
9555ee56b9
Moved Variant related classes under a variant folder in core.
2022-08-17 13:17:12 +02:00
d0c99d0ef6
Set the user's id after creation.
2022-07-23 20:32:42 +02:00
8236c509c8
Added user_id property to User, and also did some improvements to it's api.
2022-07-22 10:00:07 +02:00
f7cc2df683
Fix UserManagerFile. It's not that good for now, but I need a prototype UserManager implementation that can easily create save and load users.
2022-07-21 20:39:15 +02:00
7f03c8b429
Added a new UserManagerFile.
2022-07-21 19:33:04 +02:00