diff options
Diffstat (limited to 'client/Piztor/src/com/macaroon/piztor/ResUserinfo.java')
-rw-r--r-- | client/Piztor/src/com/macaroon/piztor/ResUserinfo.java | 41 |
1 files changed, 20 insertions, 21 deletions
diff --git a/client/Piztor/src/com/macaroon/piztor/ResUserinfo.java b/client/Piztor/src/com/macaroon/piztor/ResUserinfo.java index abd5e62..ed981b4 100644 --- a/client/Piztor/src/com/macaroon/piztor/ResUserinfo.java +++ b/client/Piztor/src/com/macaroon/piztor/ResUserinfo.java @@ -1,21 +1,20 @@ -package com.macaroon.piztor; - -import java.util.Vector; - -//--------------------------------------// -// Respond to User Info // -//--------------------------------------// - -public class ResUserinfo extends Res{ - int sex; //1 for male, 0 for female - int groupId; - int id; - - - Vector<RUserinfo> l; //user info - - ResUserinfo(int status,Vector<RUserinfo> userinfo){ - super(3,status); //for type 3 - l = userinfo; - } -} +package com.macaroon.piztor;
+
+
+//--------------------------------------//
+// Respond to User Info //
+//--------------------------------------//
+
+public class ResUserinfo extends Res{
+ int uid; //userid
+ int gid; //groupid
+ int sex; //type 0 for female,type 1 for male
+
+
+ ResUserinfo(int status,int u,int g,int s){
+ super(3,status); //for type 3
+ uid = u;
+ gid = g;
+ sex =s;
+ }
+}
\ No newline at end of file |