| | | 1 | | using System; |
| | | 2 | | using System.Collections.Generic; |
| | | 3 | | using System.Text; |
| | | 4 | | |
| | | 5 | | namespace MUNity.Schema.User |
| | | 6 | | { |
| | | 7 | | /// <summary> |
| | | 8 | | /// Returns base information about a user. This schema can be different depending on the privacy settings of the use |
| | | 9 | | /// </summary> |
| | | 10 | | public class UserInformation |
| | | 11 | | { |
| | | 12 | | /// <summary> |
| | | 13 | | /// Returns the username of the user. This will always be sent. |
| | | 14 | | /// </summary> |
| | 0 | 15 | | public string Username { get; set; } |
| | | 16 | | |
| | | 17 | | /// <summary> |
| | | 18 | | /// The first name of the user. This can also just be initals when the user set it in his/her privacy settings. |
| | | 19 | | /// </summary> |
| | 0 | 20 | | public string Forename { get; set; } |
| | | 21 | | |
| | | 22 | | /// <summary> |
| | | 23 | | /// The last name of the user. This can also just be initials when the user set only display initals in his/her |
| | | 24 | | /// </summary> |
| | 0 | 25 | | public string Lastname { get; set; } |
| | | 26 | | |
| | | 27 | | /// <summary> |
| | | 28 | | /// The date when the user was last online. Can be null when the user selected to hide the last online date. |
| | | 29 | | /// </summary> |
| | 0 | 30 | | public DateTime? LastOnline { get; set; } |
| | | 31 | | } |
| | | 32 | | } |