diff options
author | Goblin911 <goblinliu@gmail.com> | 2013-08-26 11:16:39 +0800 |
---|---|---|
committer | Goblin911 <goblinliu@gmail.com> | 2013-08-26 11:16:39 +0800 |
commit | 686cf083c79fce3a032d229bb1b7ea8ed49046c0 (patch) | |
tree | 7cf2c333b0c63e8286a58f84215bfb55b8f83fb6 /client/Piztor/src/com/macaroon/piztor/ReqUserinfo.java | |
parent | 6400b18210587cb25b475bc2d3979b9a6da5eda4 (diff) |
add new network, but userinfo need to rewrite.
Diffstat (limited to 'client/Piztor/src/com/macaroon/piztor/ReqUserinfo.java')
-rw-r--r-- | client/Piztor/src/com/macaroon/piztor/ReqUserinfo.java | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/client/Piztor/src/com/macaroon/piztor/ReqUserinfo.java b/client/Piztor/src/com/macaroon/piztor/ReqUserinfo.java new file mode 100644 index 0000000..9ae0cb5 --- /dev/null +++ b/client/Piztor/src/com/macaroon/piztor/ReqUserinfo.java @@ -0,0 +1,14 @@ +package com.macaroon.piztor;
+
+//--------------------------------------//
+// Ask user info //
+//--------------------------------------//
+
+public class ReqUserinfo extends Req {
+ int uid; // user id
+
+ ReqUserinfo(String token, String name, int id, long time, long alive) {
+ super(3, token, name, time, alive); // for type 3
+ uid = id;
+ }
+}
\ No newline at end of file |