summaryrefslogtreecommitdiff
path: root/src/client/UserInfo.h
diff options
context:
space:
mode:
authorSimon Robertshaw <simon@hardwired.org.uk>2013-03-21 21:49:06 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2013-03-21 21:49:06 (GMT)
commit81a34222d1797f112a65c30f9ef7db07562ffdf1 (patch)
tree4a7500b25f58cf13a4744ea75ae855c0495d5613 /src/client/UserInfo.h
parentb4564f212a17539604e9fa63d649e157f8888eb1 (diff)
downloadpowder-81a34222d1797f112a65c30f9ef7db07562ffdf1.zip
powder-81a34222d1797f112a65c30f9ef7db07562ffdf1.tar.gz
POST requests for APIRequest, allow saving user details from within the game, Asynchronous HTTP POST
Diffstat (limited to 'src/client/UserInfo.h')
-rw-r--r--src/client/UserInfo.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/client/UserInfo.h b/src/client/UserInfo.h
index edd6659..2df0015 100644
--- a/src/client/UserInfo.h
+++ b/src/client/UserInfo.h
@@ -10,12 +10,15 @@ public:
int Age;
std::string Username;
std::string Biography;
- UserInfo(int id, int age, std::string username, std::string biography):
+ std::string Location;
+ UserInfo(int id, int age, std::string username, std::string biography, std::string location):
ID(id),
Age(age),
Username(username),
- Biography(biography)
+ Biography(biography),
+ Location(location)
{ }
+ UserInfo() {}
};