Exemple #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Core.Connections.LoginResponse"/> class.
 /// </summary>
 public LoginResponse()
 {
     Status = ReponseStatus.ERROR;
     SessionID = Guid.Empty;
     AccountId = 0;
     ServerTime = DateTime.Now;
 }
Exemple #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Core.Connections.Response"/> class.
 /// </summary>
 public Response()
 {
     Status = ReponseStatus.INTERNAL_ERROR;
     Entities = new LinkedList<LinkedList<Core.Models.Entity>>();
     Actions = new LinkedList<LinkedList<Core.Models.Action>>();
 }
Exemple #3
0
 public APIResponse(ReponseStatus status, object data)
 {
     _response = status;
     _data     = data;
 }