| | | 1 | | using System; |
| | | 2 | | using System.Collections.Generic; |
| | | 3 | | using System.Text; |
| | | 4 | | |
| | | 5 | | namespace MUNity.Schema.Simulation.Roles |
| | | 6 | | { |
| | | 7 | | /// <summary> |
| | | 8 | | /// User has connected event args. This will be used by the socket in future implementations. |
| | | 9 | | /// </summary> |
| | | 10 | | public class UserConnectedEventArgs : EventArgs |
| | | 11 | | { |
| | | 12 | | /// <summary> |
| | | 13 | | /// Id of the simulation that a user has connected to |
| | | 14 | | /// </summary> |
| | 0 | 15 | | public int SimulationId { get; set; } |
| | | 16 | | |
| | | 17 | | /// <summary> |
| | | 18 | | /// The id of the user that has connected |
| | | 19 | | /// </summary> |
| | 0 | 20 | | public int UserId { get; set; } |
| | | 21 | | |
| | | 22 | | /// <summary> |
| | | 23 | | /// The display name of the user that has connected. |
| | | 24 | | /// </summary> |
| | 0 | 25 | | public string DisplayName { get; set; } |
| | | 26 | | } |
| | | 27 | | } |