Users Plugin Functions
User functions help you to work with the user's information and modify the current user. These functions work with the Users table, so make sure to enable this table first.
Find Users
This function helps you to find other users of the game, and then use their info in other functions.
- Unity3D
- TypeScript
DynamicPixels.Table.GetServices().Users.Find(new FindUserParams());
DynamicPixels.Services.Users.FindUsers<T extends FindUsersParams>(input: T): Promise<User[]>
Get Current Users Info
This function return profile information of current user
- Unity3D
- TypeScript
DynamicPixels.Table.GetServices().Users.GetCurrentUser()
DynamicPixels.Services.Users.GetCurrentUser(): Promise<User>
Edit Current User Info
You can edit current user profile with this function.
- Unity3D
- TypeScript
DynamicPixels.Table.GetServices().Users.EditUserById(new EditUserByIdParams())
DynamicPixels.Services.Users.EditCurrentUser<T extends EditCurrentUserParams>(input: T): Promise<User>
Get User Info By Id
With this function, you can get the profile information of specific user with his id
- Unity3D
- TypeScript
DynamicPixels.Table.GetServices().Users.FindUserById(new FindUserByIdParams())
DynamicPixels.Services.Users.GetUserById<T extends GetUserByIdParams>(input: T): Promise<User>