Advertisement
Guest User

Untitled

a guest
Apr 20th, 2017
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.24 KB | None | 0 0
  1. class ConnectionRequest
  2. {
  3. public string Type = "Login";
  4.  
  5. public string Username { get; set; }
  6. public string Password { get; set; }
  7. public string HWID { get; set; }
  8. public long Timestamp { get; set; }
  9.  
  10. public ConnectionRequest(string username, string password, string hwid, long timestamp)
  11. {
  12. Username = username;
  13. Password = password;
  14. HWID = hwid;
  15. Timestamp = timestamp;
  16. }
  17. }
  18.  
  19.  
  20. class ApiLogRequest
  21. {
  22. public string Type = "API";
  23.  
  24. public APIClient Client { get; set; }
  25. public string Username { get; set; }
  26. public string Key { get; set; }
  27. public long Timestamp { get; set; }
  28. public string HWID { get; set; }
  29. public double Profit { get; set; }
  30. public int SoldCoins { get; set; }
  31.  
  32. public ApiLogRequest(APIClient client, string username, string key, long timestamp, string hwid, double profit, int soldCoins)
  33. {
  34. Client = client;
  35. Username = username;
  36. Key = key;
  37. Timestamp = timestamp;
  38. HWID = hwid;
  39. Profit = profit;
  40. SoldCoins = soldCoins;
  41. }
  42. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement