| | 1 | | using System.Collections.Generic; |
| | 2 | |
|
| | 3 | | [System.Serializable] |
| | 4 | | public class UserProfileModel |
| | 5 | | { |
| | 6 | | [System.Serializable] |
| | 7 | | public class Snapshots |
| | 8 | | { |
| | 9 | | public string face256; |
| | 10 | | public string body; |
| | 11 | | } |
| | 12 | |
|
| | 13 | | [System.Serializable] |
| | 14 | | public class ParcelsWithAccess |
| | 15 | | { |
| | 16 | | public int x; |
| | 17 | | public int y; |
| | 18 | | public LandRole landRole; |
| | 19 | |
|
| | 20 | | [System.Serializable] |
| | 21 | | public enum LandRole |
| | 22 | | { |
| | 23 | | OWNER = 0, |
| | 24 | | OPERATOR = 1 |
| | 25 | | } |
| | 26 | | } |
| | 27 | |
|
| | 28 | | public string userId; |
| | 29 | | public string ethAddress; |
| | 30 | | public string name; |
| | 31 | | public string email; |
| | 32 | | public string description; |
| | 33 | | public ParcelsWithAccess[] parcelsWithAccess; |
| | 34 | | public ulong created_at; |
| | 35 | | public ulong updated_at; |
| | 36 | | public string version; |
| | 37 | | public AvatarModel avatar; |
| | 38 | | public string[] inventory; |
| 381 | 39 | | public Snapshots snapshots = new Snapshots(); |
| 0 | 40 | | public UserProfileModel Clone() => (UserProfileModel)MemberwiseClone(); |
| | 41 | |
|
| 381 | 42 | | public bool hasConnectedWeb3 = true; |
| | 43 | |
|
| | 44 | | public int tutorialFlagsMask; |
| | 45 | | public List<string> blocked; |
| | 46 | | public List<string> muted; |
| | 47 | | public int tutorialStep; |
| | 48 | | public bool hasClaimedName = false; |
| | 49 | | } |