Commit Graph

14 Commits

Author SHA1 Message Date
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
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
6a6d3acd96 Clang format everything. 2024-03-01 11:56:19 +01:00
4a23a17670 Also use PROPERTY_HINT_BUTTON in UserManagerStatic instead of a bool. 2024-02-25 22:40:07 +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
f058c87868 Backported from godot4: Rework Navigation Avoidance
Rework Navigation Avoidance.
- smix8
a6ac305f96
2023-06-10 20:58:49 +02:00
e71e3ed897 Now Vector4, Vector4i, Projection, PoolVector4Array, PoolVector4iArray, are built in variant types. Also reordered the Variant's Type enum, renamed _RID in it to RID, fixed a few smaller issues and removed some very old compat code. 2022-08-16 21:55:56 +02:00
249dd4d661 Updated property hints for variant arrays. 2022-07-30 21:58:40 +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
0ef9dc8fcf Added a few bindings to UserManagerStatic to help with creating users form the editor. 2022-07-21 18:08:52 +02:00
be68b69b65 Created a new UserManagerStatic class. 2022-07-21 17:31:14 +02:00