summaryrefslogtreecommitdiff
path: root/client/Piztor/src/com/macaroon/piztor/Req.java
diff options
context:
space:
mode:
Diffstat (limited to 'client/Piztor/src/com/macaroon/piztor/Req.java')
-rw-r--r--client/Piztor/src/com/macaroon/piztor/Req.java22
1 files changed, 19 insertions, 3 deletions
diff --git a/client/Piztor/src/com/macaroon/piztor/Req.java b/client/Piztor/src/com/macaroon/piztor/Req.java
index 4de1045..53cf6fe 100644
--- a/client/Piztor/src/com/macaroon/piztor/Req.java
+++ b/client/Piztor/src/com/macaroon/piztor/Req.java
@@ -138,9 +138,25 @@ class ReqSetPassword extends Req{
String newpassword;
ReqSetPassword(String token,String name,String oldpass,String newpass,long time,long alive){
- super(8,token,name,time,alive); //for type 8
- oldpassword = oldpass;
- newpassword = newpass;
+ super(8,token,name,time,alive); //for type 8
+ oldpassword = oldpass;
+ newpassword = newpass;
+ }
+}
+
+class ReqCheckin extends Req{
+ int markerID;
+
+ ReqCheckin(String token,String name,int markerid,long time,long alive){
+ super(9,token,name,time,alive); //for type 9
+ markerID = markerid;
+ }
+}
+
+class ReqGameStart extends Req{
+
+ ReqGameStart(String token,String name,long time,long alive){
+ super(10,token,name,time,alive); //for type 10
}
}