| | 1 | | using DCL.Interface; |
| | 2 | |
|
| | 3 | | public class UserProfileWebInterfaceBridge : IUserProfileBridge |
| | 4 | | { |
| 0 | 5 | | public void SaveUnverifiedName(string name) => WebInterface.SendSaveUserUnverifiedName(name); |
| | 6 | |
|
| 0 | 7 | | public void SaveDescription(string description) => WebInterface.SendSaveUserDescription(description); |
| | 8 | |
|
| 2 | 9 | | public UserProfile GetOwn() => UserProfile.GetOwnUserProfile(); |
| | 10 | |
|
| | 11 | | public void AddUserProfileToCatalog(UserProfileModel userProfileModel) |
| | 12 | | { |
| 0 | 13 | | UserProfileController.i.AddUserProfileToCatalog(userProfileModel); |
| 0 | 14 | | } |
| | 15 | |
|
| | 16 | | public UserProfile Get(string userId) |
| | 17 | | { |
| 1 | 18 | | return UserProfileController.userProfilesCatalog.Get(userId); |
| | 19 | | } |
| | 20 | | } |