コード例 #1
0
ファイル: LoginResponse.cs プロジェクト: Lopt/ascendancy
 /// <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;
 }
コード例 #2
0
ファイル: Response.cs プロジェクト: Lopt/ascendancy
 /// <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>>();
 }
コード例 #3
0
ファイル: APIResponse.cs プロジェクト: tnunn2/urTribe
 public APIResponse(ReponseStatus status, object data)
 {
     _response = status;
     _data     = data;
 }